This file is indexed.

/usr/share/horde/ansel/templates/view/image.html.php is in php-horde-ansel 3.0.5+debian0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!-- Image title/breadcrumbs -->
<h1 class="header" id="ansel-photoname"><?php echo Ansel::getBreadCrumbs($this->gallery) ?></h1>

<div id="ansel-contentwrapper">
  <div id="ansel-content" style="background-color:<?php echo $this->background; ?>;">
    <!-- Image Actions -->
    <div class="control anselActions" style="text-align:center;">
    <?php if (!empty($this->urls['prop_popup'])): ?>
      <?php echo $this->contentTag('a', _("Properties"), array('target' => '_blank', 'onclick' => $this->urls['prop_popup'] . 'return false;', 'id' => 'image_properties_link')); ?> |
    <?php endif; ?>
    <?php if (!empty($this->urls['edit'])): ?>
      <?php echo $this->contentTag('a', _("Edit"), array('id' => 'image_edit_link', 'href' => $this->urls['edit'])); ?> |
    <?php endif; ?>
    <?php if (!empty($this->urls['delete'])): ?>
      <?php echo $this->contentTag('a', _("Delete"), array('href' => $this->urls['delete'], 'onclick' => 'return window.confirm(\'' . addslashes(sprintf(_("Do you want to permanently delete ''%s''?"), $this->filename)) . '\');', 'id' => 'image_delete_link')) ?> |
    <?php endif; ?>
    <?php if (!empty($this->urls['ecard'])): ?>
      <?php echo $this->contentTag('a', _("Send an Ecard"), array('href' => $this->urls['ecard'], 'target' => '_blank', 'id' => 'image_ecard_link')) ?> |
    <?php endif; ?>
    <?php if (!empty($this->urls['download'])): ?>
      <?php echo $this->contentTag('a', _("Download Original Photo"), array('href' => $this->urls['download'], 'id' => 'image_download_link')) ?> |
    <?php endif; ?>
    <?php if (!empty($this->urls['report'])): ?>
      <?php echo $this->contentTag('a', _("Report"), array('href' => $this->urls['report'])) ?>
    <?php endif; ?>
    </div>

    <!-- Upper slide controls -->
    <div class="slideControls">
      <?php echo Horde::fullSrcImg('loading.gif', array('attr' => 'class="imgloading"'));?>
      <?php if (empty($this->hide_slideshow)): ?>
        <?php echo $this->contentTag('a', Horde::fullSrcImg('slideshow_play.png', array('attr' => 'alt="' .  _("Play") . '"')), array('style' => "display:none;", 'href' => $this->urls['slideshow'], 'class' => 'ssPlay', 'title' => _("Start Slideshow"))) ?>
      <?php endif; ?>
      <?php echo $this->contentTag('a', Horde::fullSrcImg('slideshow_prev.png', array('attr' => 'alt="' . _("Previous") . '"')), array('id' => 'PrevLink', 'href' => $this->prev_url));
        echo $this->contentTag('a', Horde::fullSrcImg('slideshow_next.png', array('attr' => 'alt="' . _("Next") . '"')), array('id' => 'NextLink', 'href' => $this->next_url));
        echo $this->contentTag('a', Horde::fullSrcImg('galleries.png', array('attr' => 'alt="' . _("Back to gallery") . '"')), array('href' => $this->urls['gallery']));
      ?>
    </div>

    <!-- Main Image Container -->
    <div id="anselimagecontainer">
     <noscript>
        <?php echo $this->tag('img', array('src' => $this->urls['imgsrc'], 'alt' => $this->h($this->filename))) ?>
     </noscript>
     <?php echo Horde::img('blank.gif', '', array('id' => 'ansel-photodiv', 'width' => $this->geometry['width'], 'height' => $this->geometry['height'])) ?>
     <div id="anselcaptioncontainer" style="width:<?php echo $this->geometry['width']?>px;">
       <p id="anselcaption" style="display:none;">
         <?php echo $this->caption ?>
     </p>
     </div>
    </div>

    <!-- Lower slide controls -->
    <div class="slideControls">
      <?php echo Horde::fullSrcImg('loading.gif', array('attr' => 'class="imgloading"'));?>
      <?php if (empty($this->hide_slideshow)): ?>
        <?php echo $this->contentTag('a', Horde::fullSrcImg('slideshow_play.png', array('attr' => 'alt="' .  _("Play") . '"')), array('style' => "display:none;", 'href' => $this->urls['slideshow'], 'class' => 'ssPlay', 'title' => _("Start Slideshow"))) ?>
      <?php endif; ?>
      <?php echo $this->contentTag('a', Horde::fullSrcImg('slideshow_prev.png', array('attr' => 'alt="' . _("Previous") . '"')), array('href' => $this->prev_url));
        echo $this->contentTag('a', Horde::fullSrcImg('slideshow_next.png', array('attr' => 'alt="' . _("Next") . '"')), array('href' => $this->next_url));
        echo $this->contentTag('a', Horde::fullSrcImg('galleries.png', array('attr' => 'alt="' . _("Back to gallery") . '"')), array('href' => $this->urls['gallery']));
      ?>
    </div>

    <!-- Exif Display -->
    <?php if (!empty($this->exif)): ?>
      <div id="exif" style="text-align: center;margin:10px;">
        <table id="ansel-exif-table" class="box striped" cellspacing="0">
          <?php foreach ($this->exif as $elem): ?>
            <tr>
              <?php foreach ($elem as $field => $value): ?>
                <td style="text-align: left;"><strong><?php echo $field ?></strong><td style="text-align: left;"><?php echo $this->h($value) ?></td>
              <?php endforeach; ?>
            </tr>
          <?php endforeach ?>
        </table>
      </div>
    <?php endif; ?>

    <!-- Comments -->
    <?php if (!empty($this->commentHtml)): ?>
      <div id="messagediv">
        <?php echo $this->commentHtml; ?>
      </div>
    <?php endif; ?>
  </div>
</div>

<!-- Widgets -->
<?php if ($this->view->countWidgets()): ?>
  <div id="ansel-widgetcontent">
    <!-- Widgets -->
   <?php $this->view->renderWidgets() ?>
  </div>
<?php endif ?>