[ 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/workflow/ -> edit.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <form action={concat($module.functions.edit.uri,"/",$workflow.id)|ezurl} method="post" name="WorkflowEdit">
   3  
   4  <div class="maincontentheader">
   5  <h1>{"Editing workflow"|i18n("design/standard/workflow")} - {$workflow.name}</h1>
   6  </div>
   7  
   8  {section show=and($validation.processed,$validation.groups)}
   9  <div class="warning">
  10  <h2>{"Input did not validate"|i18n("design/standard/workflow")}</h2>
  11  <ul>
  12  {section var=item loop=$validation.groups}
  13      <li>{$item.text}</li>
  14  {/section}
  15  </ul>
  16  </div>
  17  {/section}
  18  
  19  {section show=$can_store}
  20  <div class="feedback">
  21  <h2>{"Workflow stored"|i18n("design/standard/workflow")}</h2>
  22  </div>
  23  {/section}
  24  {section show=$require_fixup}
  25  <div class="warning">
  26  <h2>{"Data requires fixup"|i18n("design/standard/workflow")}</h2>
  27  </div>
  28  {/section}
  29  
  30  <div class="byline">
  31  <p class="modified">{"Modified by"|i18n("design/standard/workflow")} {content_view_gui view=text_linked content_object=$workflow.creator.contentobject} {"on"|i18n("design/standard/workflow")} {$workflow.modified|l10n(shortdatetime)}</p>
  32  </div>
  33  
  34  <div class="block">
  35  <label>{"Name"|i18n("design/standard/workflow")}</label><div class="labelbreak"></div>
  36  {include uri="design:gui/lineedit.tpl" name=Name id_name=Workflow_name value=$workflow.name}
  37  </div>
  38  
  39  <h2>{"Groups"|i18n("design/standard/workflow")}</h2>
  40  <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0">
  41  {section name=InGroups loop=$workflow.ingroup_list sequence=array(bglight,bgdark)}
  42  <tr>
  43      <td class="{$InGroups:sequence}" width="99%">{$InGroups:item.group_name}</td>
  44      <td class="{$InGroups:sequence}" width="1%"><input type="checkbox" name="group_id_checked[]" value="{$InGroups:item.group_id}"></td>
  45  </tr>
  46  {/section}
  47  <tr>
  48      <td></td>
  49      <td>
  50      {include uri="design:gui/button.tpl" name=DeleteGroup id_name=DeleteGroupButton value='Remove'|i18n('design/standard/workflow')}
  51      </td>
  52  </tr>
  53  </table>
  54  
  55  <div class="buttonblock">
  56  <select name="Workflow_group">
  57  {section name=AllGroup loop=$workflow.group_list}
  58  <option name="Workflow_group[]" value="{$AllGroup:item.id}/{$AllGroup:item.name}">{$AllGroup:item.name}</option>
  59  {/section}
  60  </select>
  61  &nbsp;{include uri="design:gui/button.tpl" name=AddGroup id_name=AddGroupButton value="Add group"|i18n('design/standard/workflow')}
  62  </div>
  63  
  64  <h2>{"Events"|i18n("design/standard/workflow")}</h2>
  65  
  66  <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0">
  67  <tr>
  68      <th width="1%">{"Pos"|i18n("design/standard/workflow")}</th>
  69      <th>{"Description"|i18n("design/standard/workflow")}</th>
  70      <th>{"Type"|i18n("design/standard/workflow")}</th>
  71      <th width="1%" colspan="3">&nbsp;</th>
  72  </tr>
  73  {section name=Event loop=$event_list sequence=array(bglight,bgdark)}
  74  <input type="hidden" name="WorkflowEvent_id[]" value="{$Event:item.id}" />
  75  <input type="hidden" name="WorkflowEvent_placement[]" value="{$Event:item.placement}" />
  76  <tr>
  77      <td class="{$Event:sequence}">{$Event:number}({$Event:item.placement})</td>
  78      <td class="{$Event:sequence}">{include uri="design:gui/lineedit.tpl" name=EventDescription id_name="WorkflowEvent_description[]" value=$Event:item.description}</td>
  79      <td class="{$Event:sequence}">{$Event:item.workflow_type.group_name}/{$Event:item.workflow_type.name}</td>
  80      <td class="{$Event:sequence}"><div class="listbutton"><a href={concat($module.functions.down.uri,"/",$workflow.id,"/",$Event:item.id)|ezurl}><img src={"button-move_down.gif"|ezimage} height="16" width="16" alt="Move down" /></a></div></td>
  81      <td class="{$Event:sequence}"><div class="listbutton"><a href={concat($module.functions.up.uri,"/",$workflow.id,"/",$Event:item.id)|ezurl}><img src={"button-move_up.gif"|ezimage} height="16" width="16" alt="Move up" /></a></div></td>
  82      <td class="{$Event:sequence}"><input type="checkbox" name="WorkflowEvent_id_checked[]" value="{$Event:item.id}" /></td>
  83  </tr>
  84  <tr>
  85      <td class="{$Event:sequence}extra">&nbsp;</td>
  86      <td class="{$Event:sequence}extra" colspan="5">{event_edit_gui event=$Event:item}</td>
  87  </tr>
  88  {/section}
  89  </table>
  90  
  91  
  92  <div class="buttonblock">
  93  {include uri="design:gui/button.tpl" name=New id_name=NewButton value="New"|i18n("design/standard/workflow")}{include uri="design:workflow/workflowtypes.tpl" name=WorkflowTypes id_name=WorkflowTypeString workflowtypes=$workflow_type_list current=$workflow_type}
  94  &nbsp;
  95  {include uri="design:gui/button.tpl" name=Delete id_name=DeleteButton value="Remove"|i18n("design/standard/workflow")}
  96  </div>
  97  
  98  <div class="buttonblock">
  99  {include uri="design:gui/button.tpl" name=Store id_name=StoreButton value="Store"|i18n("design/standard/workflow")}
 100  {* {include uri="design:gui/button.tpl" name=Apply id_name=ApplyButton value=Apply} *}
 101  {include uri="design:gui/button.tpl" name=Discard id_name=DiscardButton value="Discard"|i18n("design/standard/workflow")}
 102  </div>
 103  
 104  </form>


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