diff options
author | rvelices <rv-github@modusoptimus.com> | 2013-10-10 04:40:46 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2013-10-10 04:40:46 +0000 |
commit | b75d88bdf06756f87d660ed1e44aff39eeb915b1 (patch) | |
tree | 946a4080377468b2d10e9bd2200eaf0ea69ede05 | |
parent | d1838b99bc8130cc872077f01b97b603358260b0 (diff) |
do not load ajax loader on picture page because of comments
added some minor margins to avoid runin on small devices on calendar bars
git-svn-id: http://piwigo.org/svn/trunk@24831 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | themes/default/template/comment_list.tpl | 10 | ||||
-rw-r--r-- | themes/default/template/month_calendar.tpl | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index a04baf27e..5fe4e2f47 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -1,16 +1,16 @@ {if isset($comment_derivative_params)} {strip}{html_style} -.commentElement .illustration{ldelim} - width: {$comment_derivative_params->max_width()+5}px +.commentElement .illustration{ + width:{$comment_derivative_params->max_width()+5}px } -.content .commentElement .description{ldelim} - min-height: {$comment_derivative_params->max_height()+5}px +.content .commentElement .description{ + min-height:{$comment_derivative_params->max_height()+5}px } {/html_style}{/strip} -{/if} {footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png";{/footer_script} <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> +{/if} <ul class="commentsList"> {foreach from=$comments item=comment name=comment_loop} <li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl index 1dd4b9922..c3af37818 100644 --- a/themes/default/template/month_calendar.tpl +++ b/themes/default/template/month_calendar.tpl @@ -2,10 +2,10 @@ {foreach from=$chronology_navigation_bars item=bar} <div class="calendarBar"> {if isset($bar.previous)} - <div style="float:left">« <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div> + <div style="float:left;margin-right:5px">« <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div> {/if} {if isset($bar.next)} - <div style="float:right"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> »</div> + <div style="float:right;margin-left:5px"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> »</div> {/if} {if empty($bar.items)} |