[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 {strip} 13 <div class="modelContainer"> 14 <div class="modal-header"> 15 <button data-dismiss="modal" class="close" title="{vtranslate('LBL_CLOSE')}">x</button> 16 <h3>{vtranslate($RECORD_MODEL->get('name'), $QUALIFIED_MODULE)}</h3> 17 </div> 18 <form class="form-horizontal" id="cronJobSaveAjax" method="post" action="index.php"> 19 <input type="hidden" name="module" value="{$MODULE}" /> 20 <input type="hidden" name="parent" value="Settings" /> 21 <input type="hidden" name="action" value="SaveAjax" /> 22 <input type="hidden" name="record" value="{$RECORD}" /> 23 <input type="hidden" id="minimumFrequency" value="{$RECORD_MODEL->getMinimumFrequency()}" /> 24 <input type="hidden" id="frequency" name="frequency" value="" /> 25 26 <div class="modal-body tabbable"> 27 <div class="control-group"> 28 <div class="control-label">{vtranslate('LBL_STATUS',$QUALIFIED_MODULE)}</div> 29 <div class="controls"> 30 <select class="chzn-select" name="status"> 31 <optgroup> 32 <option {if $RECORD_MODEL->get('status') eq 1} selected="" {/if} value="1">{vtranslate('LBL_ACTIVE',$QUALIFIED_MODULE)}</option> 33 <option {if $RECORD_MODEL->get('status') eq 0} selected="" {/if} value="0">{vtranslate('LBL_INACTIVE',$QUALIFIED_MODULE)}</option> 34 </optgroup> 35 </select> 36 </div> 37 </div> 38 <div class="control-group"> 39 <div class="control-label"> 40 {vtranslate('Frequency',$QUALIFIED_MODULE)} 41 </div> 42 <div class="controls row-fluid"> 43 {assign var=VALUES value=':'|explode:$RECORD_MODEL->getDisplayValue('frequency')} 44 {if $VALUES[0] == '00' && $VALUES[1] == '00'} 45 {assign var=MINUTES value="true"} 46 {assign var=FIELD_VALUE value=$VALUES[1]} 47 {elseif $VALUES[0] == '00'} 48 {assign var=MINUTES value="true"} 49 {assign var=FIELD_VALUE value=$VALUES[1]} 50 {elseif $VALUES[1] == '00'} 51 {assign var=MINUTES value="false"} 52 {assign var=FIELD_VALUE value=($VALUES[0])} 53 {else} 54 {assign var=MINUTES value="true"} 55 {assign var=FIELD_VALUE value=($VALUES[0]*60)+$VALUES[1]} 56 {/if} 57 <input type="text" class="span2" value="{$FIELD_VALUE}" data-validation-engine="validate[required,funcCall[Vtiger_WholeNumberGreaterThanZero_Validator_Js.invokeValidation]]" id="frequencyValue"/> 58 <select class="chzn-select span5" id="time_format"> 59 <optgroup> 60 <option value="mins" {if $MINUTES eq 'true'} selected="" {/if}>{vtranslate(LBL_MINUTES,$QUALIFIED_MODULE)}</option> 61 <option value="hours" {if $MINUTES eq 'false'}selected="" {/if}>{vtranslate(LBL_HOURS,$QUALIFIED_MODULE)}</option> 62 </optgroup> 63 </select> 64 </div> 65 </div> 66 <div class="alert alert-info">{vtranslate($RECORD_MODEL->get('description'),$QUALIFIED_MODULE)}</div> 67 </div> 68 {include file='ModalFooter.tpl'|@vtemplate_path:$MODULE} 69 </form> 70 </div> 71 {/strip}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |