/usr/share/horde/ansel/templates/widgets/actions.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 | <!-- Actions Widget -->
<?php echo $this->render('begin'); ?>
<ul style="list-style-type:none;">
<?php if (!empty($this->slideshow_url)): ?>
<li><?php echo $this->slideshow_url->link(array('class' => 'widget')) . Horde::img('slideshow_play.png', _("Start Slideshow")) . ' ' . _("Start Slideshow") ?></a></li>
<?php endif; ?>
<?php if (!empty($this->uploadurl_link)): ?>
<li><?php echo $this->uploadurl_link . Horde::img('add.png') . ' ' . _("Upload photos")?> </a></li>
<?php endif; ?>
<?php if (!empty($this->subgallery_link)): ?>
<li><?php echo $this->subgallery_link . Horde::img('plus.png', '[icon]') . ' ' . _("Create a subgallery") ?></a></li>
<?php endif; ?>
</ul>
<!-- Actions -->
<div style="display:<?php echo ($GLOBALS['prefs']->getValue('show_actions') ? 'block' : 'none') ?>;" id="gallery-actions">
<ul style="list-style-type:none;">
<?php if (!empty($this->bookmark_url)): ?>
<li><?php echo $this->bookmark_url->link(array('class' => 'widget')) . Horde::img('bookmark.png') . ' ' . _("Add to bookmarks") ?></a></li>
<?php endif; ?>
<?php if (!empty($this->zip_url)): ?>
<li><?php echo $this->zip_url . Horde::img('mime/compressed.png') . ' ' . _("Download as zip file") ?></a></li>
<?php endif; ?>
<?php if (!empty($this->hasEdit)): ?>
<li><?php echo $this->properties_url . Horde::img('edit.png') . ' ' . _("Change properties") ?></a></li>
<?php if (!empty($this->captions_url)): ?>
<li><?php echo $this->captions_url . Horde::img('text.png') . ' ' . _("Set captions") ?></a></li>
<?php endif; ?>
<?php if (!empty($this->sort_url)): ?>
<li><?php echo $this->sort_url . Horde::img('arrow_switch.png') . ' ' . _("Sort photos") ?></a></li>
<li><?php echo $this->resetsort_url . Horde::img('arrow_switch.png') . ' ' . _("Reset sort order") ?></a></li>
<?php endif; ?>
<li><?php echo $this->regenerate_url . Horde::img('reload.png') . ' ' . _("Reset all thumbnails")?></a></li>
<li><?php echo $this->regenerate_all . Horde::img('reload.png') . ' ' . _("Regenerate all photo views")?></a></li>
<?php if (!empty($this->faces_url)): ?>
<li><?php echo $this->faces_url . Horde::img('user.png') . ' ' . _("Find faces") ?></a></li>
<?php endif; ?>
<?php if (!empty($this->gendefault_url)): ?>
<li><?php echo $this->gendefault_url . Horde::img('reload.png') . ' ' . _("Reset default photo") ?></a></li>
<?php endif; ?>
<?php endif; ?>
<?php if (!empty($this->perms_link)): ?>
<li><?php echo $this->perms_link . Horde::img('perms.png') . ' ' . _("Set permissions")?></a></li>
<?php endif; ?>
<?php if (!empty($this->report_url)): ?>
<li><?php echo $this->report_url . Horde::img('report.png') . ' ' . _("Report") ?></a></li>
<?php endif; ?>
<?php if (!empty($this->have_delete)): ?>
<li><?php echo $this->deleteall_url . Horde::img('delete.png') . ' ' . _("Delete All Photos")?></a></li>
<li><?php echo $this->deletegallery_url . Horde::img('delete.png', 'horde') . ' ' . _("Delete Entire Gallery")?></a></li>
<?php endif; ?>
</ul>
</div>
<!-- Toggle Link -->
<div class="control"><?php echo $this->toggle_url ?> </a></div>
<?php echo $this->render('end'); ?>
<!-- End Action Widget -->
|