diff options
Diffstat (limited to 'template/cclear/admin/cat_list.tpl')
-rw-r--r-- | template/cclear/admin/cat_list.tpl | 107 |
1 files changed, 46 insertions, 61 deletions
diff --git a/template/cclear/admin/cat_list.tpl b/template/cclear/admin/cat_list.tpl index 190b85dcd..7331fe2e3 100644 --- a/template/cclear/admin/cat_list.tpl +++ b/template/cclear/admin/cat_list.tpl @@ -1,63 +1,48 @@ -<!-- BEGIN errors --> -<div class="errors"> -<ul> - <!-- BEGIN error --> - <li>{errors.error.ERROR}</li> - <!-- END error --> -</ul> -</div> -<!-- END errors --> -<!-- BEGIN infos --> -<div class="info"> - <!-- BEGIN info --> - <li>{infos.info.INFO}</li> - <!-- END info --> -</div> -<!-- END infos --> +<!-- $Id$ --> +<h2>{lang:title_categories}</h2> + <h3>{CATEGORIES_NAV}</h3> -<!--table style="width:100%;"--> -<!-- BEGIN category --> -<table style="width:100%;"> -<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:60%;text-align:left;"><a class="titreImg" href="{category.U_CATEGORY}">{category.CATEGORY_NAME}</a> - <br /> - <!-- BEGIN storage --> - {L_STORAGE} : {category.CATEGORY_DIR} - - <!-- END storage --> - {L_NB_IMG} : {category.CATEGORY_NB_IMG} - </td> - <td class="row1" style="width:10%;white-space:nowrap;text-align:center;"> - <a href="{category.U_MOVE_UP}">{L_MOVE_UP}</a><br /> - <a href="{category.U_MOVE_DOWN}">{L_MOVE_DOWN}</a> - </td> - <td class="row1" style="width:10%;white-space:nowrap;text-align:center;"> - <a href="{category.U_CAT_EDIT}">{L_EDIT}</a> - </td> - <td class="row1" style="width:10%;white-space:nowrap;text-align:center;"> - <!-- BEGIN image_info --> - <a href="{category.U_INFO_IMG}">{L_INFO_IMG}</a> - <!-- END image_info --> - <!-- BEGIN no_image_info --> - <span style="color:darkgray;">{L_INFO_IMG}</span> - <!-- END no_image_info --> - </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 --> - <!-- BEGIN storage --> - <span style="color:darkgray;">{L_DELETE}</span> - <!-- END storage --> - </td> -<tr> -</table> -<!-- END category --> -<!--/table--> -<form action="{F_ACTION}" method="post" id="add_virtual"> - <p> - {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" /> - <input type="hidden" name="rank" value="{NEXT_RANK}"/> - <input type="submit" value="{L_SUBMIT}" class="bouton" name="submit" /> - </p> + +<form id="categoryOrdering" action="" method="post"> + + <ul> + + <!-- BEGIN category --> + <li> <!-- category {category.ID} --> + + <ul class="categoryActions"> + <li><a href="{category.U_JUMPTO}" title="{lang:jump to category}"><img src="./template/default/theme/category_jump-to.png" alt="{lang:jump to}" /></a></li> + <li><a href="{category.U_EDIT}" title="{lang:edit category informations}"><img src="./template/default/theme/category_edit.png" alt="{lang:edit}"/></a></li> + <!-- BEGIN elements --> + <li><a href="{category.elements.URL}" title="{lang:manage category elements}"><img src="./template/default/theme/category_elements.png" alt="{lang:elements}" /></a></li> + <!-- END elements --> + <li><a href="{category.U_CHILDREN}" title="{lang:manage sub-categories}"><img src="./template/default/theme/category_children.png" alt="{lang:sub-categories}" /></a></li> + <!-- BEGIN permissions --> + <li><a href="{category.permissions.URL}" title="{lang:edit category permissions}" ><img src="./template/default/theme/category_permissions.png" alt="{lang:permissions}" /></a></li> + <!-- END permissions --> + <!-- BEGIN delete --> + <li><a href="{category.delete.URL}" title="{lang:delete category}"><img src="./template/default/theme/category_delete.png" alt="{lang:delete}" /></a></li> + <!-- END delete --> + </ul> + + <p><strong>{category.NAME}</strong></p> + + <p> + <label> + {lang:Position} : + <input type="text" size="4" name="catOrd[{category.ID}]" maxlength="4" value="{category.RANK}" /> + </label> + </p> + + </li> + <!-- END category --> + + <p><input name="submitOrder" type="submit" class="bouton" value="{lang:Save order}" /></p> + +</form> + +<form action="{F_ACTION}" method="post"> + {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" /> + <input type="hidden" name="rank" value="{NEXT_RANK}"/> + <input type="submit" value="{L_SUBMIT}" class="bouton" name="submitAdd" /> </form> |