diff options
author | plegall <plg@piwigo.org> | 2010-04-09 19:47:29 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-04-09 19:47:29 +0000 |
commit | e39b4c4a0c4fe6f5a146a55f5119d01abe09bcb7 (patch) | |
tree | 11779c177a99b77c500de75153ca4294fa6b193f /admin/themes/default/template | |
parent | fce10ca2d46e0cdc86f2c4b76209ce5af692f32c (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 '')
-rw-r--r-- | admin/themes/default/template/photos_add_direct.tpl | 4 |
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> |