[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/design/admin/templates/notification/handler/ezcollaboration/settings/ -> edit.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {let handlers=$handler.collaboration_handlers
   3       selection=$handler.collaboration_selections}
   4  
   5  <div class="block">
   6  <fieldset>
   7      <legend>{"Collaboration notification"|i18n("design/admin/notification/collaboration")}</legend>
   8  
   9  <p>{"Choose which collaboration items you wish to get notifications for."|i18n("design/admin/notification/collaboration")}</p>
  10  
  11  <input type="hidden" name="CollaborationHandlerSelection" value="1" />
  12  
  13  {section name=Handlers loop=$handlers}
  14      {let types=$:item.notification_types}
  15          {section show=or($:types,$:types|gt(0))}
  16              {section show=is_array($:types)}
  17                          <h3>{$:item.info.type-name|wash}</h3>
  18                  {section name=Types loop=$:types}
  19                  <label><input type="checkbox" name="CollaborationHandlerSelection_{$handler.id_string}[]"
  20                                                       value="{$Handlers:item.info.type-identifier}_{$:item.value}"
  21                                                       {section show=$selection|contains(concat($Handlers:item.info.type-identifier,'_',$:item.value))}checked="checked"{/section} />
  22  {$:item.name|wash}</label>
  23                  {/section}
  24              {section-else}
  25                 <label><input type="checkbox" name="CollaborationHandlerSelection_{$handler.id_string}[]"
  26                                                   value="{$Handlers:item.info.type-identifier}"
  27                                                   {section show=$selection|contains($Handlers:item.info.type-identifier)}checked="checked"{/section} />
  28  {$:item.info.type-name|wash}</label>
  29  
  30              {/section}
  31  
  32          {section-else}
  33  
  34          {/section}
  35      {/let}
  36  {/section}
  37  </fieldset>
  38  </div>
  39  {/let}


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