[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/toolbar/full/ -> create_object.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <div class="toolbar-item {$placement}">
   3      {section show=or($show_subtree|count_chars()|eq(0),
   4                       fetch(content, node, hash( node_id, $module_result.node_id ) ).path_string|contains( concat( '/', $show_subtree, '/' ) ),
   5                       $requested_uri_string|begins_with( $show_subtree ))}
   6      {let parent_node=fetch( content, node, hash( node_id, $placement_node ) )}
   7      {section show=fetch( content, access, hash( access, 'create',
   8                                                  contentobject, $parent_node,
   9                                                  contentclass_id, $type_classidentifier ) )}
  10  
  11      <div class="toolbox">
  12          <div class="toolbox-design">
  13              <h2>{$title|wash}</h2>
  14  
  15              <div class="toolbox-content">
  16              <form method="post" action={"content/action/"|ezurl}>
  17                  <input class="button new-object-{$type_classidentifier|wash}" type="submit" name="NewButton" value="{$title|wash}" />
  18                  <input type="hidden" name="NodeID" value="{$placement_node|wash}" />
  19                  <input type="hidden" name="ClassIdentifier" value="{$type_classidentifier|wash}" />
  20               </form>
  21               </div>
  22  
  23          </div>
  24      </div>
  25  
  26      {/section}
  27      {/let}
  28      {/section}
  29  </div>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7