aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-09-11 09:05:00 +0000
committermistic100 <mistic@piwigo.org>2014-09-11 09:05:00 +0000
commit62cdffb50ceb70450a74238fb893c1578caf2fb7 (patch)
treed0d57ebbbbd8aa66affce7fbc8ebae082598b3d0 /admin/themes/default/template
parentf14dcf0f7bd8db1b358562810302c4570251c420 (diff)
feature 3138: Add photo zoom when editing a photo
git-svn-id: http://piwigo.org/svn/trunk@29480 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r--admin/themes/default/template/batch_manager_unit.tpl5
-rw-r--r--admin/themes/default/template/picture_modify.tpl6
2 files changed, 7 insertions, 4 deletions
diff --git a/admin/themes/default/template/batch_manager_unit.tpl b/admin/themes/default/template/batch_manager_unit.tpl
index 9bdc996a9..57c936ac1 100644
--- a/admin/themes/default/template/batch_manager_unit.tpl
+++ b/admin/themes/default/template/batch_manager_unit.tpl
@@ -55,9 +55,8 @@ jQuery("a.preview-box").colorbox();
<legend>{$element.LEGEND}</legend>
<span class="thumb">
- <a href="{$element.FILE_SRC}" class="preview-box" title="{$element.LEGEND|@htmlspecialchars}"><img src="{$element.TN_SRC}" alt=""></a>
- <br/>
- <a href="{$element.U_EDIT}">{'Edit'|@translate}</a>
+ <a href="{$element.FILE_SRC}" class="preview-box icon-search" title="{$element.LEGEND|@htmlspecialchars}"><img src="{$element.TN_SRC}" alt=""></a>
+ <a href="{$element.U_EDIT}" class="icon-pencil">{'Edit'|@translate}</a>
</span>
<table>
diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl
index c17ff6dfe..fe05c4d03 100644
--- a/admin/themes/default/template/picture_modify.tpl
+++ b/admin/themes/default/template/picture_modify.tpl
@@ -1,5 +1,6 @@
{include file='include/autosize.inc.tpl'}
{include file='include/datepicker.inc.tpl'}
+{include file='include/colorbox.inc.tpl'}
{combine_script id='LocalStorageCache' load='footer' path='admin/themes/default/js/LocalStorageCache.js'}
@@ -35,6 +36,9 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *}
cancelButton: '{'Cancel'|translate}'
});
});
+
+{* <!-- THUMBNAILS --> *}
+jQuery("a.preview-box").colorbox();
}());
{/footer_script}
@@ -49,7 +53,7 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *}
<tr>
<td id="albumThumbnail">
- <img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail">
+ <a href="{$FILE_SRC}" class="preview-box icon-search" title="{$TITLE|htmlspecialchars}"><img src="{$TN_SRC}" alt="{'Thumbnail'|translate}"></a>
</td>
<td id="albumLinks" style="width:400px;vertical-align:top;">
<ul style="padding-left:15px;margin:0;">