From 0929426813a04f627ff3ef357138a154c79f368a Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 29 Mar 2012 19:34:00 +0000 Subject: removed unused css, merged some css, etc... git-svn-id: http://piwigo.org/svn/trunk@13801 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/comment_list.tpl | 12 ++++----- themes/default/template/picture.tpl | 34 +++++++++++-------------- themes/default/template/picture_nav_buttons.tpl | 8 +++--- 3 files changed, 24 insertions(+), 30 deletions(-) (limited to 'themes/default/template') diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index 315cbfe07..b73cc39e2 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -1,18 +1,17 @@ {if isset($comment_derivative_params)} {strip}{html_style} -.commentElement DIV.illustration{ldelim} - width: {$comment_derivative_params->max_width()+5}px; +.commentElement .illustration{ldelim} + width: {$comment_derivative_params->max_width()+5}px } .content .commentElement .description{ldelim} - height: {$comment_derivative_params->max_height()+5}px; + height: {$comment_derivative_params->max_height()+5}px } {/html_style}{/strip} {/if} diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 723c0bc8c..ee96dac63 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -58,7 +58,7 @@ jQuery("#derivativeSwitchBox").on('mouseleave click', function() {
+
+
{if $DISPLAY_NAV_THUMB} {/if} -
+
{strip} {if $display_info.author and isset($INFO_AUTHOR)}
@@ -277,8 +277,8 @@ y.callService(
{'Who can see this photo?'|@translate}
-{combine_script id='core.scripts' require='jquery' load='async' path='themes/default/js/scripts.js'} -{footer_script} +{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} +{footer_script require='jquery'} {literal}function setPrivacyLevel(rootUrl, id, level) { var y = new PwgWS(rootUrl); @@ -309,7 +309,7 @@ function togglePrivacyLevelBox() } {/literal} {/footer_script} - +
{if isset($metadata)} -
+
{foreach from=$metadata item=meta}

{$meta.TITLE}

{foreach from=$meta.lines item=value key=label} @@ -341,25 +341,21 @@ function togglePrivacyLevelBox() {if isset($COMMENT_COUNT)}
- {if $COMMENT_COUNT > 0} -

{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

- {else} -

{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

- {/if} - +

{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

+
{if isset($comment_add)}

{'Add a comment'|@translate}

- + {if $comment_add.SHOW_AUTHOR}

+

{/if} -

-

+

-

+

{/if} diff --git a/themes/default/template/picture_nav_buttons.tpl b/themes/default/template/picture_nav_buttons.tpl index 921a1de81..e6b2a1e1f 100644 --- a/themes/default/template/picture_nav_buttons.tpl +++ b/themes/default/template/picture_nav_buttons.tpl @@ -30,7 +30,7 @@  {'Not repeat the slideshow'|@translate} {/if} - +{/if}{/strip}-->*} {strip}{if isset($previous)}  {'Previous'|@translate} @@ -72,7 +72,7 @@  {'Next'|@translate} {/if}{/strip} - +{/if}{/strip}-->*} {/if}
{strip} -- cgit v1.2.3