[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/cms/template/admin_tree/ -> display.html (source)

   1  <core:wrap file="_cms/page.html" in="content_zone">
   2  
   3  <ar:fetch using='limb/cms/src/model/lmbCmsNode' find='requested'/>
   4  
   5  <h1>Site structure</h1>
   6  
   7  <core:datasource id='node'>
   8  
   9  You are here: <route_url params='controller:admin_tree'>Site tree</route_url>&gt;&gt;
  10  <list:list from='parents'>
  11  <list:item><core:optional for='identifier'><route_url params='id:{$id}'>{$title}</route_url> &gt;&gt;</core:optional></list:item>
  12  </list:list>
  13  <b>{$title}</b><br/>
  14  
  15  <core:optional for='id'>
  16    Current node path: <b>{$url_path}</b><br/>
  17  </core:optional>
  18  <route_url params="action:create_node" extra='?popup=1&parent={$id}'>
  19    <img src='/shared/cms/images/icons/create_object.gif' width='24' height='24' alt='Create' />
  20  </route_url>
  21  
  22  <form name='list_form' method='post'>
  23  
  24  <list:list from='kids'>
  25  <table cellpadding="0" cellspacing="0" class='list'>
  26    <thead>
  27     <tr>
  28       <th><input type='checkbox' onclick='MarkAll(checked);' name='mark_all' /></th>
  29       <th>Title</th>
  30       <th>Identifier</th>
  31       <th>Actions</th>
  32     </tr>
  33    </thead>
  34    <list:item>
  35      <tr>
  36        <td><input type='checkbox' name='ids[]' value='{$id}' class='input' runat='client'/></td>
  37        <td><route_url params="id:{$id}">{$title}</route_url></td>
  38        <td>{$identifier}</td>
  39        <td><route_url params="action:edit_node,id:{$id}" extra='?popup=1'><img src='/shared/cms/images/icons/edit.gif' width='24' height='24' alt='Edit' /></route_url>
  40            <route_url params="action:delete" extra='?popup=1&ids[]={$id}'><img src='/shared/cms/images/icons/delete.gif' width='24' height='24' alt='Delete' /></route_url>
  41        </td>
  42      </tr>
  43    </list:item>
  44  </table>
  45    <br/>
  46    <route_url_set field='delete_url' params="action:delete" />
  47    <input type='submit' value='Delete' onclick='Limb.Form.submitPopup(this.form, "{$delete_url}");return false;'/>
  48  
  49    <route_url_set field='move_url' params="action:move,id:{$id}" />
  50    <input type='submit' value='Move' onclick='Limb.Form.submitPopup(this.form, "{$move_url}");return false;'/>
  51  </list:list>
  52  
  53  </form>
  54  
  55  </core:datasource>
  56  
  57  </core:wrap>


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