diff options
Diffstat (limited to 'template/default/admin')
-rw-r--r-- | template/default/admin/cat_list.tpl | 18 | ||||
-rw-r--r-- | template/default/admin/infos_images.tpl | 7 | ||||
-rw-r--r-- | template/default/admin/update.tpl | 53 |
3 files changed, 33 insertions, 45 deletions
diff --git a/template/default/admin/cat_list.tpl b/template/default/admin/cat_list.tpl index d78eb6eb1..b33771222 100644 --- a/template/default/admin/cat_list.tpl +++ b/template/default/admin/cat_list.tpl @@ -19,7 +19,7 @@ <!-- BEGIN category --> <tr> <td style="width:1px;padding:5px;"><img src="{category.CATEGORY_IMG_SRC}" alt="{category.CATEGORY_IMG_ALT}" title="{category.CATEGORY_IMG_TITLE}" /></td> - <td style="width:40%;text-align:left;"><a class="titreImg" href="{category.U_CATEGORY}">{category.CATEGORY_NAME}</a> + <td style="width:60%;text-align:left;"><a class="titreImg" href="{category.U_CATEGORY}">{category.CATEGORY_NAME}</a> <br /> <!-- BEGIN storage --> {L_STORAGE} : {category.CATEGORY_DIR} - @@ -42,22 +42,6 @@ <!-- END no_image_info --> </td> <td class="row1" style="width:10%;white-space:nowrap;text-align:center;"> - <!-- BEGIN update --> - <a href="{category.U_CAT_UPDATE}">{L_UPDATE}</a> - <!-- END update --> - <!-- BEGIN no_update --> - <span style="color:darkgray;">{L_UPDATE}</span> - <!-- END no_update --> - </td> - <td class="row1" style="width:10%;white-space:nowrap;text-align:center;"> - <!-- BEGIN metadata --> - <a href="{category.U_CAT_METADATA}">{L_UPDATE_METADATA}</a> - <!-- END metadata --> - <!-- BEGIN no_metadata --> - <span style="color:darkgray;">{L_UPDATE_METADATA}</span> - <!-- END no_metadata --> - </td> - <td class="row1" style="width:10%;white-space:nowrap;text-align:center;"> <!-- BEGIN virtual --> <a href="{category.U_CAT_DELETE}">{L_DELETE}</a> <!-- END virtual --> diff --git a/template/default/admin/infos_images.tpl b/template/default/admin/infos_images.tpl index 8609c514c..0d6ac2e21 100644 --- a/template/default/admin/infos_images.tpl +++ b/template/default/admin/infos_images.tpl @@ -7,6 +7,7 @@ </ul> </div> <!-- END errors --> + <form action="{F_ACTION}" method="POST"> <div class="admin">{L_INFOS_TITLE} "{CATEGORY}"</div> <table width="100%"> @@ -76,7 +77,7 @@ </tr> <!-- END picture --> <tr> - <td colspan="6"> + <td colspan="7"> <img src="./template/default/admin/images/arrow_select.gif" alt="<" /> {L_INFOS_ASSOCIATE} <!-- BEGIN associate_LOV --> @@ -89,9 +90,9 @@ </td> </tr> <tr> - <td colspan="6" style="text-align:center;"> + <td colspan="7" style="text-align:center;"> <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /> </td> </tr> </table> -</form>
\ No newline at end of file +</form> diff --git a/template/default/admin/update.tpl b/template/default/admin/update.tpl index 0a09dd23b..ce4e31a24 100644 --- a/template/default/admin/update.tpl +++ b/template/default/admin/update.tpl @@ -1,9 +1,33 @@ <!-- BEGIN introduction --> <div class="admin">{L_UPDATE_TITLE}</div> -<ul class="menu"> - <li><a href="{U_CAT_UPDATE}">{L_CAT_UPDATE}</a></li> - <li><a href="{U_ALL_UPDATE}">{L_ALL_UPDATE}</a></li> -</ul> +<form action="{F_ACTION}" method="post"> + <ul class="menu"> + <li> + {L_UPDATE_SYNC_FILES} + <ul class="menu"> + <li><input type="radio" name="sync" value="dirs" checked="checked" /> {L_UPDATE_SYNC_DIRS}</li> + <li><input type="radio" name="sync" value="files" /> {L_UPDATE_SYNC_ALL}</li> + </ul> + </li> + <li> + {L_UPDATE_SYNC_METADATA} + <ul class="menu"> + <li><input type="radio" name="sync" value="metadata_new" /> {L_UPDATE_SYNC_METADATA_NEW}</li> + <li><input type="radio" name="sync" value="metadata_all" /> {L_UPDATE_SYNC_METADATA_ALL}</li> + </ul> + </li> + <li> + {L_UPDATE_CATS_SUBSET} + </li> + </ul> + <select style="width:500px" name="cat" size="10"> + <!-- BEGIN category_option --> + <option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option> + <!-- END category_option --> + </select> + <input type="checkbox" name="subcats-included" value="1" checked="checked" /> {L_SEARCH_SUBCATS_INCLUDED} + <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /></p> +</form> <!-- END introduction --> <!-- BEGIN update --> <div class="admin">{L_RESULT_UPDATE}</div> @@ -13,26 +37,5 @@ <li class="update_summary_del">{update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}</li> <li class="update_summary_del">{update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}</li> </ul> -<!-- BEGIN sync_metadata --> -<br />[ <a href="{update.sync_metadata.U_URL}">{L_UPDATE_SYNC_METADATA_QUESTION}</a> ] -<!-- END sync_metadata --> {update.CATEGORIES} <!-- END update --> -<!-- BEGIN remote_update --> - <table> - <tr> - <th>{#remote_site}</th> - </tr> - <tr> - <td> - <div class="retrait"> - <span style="font-weight:bold;color:navy;">{#url}</span><br /><br /> - <!-- update.php generates itself HTML code for categories --> - {#categories} - <br /><span style="color:blue;">{#count_new} {#update_research_conclusion}</span> - <br /><span style="color:red;">{#count_deleted} {#update_deletion_conclusion}</span> - </div> - </td> - </tr> - </table> - <!-- END remote_update --> |