mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Switch the slideshow link from text to icon.
This commit is contained in:
@@ -23,19 +23,18 @@ class slideshow_block_Core {
|
||||
"</script>";
|
||||
}
|
||||
|
||||
private static function _piclens_link() {
|
||||
return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" " .
|
||||
"class=\"gButtonLink\">" .
|
||||
_("Slideshow") .
|
||||
"</a>";
|
||||
private static function _piclens_link($theme) {
|
||||
return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\">" .
|
||||
"<img src=\"" . $theme->url("images/ico-view-slideshow.png") . "\" alt=\"" .
|
||||
_("View slideshow") . "\" /></a>";
|
||||
}
|
||||
|
||||
public static function album_top($theme) {
|
||||
return self::_piclens_link();
|
||||
return self::_piclens_link($theme);
|
||||
}
|
||||
|
||||
public static function photo_top($theme) {
|
||||
return self::_piclens_link();
|
||||
return self::_piclens_link($theme);
|
||||
}
|
||||
|
||||
public static function tag_top($theme) {
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<? defined("SYSPATH") or die("No direct script access."); ?>
|
||||
<div id="gAlbumHeader">
|
||||
<ul id="gItemMenu">
|
||||
<li><?= $theme->album_top() ?></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-album.png") ?>" alt="<?= _("View album") ?>" /></a></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-hybrid.png") ?>" alt="<?= _("View album in hybrid mode") ?>" /></a></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-slideshow.png") ?>" alt="<?= _("View slideshow") ?>" /></a></li>
|
||||
<li><?= $theme->album_top() ?></li>
|
||||
<li><a href="#" id="gAddItemLink" class="gButtonLink">v <?= _("Options") ?></a></li>
|
||||
</ul>
|
||||
<h1><?= $item->title_edit ?></h1>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
<? defined("SYSPATH") or die("No direct script access."); ?>
|
||||
<div id="gItemHeader">
|
||||
<ul id="gItemMenu">
|
||||
<li><?= $theme->photo_top() ?></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-fullsize.png") ?>" alt="<?= sprintf(_("View full size image (%dx%d)"), $item->width, $item->height) ?>" /></a></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-album.png") ?>" alt="<?= _("View album") ?>" /></a></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-hybrid.png") ?>" alt="<?= _("View album in hybrid mode") ?>" /></a></li>
|
||||
<li><a href="#"><img src="<?= $theme->url("images/ico-view-slideshow.png") ?>" alt="<?= _("View slideshow") ?>" /></a></li>
|
||||
<li><?= $theme->photo_top() ?></li>
|
||||
<li><a href="#" id="gAddItemLink" class="gButtonLink">v <?= _("Options") ?></a></li>
|
||||
</ul>
|
||||
<h1><?= $item->title_edit ?></h1>
|
||||
|
||||
Reference in New Issue
Block a user