aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-09 19:47:29 +0000
committerplegall <plg@piwigo.org>2010-04-09 19:47:29 +0000
commite39b4c4a0c4fe6f5a146a55f5119d01abe09bcb7 (patch)
tree11779c177a99b77c500de75153ca4294fa6b193f /admin/themes/default
parentfce10ca2d46e0cdc86f2c4b76209ce5af692f32c (diff)
feature 1591: smarter default categories in upload form. We use the most
recently added photo as reference. git-svn-id: http://piwigo.org/svn/trunk@5743 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl
index 1200a049e..f75ad2493 100644
--- a/admin/themes/default/template/photos_add_direct.tpl
+++ b/admin/themes/default/template/photos_add_direct.tpl
@@ -172,7 +172,7 @@ var buttonText = 'Browse';
<div id="category_type_existing" style="display:none" class="category_selection">
<select class="categoryDropDown" name="category">
- {html_options options=$category_options}
+ {html_options options=$category_options selected=$category_options_selected}
</select>
</div>
@@ -183,7 +183,7 @@ var buttonText = 'Browse';
<td>
<select class="categoryDropDown" name="category_parent">
<option value="0">------------</option>
- {html_options options=$category_options}
+ {html_options options=$category_parent_options selected=$category_parent_options_selected}
</select>
</td>
</tr>