[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 <SCRIPT LANGUAGE="JavaScript" type="text/javascript"> 3 <!-- 4 {literal} 5 function checkAll() 6 { 7 {/literal} 8 if ( document.trashaction.selectall.value == "{'Select all'|i18n('design/standard/content/trash')}" ) 9 {literal} 10 { 11 {/literal} 12 document.trashaction.selectall.value = "{'Deselect all'|i18n('design/standard/content/trash')}"; 13 {literal} 14 with (document.trashaction) 15 { 16 for (var i=0; i < elements.length; i++) 17 { 18 if (elements[i].type == 'checkbox' && elements[i].name == 'DeleteIDArray[]') 19 elements[i].checked = true; 20 } 21 } 22 } 23 else 24 { 25 {/literal} 26 document.trashaction.selectall.value = "{'Select all'|i18n('design/standard/content/trash')}"; 27 {literal} 28 with (document.trashaction) 29 { 30 for (var i=0; i < elements.length; i++) 31 { 32 if (elements[i].type == 'checkbox' && elements[i].name == 'DeleteIDArray[]') 33 elements[i].checked = false; 34 } 35 } 36 } 37 } 38 {/literal} 39 //--> 40 </SCRIPT> 41 {let page_limit=30 42 list_count=fetch('content','trash_count')} 43 <form name="trashaction" action={concat("content/trash/")|ezurl} method="post" > 44 45 <div class="maincontentheader"> 46 <h1>{"Trash"|i18n("design/standard/content/trash")}</h1> 47 </div> 48 49 {let object_list=fetch('content','trash_object_list',hash(limit,$page_limit,offset,$view_parameters.offset))} 50 {section show=$object_list} 51 52 <div class="buttonblock"> 53 <input type="submit" name="EmptyButton" value="{'Empty Trash'|i18n('design/standard/content/trash')}" /> 54 </div> 55 56 <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0"> 57 <tr> 58 <th>{"Name"|i18n("design/standard/content/trash")}</th> 59 <th>{"Class"|i18n("design/standard/content/trash")}</th> 60 <th>{"Section"|i18n("design/standard/content/trash")}</th> 61 <th>{"Current version"|i18n("design/standard/content/trash")}</th> 62 <th>{"Restore"|i18n("design/standard/content/trash")}</th> 63 <th width="1">{"Remove"|i18n("design/standard/content/trash")}</th> 64 {* <th> 65 <div class="buttonblock"> 66 <input type="submit" name="RemoveButton" value="{'Remove'|i18n('design/standard/content/trash')}" /> 67 </div> 68 </th>*} 69 </tr> 70 {section name=Draft loop=$object_list sequence=array(bglight,bgdark)} 71 <tr> 72 <td class="{$Draft:sequence}"> 73 <a href={concat("/content/versionview/",$Draft:item.id,"/",$Draft:item.current_version,"/")|ezurl}>{$Draft:item.content_class.identifier|class_icon( small, $Draft:item.content_class.name )} {$Draft:item.name|wash}</a> 74 </td> 75 <td class="{$Draft:sequence}"> 76 {$Draft:item.content_class.name|wash} 77 </td> 78 <td class="{$Draft:sequence}"> 79 {$Draft:item.section_id} 80 </td> 81 <td class="{$Draft:sequence}"> 82 {$Draft:item.current_version} 83 </td> 84 <td class="{$Draft:sequence}"> 85 <a href={concat("/content/edit/",$Draft:item.id,"/" )|ezurl}><img src={"edit.gif"|ezimage} border="0"></a> 86 </td> 87 <td class="{$Draft:sequence}" align="right" width="1"> 88 <input type="checkbox" name="DeleteIDArray[]" value="{$Draft:item.id}" /> 89 </td> 90 </tr> 91 {/section} 92 <tr> 93 <td colspan="3"> 94 </td> 95 <td colspan="3" align="right"> 96 <input name="selectall" onclick=checkAll() type="button" value="{'Select all'|i18n('design/standard/content/trash')}"> 97 <input type="image" name="RemoveButton" value="{'Remove'|i18n('design/standard/content/trash')}" src={"trash.png"|ezimage} /> 98 </td> 99 </tr> 100 </table> 101 {include name=navigator 102 uri='design:navigator/google.tpl' 103 page_uri='/content/trash' 104 item_count=$list_count 105 view_parameters=$view_parameters 106 item_limit=$page_limit} 107 108 109 {section-else} 110 111 <div class="feedback"> 112 <h2>{"Trash is empty"|i18n("design/standard/content/trash")}</h2> 113 </div> 114 115 {/section} 116 {/let} 117 {/let}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |