From 2eab6069700787e0e7746bde544352bc21f1cf4a Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 18 Jan 2011 21:12:42 +0000 Subject: - picture page compacts the output html using smarty strip - decrease the default number of tags showable in the menubar git-svn-id: http://piwigo.org/svn/trunk@8757 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture.tpl | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'themes/default/template/picture.tpl') diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 0e479db69..0937489cf 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -35,38 +35,38 @@
-{if isset($U_SLIDESHOW_START)} +{strip}{if isset($U_SLIDESHOW_START)}  {'slideshow'|@translate} -{/if} -{if isset($U_METADATA)} +{/if}{/strip} +{strip}{if isset($U_METADATA)}  {'Show file metadata'|@translate} -{/if} -{if isset($current.U_DOWNLOAD)} +{/if}{/strip} +{strip}{if isset($current.U_DOWNLOAD)}  {'download'|@translate} -{/if} +{/if}{/strip} {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} -{if isset($favorite)} +{strip}{if isset($favorite)}  {'Favorites'|@translate} -{/if} -{if isset($U_SET_AS_REPRESENTATIVE)} +{/if}{/strip} +{strip}{if isset($U_SET_AS_REPRESENTATIVE)}  {'representative'|@translate} -{/if} -{if isset($U_ADMIN)} +{/if}{/strip} +{strip}{if isset($U_ADMIN)}  {'edit'|@translate} -{/if} -{if isset($U_CADDIE)}{*caddie management BEGIN*} +{/if}{/strip} +{strip}{if isset($U_CADDIE)}{*caddie management BEGIN*} {footer_script} {literal}function addToCadie(aElement, rootUrl, id) { @@ -85,11 +85,11 @@ y.callService(  {'caddie'|@translate} -{/if}{*caddie management END*} +{/if}{/strip}{*caddie management END*}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} -
+{**}
{$ELEMENT_CONTENT} @@ -120,6 +120,7 @@ y.callService( {/if} +{strip} {if $display_info.author} @@ -216,7 +217,7 @@ y.callService( {/if} {/foreach} - {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} + {strip}{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'} {footer_script} var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[]; @@ -224,6 +225,7 @@ y.callService( updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary"){rdelim} ); {/footer_script} + {/strip} @@ -257,7 +259,7 @@ y.callService( {/if} - +{/strip}
{'Author'|@translate}
{if isset($metadata)} -- cgit v1.2.3