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
This commit is contained in:
parent
fce10ca2d4
commit
e39b4c4a0c
2 changed files with 41 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue