Changeset 331 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 18 Jul 2006, 09:02:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/search_form.pt
r325 r331 45 45 i18n:name="nb_results">n</span> results. 46 46 </p> 47 <div id="searchResults" 48 tal:define="items_per_page python:20;"> 49 <metal:block use-macro="here/content_lib_display_contents/macros/display_contents" /> 47 48 49 <table width="100%" cellspacing="0" cellpadding="2" 50 class="folderButtons" 51 tal:define="can_add python:checkPerm('Add portal content', here); 52 can_del python:checkPerm('Delete objects', here);"> 53 54 55 56 <thead> 57 <tr><td><strong>Title</strong></td><td><strong>Id</strong></td><td><strong>Type</strong></td></tr> 58 </thead> 59 60 <tbody tal:repeat="item items"> 61 62 <tr><td></td><td></td><td></td></tr> 63 64 <tr tal:define="objURL string:${item/getURL}/view; 65 objPath item/getPath; 66 title item/Title; 67 "> 68 <td> 69 <a href="url" 70 tal:attributes="href objURL"> 71 <span tal:content="python: title or '(No title)'" /> 72 </a> 73 </td> 74 75 <td i18n:translate=""> 76 <span tal:replace="item/id" /> 77 </td> 78 79 <td> 80 <span tal:replace="item/portal_type" /> 81 </td> 82 </tr> 83 84 </tbody> 85 </table> 86 87 88 89 90 <div style="text-align:right;" class="group"> 50 91 </div> 51 52 92 </tal:block> 53 93
Note: See TracChangeset for help on using the changeset viewer.