[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$admintemplatepath/chooser/header.template"} 2 <div id="list_nav_bar"> 3 <div id="list_nav_select"> 4 5 <form id="viewBlogs" action="admin.php" method="post"> 6 <fieldset> 7 <legend>{$locale->tr("show_by")}</legend> 8 <div class="list_nav_option"> 9 <label for="status">{$locale->tr("status")}</label> 10 <br /> 11 <select name="status" id="status"> 12 {foreach from=$blogstatus key=name item=status} 13 <option value="{$status}" {if $currentstatus == $status} selected="selected"{/if}>{$locale->tr($name)}</option> 14 {/foreach} 15 </select> 16 </div> 17 18 <div class="list_nav_option"> 19 <label for="search">{$locale->tr("search_terms")}</label> 20 <br /> 21 <input type="text" name="searchTerms" value="{$searchTerms}" size="15" id="search" /> 22 </div> 23 24 <div class="list_nav_option"> 25 <br /> 26 <input type="hidden" name="op" value="siteBlogsChooser" /> 27 <input type="submit" name="Show" value="{$locale->tr("show")}" /> 28 <input type="hidden" name="mode" value="{$mode}" /> 29 </div> 30 </fieldset> 31 </form> 32 </div> 33 <br style="clear:both" /> 34 </div> 35 36 <form id="editBlogs" method="post" action="admin.php"> 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("blogs")}"> 41 <thead> 42 <tr> 43 <th style="width:25px;">ID</th> 44 <th style="width:390px;">{$locale->tr("blog")}</th> 45 <th style="width:115px;">{$locale->tr("owner")}</th> 46 <th style="width:60px;">{$locale->tr("status")}</th> 47 <th style="width:95px;">{$locale->tr("actions")}</th> 48 </tr> 49 </thead> 50 <tbody> 51 {foreach from=$siteblogs item=siteblog} 52 <tr> 53 <td>{$siteblog->getId()}</td> 54 <td class="col_highlighted"> 55 {if $mode=="1"} 56 <a href="#" onclick="setDocumentField(parent.opener.document,'blogName','{$siteblog->getBlog()|escape:javascript}');setDocumentField(parent.opener.document,'blogId','{$siteblog->getId()}');window.close()"> 57 {else} 58 <a href="#" onclick="appendDocumentList(parent.opener.document,'blogList','{$siteblog->getId()}','{$siteblog->getBlog()|escape:javascript}');window.close()"> 59 {/if} 60 {$siteblog->getBlog()} 61 </a> 62 </td> 63 <td> 64 {assign var=ownerInfo value=$siteblog->getOwnerInfo()} 65 <a href="?op=editUser&userId={$ownerInfo->getId()}">{$ownerInfo->getUsername()}</a> 66 </td> 67 <td> 68 {foreach from=$blogstatus key=name item=status} 69 {if $siteblog->getStatus() == $status} 70 {if $status == 2}<span style="color:red">{$locale->tr($name)}</span> 71 {else}{$locale->tr($name)}{/if} 72 {/if} 73 {/foreach} 74 </td> 75 <td> 76 <div class="list_action_button"> 77 {if $mode=="1"} 78 <a href="#" onclick="setDocumentField(parent.opener.document,'blogName','{$siteblog->getBlog()|escape:javascript}');setDocumentField(parent.opener.document,'blogId','{$siteblog->getId()}');window.close()"> 79 {else} 80 <a href="#" onclick="appendDocumentList(parent.opener.document,'blogList','{$siteblog->getId()}','{$siteblog->getBlog()|escape:javascript}');window.close()"> 81 {/if} 82 <img src="imgs/admin/icon_arrow-16.png" alt="{$locale->tr("select_user")}" /> 83 </a> 84 </div> 85 </tr> 86 {/foreach} 87 </tbody> 88 </table> 89 </div> 90 <div id="list_action_bar"> 91 <a href="javascript:window.close()">{$locale->tr("close")}</a> 92 {adminpager style="list"} 93 </div> 94 </form> 95 {include file="$admintemplatepath/chooser/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 |
![]() |