aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-06 17:59:06 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-06 17:59:06 +0000
commit8fdaa594942c6e0cb586f28dbbfdb868ce27b971 (patch)
treec9b39f03c095ff30f7e7a4f0f06a8e01aa85b09e /template
parent6979ff78605c09152d7729d4285c4973c1f8c72c (diff)
- Don't show "home" twice on picture navbar if category is not set.
- Add ids to textarea (for future use with TinyMCE plugin). - Enlarge cat_bottom-right.gif and cat_top-right.gif to 1200px. git-svn-id: http://piwigo.org/svn/trunk@2674 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/picture.tpl4
-rw-r--r--template/yoga/upload.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 756434c4a..5d6f85b7f 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -22,7 +22,7 @@
<div id="imageHeaderBar">
<div class="browsePath">
<a href="{$U_HOME}" rel="home">{'home'|@translate}</a>
- {$LEVEL_SEPARATOR}{$SECTION_TITLE}
+ {if $SECTION_TITLE != 'no_category'|@translate}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if}
{$LEVEL_SEPARATOR}{$current.TITLE}
</div>
<div class="imageNumber">{$PHOTO}</div>
@@ -262,7 +262,7 @@ y.callService(
{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>
+ <label>{'comment'|@translate}<textarea name="content" id="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>
diff --git a/template/yoga/upload.tpl b/template/yoga/upload.tpl
index b92c918fd..a685a9a86 100644
--- a/template/yoga/upload.tpl
+++ b/template/yoga/upload.tpl
@@ -86,7 +86,7 @@
<tr>
<td>{'comment'|@translate}</td>
<td>
- <textarea name="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
+ <textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
</td>
</tr>
{/if}