|
| 1 | +<!-- Header --> |
| 2 | +<{includeq file="db:modulebuilder_header.tpl"}> |
| 3 | +<!-- Display mymodule list --> |
| 4 | +<{if $mymodule_list}> |
| 5 | + <table class='outer width100'> |
| 6 | + <tr> |
| 7 | + <th class='center'><{$smarty.const._AM_MODULEBUILDER_FILE_ID}></th> |
| 8 | + <th class='center'><{$smarty.const._AM_MODULEBUILDER_FILE_MID_LIST}></th> |
| 9 | + <th class='center'><{$smarty.const._AM_MODULEBUILDER_FILE_INFOLDER_LIST}></th> |
| 10 | + <th class='center'><{$smarty.const._AM_MODULEBUILDER_FILE_NAME_LIST}></th> |
| 11 | + <th class='center'><{$smarty.const._AM_MODULEBUILDER_FILE_EXTENSION_LIST}></th> |
| 12 | + <th class='center width5'><{$smarty.const._AM_MODULEBUILDER_FORM_ACTION}></th> |
| 13 | + </tr> |
| 14 | + <{foreach item=file from=$mymodule_list key=file_id}> |
| 15 | + <tr id="file<{$file.id}>" class="mymodule"> |
| 16 | + <td class='center bold width5'><{$file.id}></td> |
| 17 | + <td class='center bold'><{$file.mid}></td> |
| 18 | + <td class='center bold blue'><{$file.infolder}></td> |
| 19 | + <td class='center bold green'><{$file.name}></td> |
| 20 | + <td class='center bold red'><{$file.extension}></td> |
| 21 | + <td class='xo-actions txtcenter width5'> |
| 22 | + <a href="moremymodule.php?op=edit&file_id=<{$file.id}>" title="<{$smarty.const._EDIT}>"> |
| 23 | + <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>"/> |
| 24 | + </a> |
| 25 | + <a href="moremymodule.php?op=delete&file_id=<{$file.id}>" title="<{$smarty.const._DELETE}>"> |
| 26 | + <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>"/> |
| 27 | + </a> |
| 28 | + </td> |
| 29 | + </tr> |
| 30 | + <{/foreach}> |
| 31 | + </table> |
| 32 | + <br/> |
| 33 | + <br/> |
| 34 | + <!-- Display mymodule navigation --> |
| 35 | + <div class="clear"> </div> |
| 36 | + <{if $pagenav}> |
| 37 | + <div class="xo-pagenav floatright"><{$pagenav}></div> |
| 38 | + <div class="clear spacer"></div> |
| 39 | + <{/if}> |
| 40 | +<{else}> <!-- Display file images on edit page --> |
| 41 | + <!-- Display file form (add,edit) --> |
| 42 | + <{if $form}> |
| 43 | + <div class="spacer"><{$form}></div> |
| 44 | + <{/if}> |
| 45 | +<{/if}> |
| 46 | +<{if $error}> |
| 47 | + <div class="errorMsg"> |
| 48 | + <strong><{$error}></strong> |
| 49 | + </div> |
| 50 | +<{/if}> |
| 51 | +<!-- Footer --> |
| 52 | +<{includeq file="db:modulebuilder_footer.tpl"}> |
0 commit comments