[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {* Lists search results with edit controls *} 3 {section name=Child show=$search_result} 4 5 {let name=Child can_remove=false() 6 can_edit=false() 7 can_create=false() 8 can_copy=false()} 9 10 {section loop=$search_result} 11 {section show=$:item.object.can_remove} 12 {set can_remove=true()} 13 {/section} 14 {section show=$:item.object.can_edit} 15 {set can_edit=true()} 16 {/section} 17 {section show=$:item.object.can_create} 18 {set can_copy=true()} 19 {/section} 20 {/section} 21 22 <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0"> 23 <tr> 24 {section show=$:can_remove} 25 <th width="1"> 26 27 </th> 28 {/section} 29 <th> 30 {"Name"|i18n("design/standard/node/view")} 31 </th> 32 <th> 33 {"Class"|i18n("design/standard/node/view")} 34 </th> 35 {section show=$:can_edit} 36 <th width="1"> 37 {"Edit"|i18n("design/standard/node/view")} 38 </th> 39 {/section} 40 {section show=$:can_copy} 41 <th width="1"> 42 {"Copy"|i18n("design/standard/node/view")} 43 </th> 44 {/section} 45 </tr> 46 {section name=SearchResult loop=$search_result show=$search_result sequence=array(bglight,bgdark)} 47 <tr class="{$:sequence}"> 48 {section show=$:item.object.can_remove} 49 <td align="right" width="1"> 50 {section show=$:item.object.can_remove} 51 <input type="checkbox" name="DeleteIDArray[]" value="{$:item.node_id}" /> 52 {/section} 53 </td> 54 {/section} 55 <td> 56 <a href={concat('content/view/full/',$:item.node_id)|ezurl}> 57 <a href={concat('content/view/full/',$:item.node_id)|ezurl}> 58 {switch match=$:item.object.contentclass_id} 59 {case match=4} 60 <img src={"user.gif"|ezimage} border="0" alt="{'User'|i18n('design/standard/node/view')}" /> 61 {/case} 62 {case match=3} 63 <img src={"usergroup.gif"|ezimage} border="0" alt="{'User group'|i18n('design/standard/node/view')}" /> 64 {/case} 65 {case} 66 <img src={"class_2.png"|ezimage} border="0" alt="{'Document'|i18n('design/standard/node/view')}" /> 67 {/case} 68 {/switch} 69 70 {$:item.name|wash}</a></a> 71 </td> 72 <td> 73 {$:item.object.class_name|wash} 74 </td> 75 76 {section show=$:item.object.can_edit} 77 <td width="1"> 78 {section show=$:item.object.can_edit} 79 <a href={concat( "content/edit/", $:item.contentobject_id )|ezurl}><img src={"edit.gif"|ezimage} alt="{'Edit'|i18n('design/standard/node/view')}" /></a> 80 {/section} 81 </td> 82 {/section} 83 {section show=$:item.object.can_create} 84 <td> 85 <a href={concat( "content/copy/", $:item.contentobject_id )|ezurl}><img src={"copy.gif"|ezimage} alt="{'Copy'|i18n( 'design/standard/node/view' )}" /></a> 86 </td> 87 {/section} 88 </tr> 89 {/section} 90 </table> 91 {section show=$:can_remove} 92 <input type="submit" name="RemoveButton" value="{'Remove'|i18n('design/standard/node/view')}" /> 93 {/section} 94 {/let} 95 {/section}
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 |