diff options
author | mistic100 <mistic@piwigo.org> | 2014-09-11 09:05:00 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-09-11 09:05:00 +0000 |
commit | 62cdffb50ceb70450a74238fb893c1578caf2fb7 (patch) | |
tree | d0d57ebbbbd8aa66affce7fbc8ebae082598b3d0 /admin/themes/default/template/picture_modify.tpl | |
parent | f14dcf0f7bd8db1b358562810302c4570251c420 (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/picture_modify.tpl')
-rw-r--r-- | admin/themes/default/template/picture_modify.tpl | 6 |
1 files changed, 5 insertions, 1 deletions
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;"> |