f0e9cd804a
count sub-categories per sub-categories became false if no sub-categories - virtual association come back in admin/infos_images (not only in admin/picture_modify) - check_favorites function in admin section becomes check_user_favorites in public section : favorites are checked when user tries to display his favorites. Function was optimized. - in function update_category, wrap of long queries due to many categories to update at the same time - typo fixed in description of paginate_pages_around configuration parameter - bug fixed in new navigation bar : no separation pipe was displayed between next and last when the page displayed was the last - sessions.expiration changed of type from int to datetime (a lot easier to read) - sessions.ip removed : IP address is no longer used to verify session - $lang['cat_options'] was missing in en_UK.iso-8859-1 - typo fixed in language/en_UK.iso-8859-1/admin.lang.php on editcat_lock_info language item git-svn-id: http://piwigo.org/svn/trunk@647 68402e56-0260-453c-a942-63ccdbb3a9ee
96 lines
3.9 KiB
Smarty
96 lines
3.9 KiB
Smarty
<!-- BEGIN errors -->
|
|
<div class="errors">
|
|
<ul>
|
|
<!-- BEGIN error -->
|
|
<li>{errors.error.ERROR}</li>
|
|
<!-- END error -->
|
|
</ul>
|
|
</div>
|
|
<!-- END errors -->
|
|
|
|
<form action="{F_ACTION}" method="POST">
|
|
<div class="admin">{L_INFOS_TITLE} "{CATEGORY}"</div>
|
|
<table width="100%">
|
|
<tr>
|
|
<td><div style="margin-left:50px;">{L_AUTHOR}</div></td>
|
|
<td style="row1">
|
|
<input type="text" name="author_cat" value="" maxlength="255" />
|
|
</td>
|
|
<td style="text-align:left;">
|
|
<input type="checkbox" name="use_common_author" value="1" />
|
|
{L_INFOS_OVERALL_USE}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div style="margin-left:50px;">{L_INFOS_CREATION_DATE} [DD/MM/YYYY]</div>
|
|
</td>
|
|
<td style="row1">
|
|
<input type="text" name="date_creation_cat" value="" size="12" maxlength="10"/>
|
|
</td>
|
|
<td style="text-align:left;">
|
|
<input type="checkbox" name="use_common_date_creation" value="1" />
|
|
{L_INFOS_OVERALL_USE}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div style="margin-left:50px;">{L_KEYWORD} {L_KEYWORD_SEPARATION}</div>
|
|
</td>
|
|
<td style="row1">
|
|
<input type="text" name="keywords_cat" value="" maxlength="255" />
|
|
</td>
|
|
<td style="text-align:left;">
|
|
<input type="radio" name="common_keywords" value="add" />
|
|
{L_INFOS_ADDTOALL}
|
|
<input type="radio" name="common_keywords" value="remove" />
|
|
{L_INFOS_REMOVEFROMALL}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
<div class="admin">{L_INFOS_DETAIL}</div>
|
|
<div class="navigationBar">{NAV_BAR}</div>
|
|
<table width="100%">
|
|
<tr>
|
|
<td style="width:0px;"> </td>
|
|
<td class="row2" style="text-align:center;">{L_THUMBNAIL}</td>
|
|
<td class="row2" style="text-align:center;">{L_INFOS_IMG}</td>
|
|
<td class="row2" style="text-align:center;">{L_AUTHOR}</td>
|
|
<td class="row2" style="text-align:center;">{L_INFOS_COMMENT}</td>
|
|
<td class="row2" style="text-align:center;">{L_INFOS_CREATION_DATE}</td>
|
|
<td class="row2" style="text-align:center;">{L_KEYWORD}</td>
|
|
</tr>
|
|
<!-- BEGIN picture -->
|
|
<tr>
|
|
<td style="width:0px;">
|
|
<div style="margin-left:2px;margin-right:2px;">
|
|
<input type="checkbox" name="check-{picture.ID_IMG}" value="1" />
|
|
</div>
|
|
</td>
|
|
<td style="text-align:center;"><a name="{picture.DEFAULTNAME_IMG}" href="{picture.URL_IMG}"><img src="{picture.TN_URL_IMG}" alt="" class="miniature" title="{picture.FILENAME_IMG}" /></a></td>
|
|
<td style="text-align:center;">{picture.DEFAULTNAME_IMG}<br /><input type="text" name="name-{picture.ID_IMG}" value="{picture.NAME_IMG}" maxlength="255"/></td>
|
|
<td style="text-align:center;"><input type="text" name="author-{picture.ID_IMG}" value="{picture.AUTHOR_IMG}" maxlength="255" size="12" /></td>
|
|
<td style="text-align:center;"><textarea name="comment-{picture.ID_IMG}" rows="5" cols="30" style="overflow:auto">{picture.COMMENT_IMG}</textarea></td>
|
|
<td style="text-align:center;"><input type="text" name="date_creation-{picture.ID_IMG}" value="{picture.DATE_IMG}" maxlength="10" size="10" /></td>
|
|
<td style="text-align:center;"><input type="text" name="keywords-{picture.ID_IMG}" value="{picture.KEYWORDS_IMG}" length="255" /></td>
|
|
</tr>
|
|
<!-- END picture -->
|
|
<tr>
|
|
<td colspan="7">
|
|
<img src="./template/default/admin/images/arrow_select.gif" alt="↑" />
|
|
{L_INFOS_ASSOCIATE}
|
|
<select style="width:400px" name="associate" size="1">
|
|
<!-- BEGIN associate_option -->
|
|
<option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option>
|
|
<!-- END category_option -->
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="7" style="text-align:center;">
|
|
<input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|