[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$blogtemplate/header.template"} 2 {include file="$blogtemplate/navigation.template" showOpt=siteTemplates title=$locale->tr("siteTemplates")} 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 <form id="siteTemplates" method="post" action="admin.php"> 13 <div id="list"> 14 {include file="$admintemplatepath/successmessage.template"} 15 {include file="$admintemplatepath/errormessage.template"} 16 <table id="list" class="info" summary="{$locale->tr("siteTemplates")}"> 17 <thead> 18 <tr> 19 <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('siteTemplates');" /></th> 20 <th style="width:90%;">{$locale->tr("template")}</th> 21 <th style="width:10%;">{$locale->tr("actions")}</th> 22 </tr> 23 </thead> 24 <tbody> 25 {foreach from=$templates item=sitetemplate} 26 <tr> 27 <td> 28 <input class="checkbox" type="checkbox" name="templateIds[{counter}]" value="{$sitetemplate->getName()}" /> 29 </td> 30 <td class="col_highlighted"> 31 {if $sitetemplate->hasScreenshot()} 32 <a href="javascript:openScreenshotWindow('{$sitetemplate->getScreenshotUrl()}');">{$sitetemplate->getName()}</a> 33 {else} 34 {$sitetemplate->getName()} 35 {/if} 36 </td> 37 <td> 38 <div class="list_action_button"> 39 {check_perms adminperm=update_template} 40 <a href="?op=deleteTemplate&templateId={$sitetemplate->getName()}" title="{$locale->tr("delete")}"> 41 <img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete")}" /> 42 </a> 43 {/check_perms} 44 {if $sitetemplate->hasScreenshot()} 45 <a href="javascript:openScreenshotWindow('{$sitetemplate->getScreenshotUrl()}');" title="{$locale->tr("preview")}"> 46 <img src="imgs/admin/icon_image-16.png" alt="{$locale->tr("preview")}" /> 47 </a> 48 {/if} 49 </div> 50 </td> 51 </tr> 52 {/foreach} 53 </tbody> 54 </table> 55 </div> 56 <div id="list_action_bar"> 57 {check_perms adminperm=update_template} 58 <input type="hidden" name="op" value="deleteTemplates" class="submit" /> 59 <input type="submit" name="{$locale->tr("delete")}" value="{$locale->tr("delete")}"/> 60 {/check_perms} 61 </div> 62 </form> 63 64 {include file="$blogtemplate/footernavigation.template"} 65 {include file="$blogtemplate/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 |
![]() |