[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Settings/Workflows/ -> Step2.tpl (source)

   1  {*+***********************************************************************************
   2   * The contents of this file are subject to the vtiger CRM Public License Version 1.0
   3   * ("License"); You may not use this file except in compliance with the License
   4   * The Original Code is:  vtiger CRM Open Source
   5   * The Initial Developer of the Original Code is vtiger.
   6   * Portions created by vtiger are Copyright (C) vtiger.
   7   * All Rights Reserved.
   8   *************************************************************************************}
   9  {strip}
  10      <form name="EditWorkflow" action="index.php" method="post" id="workflow_step2" class="form-horizontal" >
  11          <input type="hidden" name="module" value="Workflows" />
  12          <input type="hidden" name="action" value="Save" />
  13          <input type="hidden" name="parent" value="Settings" />
  14          <input type="hidden" class="step" value="2" />
  15          <input type="hidden" name="summary" value="{$WORKFLOW_MODEL->get('summary')}" />
  16          <input type="hidden" name="record" value="{$WORKFLOW_MODEL->get('record')}" />
  17          <input type="hidden" name="module_name" value="{$WORKFLOW_MODEL->get('module_name')}" />
  18          <input type="hidden" name="execution_condition" value="{$WORKFLOW_MODEL->get('execution_condition')}" />
  19          <input type="hidden" name="conditions" id="advanced_filter" value='' />
  20          <input type="hidden" id="olderConditions" value='{ZEND_JSON::encode($WORKFLOW_MODEL->get('conditions'))}' />
  21          <input type="hidden" name="filtersavedinnew" value="{$WORKFLOW_MODEL->get('filtersavedinnew')}" />
  22          <input type="hidden" name="schtypeid" value="{$WORKFLOW_MODEL->get('schtypeid')}" />
  23          <input type="hidden" name="schtime" value="{$WORKFLOW_MODEL->get('schtime')}" />
  24          <input type="hidden" name="schdate" value={$WORKFLOW_MODEL->get('schdate')} />
  25          <input type="hidden" name="schdayofweek" value={Zend_Json::encode($WORKFLOW_MODEL->get('schdayofweek'))} />
  26          <input type="hidden" name="schdayofmonth" value={Zend_Json::encode($WORKFLOW_MODEL->get('schdayofmonth'))} />
  27          <input type="hidden" name="schannualdates" value={Zend_Json::encode($WORKFLOW_MODEL->get('schannualdates'))} />
  28          <div class="row-fluid" style="border:1px solid #ccc;">
  29                  {if $IS_FILTER_SAVED_NEW == false}
  30                      <div class="alert alert-info">
  31                          {vtranslate('LBL_CREATED_IN_OLD_LOOK_CANNOT_BE_EDITED',$QUALIFIED_MODULE)}
  32                      </div>
  33                      <div class="row-fluid">
  34                          <span class="span6"><input type="radio" name="conditionstype" class="alignMiddle" checked=""/>&nbsp;&nbsp;<span class="alignMiddle">{vtranslate('LBL_USE_EXISTING_CONDITIONS',$QUALIFIED_MODULE)}</span></span>
  35                          <span class="span6"><input type="radio" id="enableAdvanceFilters" name="conditionstype" class="alignMiddle recreate"/>&nbsp;&nbsp;<span class="alignMiddle">{vtranslate('LBL_RECREATE_CONDITIONS',$QUALIFIED_MODULE)}</span></span>
  36                      </div><br>
  37                  {/if}
  38                  <div id="advanceFilterContainer" {if $IS_FILTER_SAVED_NEW == false} class="zeroOpacity conditionsContainer padding1per" {else} class="conditionsContainer padding1per" {/if}>
  39                      <h5 class="padding-bottom1per"><strong>{vtranslate('LBL_CHOOSE_FILTER_CONDITIONS',$MODULE)}</strong></h5>
  40                      <span class="span10" >
  41                          {include file='AdvanceFilter.tpl'|@vtemplate_path RECORD_STRUCTURE=$RECORD_STRUCTURE}
  42                      </span>
  43                      {include file="FieldExpressions.tpl"|@vtemplate_path:$QUALIFIED_MODULE EXECUTION_CONDITION=$WORKFLOW_MODEL->get('execution_condition')}
  44                  </div>
  45              </div><br>
  46              <div class="pull-right">
  47                  <button class="btn btn-danger backStep" type="button"><strong>{vtranslate('LBL_BACK', $QUALIFIED_MODULE)}</strong></button>&nbsp;&nbsp;
  48                  <button class="btn btn-success" type="submit"><strong>{vtranslate('LBL_NEXT', $QUALIFIED_MODULE)}</strong></button>
  49                  <a class="cancelLink" type="reset" onclick="javascript:window.history.back();">{vtranslate('LBL_CANCEL', $QUALIFIED_MODULE)}</a>
  50              </div>
  51              <br><br>
  52  
  53      </form>
  54  {/strip}


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1