[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$admintemplatepath/header.template"} 2 {include file="$admintemplatepath/navigation.template" showOpt=editLinkCategories title=$locale->tr("editLinkCategories")} 3 <script type="text/javascript"> 4 {literal} 5 YAHOO.util.Event.addListener( window, "load", function() { 6 var t = new Lifetype.UI.TableEffects( "list" ); 7 t.stripe(); 8 t.highlightRows(); 9 }); 10 {/literal} 11 </script> 12 <div id="list_nav_bar"> 13 <div id="list_nav_select"> 14 15 <form id="viewLinkCategories" action="admin.php" method="post"> 16 <fieldset> 17 <legend>{$locale->tr("show_by")}</legend> 18 19 <div class="list_nav_option"> 20 <label for="search">{$locale->tr("search_terms")}</label> 21 <br /> 22 <input type="text" name="searchTerms" value="{$searchTerms}" size="15" id="search" /> 23 </div> 24 25 <div class="list_nav_option"> 26 <br /> 27 <input type="hidden" name="op" value="editLinkCategories" /> 28 <input type="submit" name="Show" value="{$locale->tr("show")}" /> 29 </div> 30 </fieldset> 31 </form> 32 </div> 33 <br style="clear:both" /> 34 </div> 35 36 <form id="linkCategories" action="admin.php" method="post"> 37 <div id="list"> 38 {include file="$admintemplatepath/successmessage.template"} 39 {include file="$admintemplatepath/errormessage.template"} 40 <table id="list" class="info" summary="{$locale->tr("editLinkCategories")}"> 41 <thead> 42 <tr> 43 <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('linkCategories');" /></th> 44 <th style="width:75%">{$locale->tr("name")}</th> 45 <th style="width:15%">{$locale->tr("links")}</th> 46 <th style="width:10%;">{$locale->tr("actions")}</th> 47 </tr> 48 </thead> 49 <tbody> 50 {foreach from=$linkcategories item=category} 51 <tr> 52 <td align="center"><input class="checkbox" type="checkbox" name="categoryIds[{counter}]" value="{$category->getId()}"/></td> 53 <td class="col_highlighted"> 54 {check_perms perm="update_link_category"}<a href="admin.php?op=editLinkCategory&categoryId={$category->getId()}">{/check_perms}{$category->getName()}{check_perms perm="update_link_category"}</a>{/check_perms} 55 </td> 56 <td> 57 {if $category->getNumLinks() > 0} 58 <a href="admin.php?op=editLinks&showCategory={$category->getId()}">({$category->getNumLinks()})</a> 59 {else} 60 (0) 61 {/if} 62 </td> 63 <td> 64 <div class="list_action_button"> 65 {check_perms perm="update_link_category"} 66 <a href="?op=editLinkCategory&categoryId={$category->getId()}"><img src="imgs/admin/icon_edit-16.png" alt="{$locale->tr("edit")}" /></a> 67 {/check_perms} 68 {check_perms perm="update_link_category"} 69 <a href="?op=deleteLinkCategory&categoryId={$category->getId()}"><img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete")}" /></a> 70 {/check_perms} 71 </div> 72 </td> 73 </tr> 74 {/foreach} 75 </tbody> 76 </table> 77 </div> 78 <div id="list_action_bar"> 79 {adminpager style=list} 80 <input type="hidden" name="op" value="deleteLinkCategories"/> 81 {check_perms perm="update_link_category"} 82 <input type="submit" name="Delete selected" value="{$locale->tr("delete")}"/> 83 {/check_perms} 84 </div> 85 </form> 86 87 {include file="$admintemplatepath/footernavigation.template"} 88 {include file="$admintemplatepath/footer.template"}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |