[ 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('LBL_RENAME_PICKLIST_ITEM', $QUALIFIED_MODULE)}</h3> 17 </div> 18 <form id="renameItemForm" class="form-horizontal" 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="source_module" value="{$SOURCE_MODULE}" /> 22 <input type="hidden" name="action" value="SaveAjax" /> 23 <input type="hidden" name="mode" value="rename" /> 24 <input type="hidden" name="picklistName" value="{$FIELD_MODEL->get('name')}" /> 25 <input type="hidden" name="pickListValues" value='{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($SELECTED_PICKLISTFIELD_EDITABLE_VALUES))}' /> 26 <div class="modal-body tabbable"> 27 <div class="control-group"> 28 <div class="control-label">{vtranslate('LBL_ITEM_TO_RENAME',$QUALIFIED_MODULE)}</div> 29 <div class="controls"> 30 {assign var=PICKLIST_VALUES value=$SELECTED_PICKLISTFIELD_EDITABLE_VALUES} 31 <select class="chzn-select" name="oldValue"> 32 <optgroup> 33 {foreach from=$PICKLIST_VALUES key=PICKLIST_VALUE_KEY item=PICKLIST_VALUE} 34 <option {if $FIELD_VALUE eq $PICKLIST_VALUE} selected="" {/if}value="{Vtiger_Util_Helper::toSafeHTML($PICKLIST_VALUE)}" data-id={$PICKLIST_VALUE_KEY}>{vtranslate($PICKLIST_VALUE,$SOURCE_MODULE)}</option> 35 {/foreach} 36 </optgroup> 37 </select> 38 </div><br> 39 <div class="control-label"><span class="redColor">*</span>{vtranslate('LBL_ENTER_NEW_NAME',$QUALIFIED_MODULE)}</div> 40 <div class="controls"><input type="text" data-validation-engine="validate[required, funcCall[Vtiger_Base_Validator_Js.invokeValidation]]" data-validator={Zend_Json::encode([['name'=>'FieldLabel']])} name="newValue"></div> 41 {if $SELECTED_PICKLISTFIELD_NON_EDITABLE_VALUES} 42 <br> 43 <div class="control-label">{vtranslate('LBL_NON_EDITABLE_PICKLIST_VALUES',$QUALIFIED_MODULE)}</div> 44 <div class="controls nonEditableValuesDiv"> 45 <ul class="nonEditablePicklistValues" style="list-style-type: none;"> 46 {foreach from=$SELECTED_PICKLISTFIELD_NON_EDITABLE_VALUES key=NON_EDITABLE_VALUE_KEY item=NON_EDITABLE_VALUE} 47 <li>{vtranslate($NON_EDITABLE_VALUE,$SOURCE_MODULE)}</li> 48 {/foreach} 49 </ul> 50 </div> 51 {/if} 52 </div> 53 </div> 54 {include file='ModalFooter.tpl'|@vtemplate_path:$qualifiedName} 55 </form> 56 </div> 57 {/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 |