[ 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/content/collectedinfo/ -> poll.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {set-block scope=global variable=title}{'Poll %pollname'|i18n('design/standard/content/poll',,hash('%pollname',$node.name|wash))}{/set-block}
   3  
   4  <h1>{'Poll results'|i18n( 'design/standard/content/poll' )}</h1>
   5  
   6  {section show=$error}
   7  
   8  {section show=$error_anonymous_user}
   9  <div class="warning">
  10      <p>{'Anonymous users are not allowed to vote on this poll, please login.'|i18n('design/standard/content/poll')}</p>
  11  </div>
  12  {/section}
  13  
  14  {section show=$error_existing_data}
  15  <div class="warning">
  16      <p>{'You have already voted for this poll.'|i18n('design/standard/content/poll')}</p>
  17  </div>
  18  {/section}
  19  
  20  {/section}
  21  
  22  <h2>{$node.name|wash}</h2>
  23  
  24  {section loop=$object.contentobject_attributes}
  25      {section show=$:item.contentclass_attribute.is_information_collector}
  26  
  27          <h3>{$:item.contentclass_attribute.name}</h3>
  28          {attribute_result_gui view=count attribute=$:item}
  29  
  30      {section-else}
  31  
  32          {section show=$attribute_hide_list|contains($:item.contentclass_attribute.identifier)|not}
  33              <h3>{$:item.contentclass_attribute.name}</h3>
  34              {attribute_view_gui attribute=$:item}
  35          {/section}
  36  
  37      {/section}
  38  
  39  {/section}
  40  
  41  <br/>
  42  
  43  {"%count total votes"|i18n( 'design/standard/content/poll' ,,
  44                               hash( '%count', fetch( content, collected_info_count, hash( object_id, $object.id ) ) ) )}


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