[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/cms/template/admin_media/ -> index.html (source)

   1  
   2  <core:wrap file="_cms/page.html" in="content_zone">
   3  <core:wrap file='_cms/central_part.html'>
   4  
   5  <core:wrap in='title_zone'>Media list</core:wrap>
   6  
   7  <core:wrap in='actions'>
   8      <route_url params="action:create" extra='?popup=1'>Create media</route_url>
   9  </core:wrap>
  10  
  11    <core:wrap in='table'>
  12  
  13      <active_record:fetch class_path='src/model/Media' target="media" />
  14      <list:LIST id='media'>
  15        <form name='list_form' method='post'>
  16        <table cellpadding="0" cellspacing="0" class="list">
  17          <tr class="header">
  18            <th class="left"><img src='/images/icon/selectall.gif'/>&nbsp;<input type='checkbox' onclick='MarkAll(checked);' name='mark_all'/></th>
  19            <th>Title</th>
  20            <th class="right">Actions</th>
  21          </tr>
  22        <tbody>
  23          <list:ITEM>
  24          <tr>
  25            <td class="left">
  26              <input type='checkbox' name='ids[]' value='{$id}' class='input' runat='client'/>
  27            </td>
  28            <td>{$title}</td>
  29            <td align="center">
  30              <route_url params="action:edit,id:{$id}" extra='?popup=1' title="Edit"><img alt="Edit" title="Edit" src="/shared/cms/icons/edit.gif"/></route_url>
  31              <route_url params="action:delete" extra='?ids[]={$id}&popup=1' title="Delete"><img alt="Delete" title="Delete" src="/shared/cms/icons/delete.gif"/></route_url>
  32            </td>
  33          </tr>
  34          </list:ITEM>
  35        </tbody>
  36        </table>
  37        <br/>
  38        <route_url_set field='delete_url' params="action:delete" />
  39        <input type='submit' value='Delete' onclick='Limb.Form.submitPopup(this.form, "{$delete_url}");return false;'/>
  40        </form>
  41      </list:LIST>
  42    </core:wrap>
  43  
  44  
  45  </core:wrap>
  46  </core:wrap>


Generated: Fri Dec 5 04:05:07 2008 Cross-referenced by PHPXref 0.7