aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-08-22 00:45:03 +0000
committerrvelices <rv-github@modusoptimus.com>2008-08-22 00:45:03 +0000
commit0b32dd4c0bd53092fed21a0262dce0ebbd2afb9f (patch)
tree9a5cf9016316c94505d80475d39a25fe3d6e25ad /template/yoga/picture.tpl
parent685f4e2998ba782b03bd0488131a6e1665de0955 (diff)
- further reduce css rules and remove unused ones
- added a smarty prefilter so that html output is nicely indented now ... git-svn-id: http://piwigo.org/svn/trunk@2481 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/picture.tpl')
-rw-r--r--template/yoga/picture.tpl39
1 files changed, 20 insertions, 19 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index fa76a7e01..9ba9d6ffa 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -244,28 +244,29 @@ y.callService(
{if isset($COMMENT_COUNT)}
<div id="comments">
- <h2>[{$COMMENT_COUNT}] {'comments_title'|@translate}</h2>
+ <h3>[{$COMMENT_COUNT}] {'comments_title'|@translate}</h3>
- <div class="navigationBar">{$COMMENT_NAV_BAR}</div>
+ {if !empty($COMMENT_NAV_BAR)}
+ <div class="navigationBar">{$COMMENT_NAV_BAR}</div>
+ {/if}
- {if isset($comments)}
- {include file='comment_list.tpl'}
- {/if}
-
- {if isset($comment_add)}
- <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
- <fieldset>
- <legend>{'comments_add'|@translate}</legend>
- {if $comment_add.SHOW_AUTHOR}
- <label>{'upload_author'|@translate}<input type="text" name="author"></label>
- {/if}
- <label>{'comment'|@translate}<textarea name="content" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
- <input type="hidden" name="key" value="{$comment_add.KEY}" />
- <input class="submit" type="submit" value="{'Submit'|@translate}">
- </fieldset>
- </form>
- {/if}
+ {if isset($comments)}
+ {include file='comment_list.tpl' comment_separator=true}
+ {/if}
+ {if isset($comment_add)}
+ <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
+ <fieldset>
+ <legend>{'comments_add'|@translate}</legend>
+ {if $comment_add.SHOW_AUTHOR}
+ <label>{'upload_author'|@translate}<input type="text" name="author"></label>
+ {/if}
+ <label>{'comment'|@translate}<textarea name="content" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
+ <input type="hidden" name="key" value="{$comment_add.KEY}" />
+ <input class="submit" type="submit" value="{'Submit'|@translate}">
+ </fieldset>
+ </form>
+ {/if}
</div>
{/if} {*comments*}