[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

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

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


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