[ 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 modal basicAssignValueToRoleView'> 14 <div class="modal-header"> 15 <button data-dismiss="modal" class="close" title="{vtranslate('LBL_CLOSE')}">x</button> 16 <h3>{vtranslate('LBL_ASSIGN_VALUES_TO_ROLES', $QUALIFIED_MODULE)}</h3> 17 </div> 18 <form id="assignValueToRoleForm" 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="{$SELECTED_MODULE_NAME}" /> 22 <input type="hidden" name="action" value="SaveAjax" /> 23 <input type="hidden" name="mode" value="assignValueToRole" /> 24 <input type="hidden" name="picklistName" value="{$SELECTED_PICKLIST_FIELDMODEL->get('name')}" /> 25 <input type="hidden" name="pickListValues" value='{ZEND_JSON::encode($SELECTED_PICKLISTFIELD_ALL_VALUES)}' /> 26 <div class="modal-body tabbable"> 27 <div class="control-group"> 28 <div class="control-label"><span class="redColor">*</span>{vtranslate('LBL_ITEM_VALUE',$QUALIFIED_MODULE)}</div> 29 <div class="controls"> 30 <select multiple class="select2" id="assignValues" style="min-width: 220px" name="assign_values[]"> 31 {foreach key=PICKLIST_KEY item=PICKLIST_VALUE from=$SELECTED_PICKLISTFIELD_ALL_VALUES} 32 <option value="{$PICKLIST_KEY}">{vtranslate($PICKLIST_VALUE,$SELECTED_MODULE_NAME)}</option> 33 {/foreach} 34 </select> 35 </div> 36 </div> 37 {if $SELECTED_PICKLIST_FIELDMODEL->isRoleBased()} 38 <div class="control-group"> 39 <div class="control-label"><span class="redColor">*</span>{vtranslate('LBL_ASSIGN_TO_ROLE',$QUALIFIED_MODULE)}</div> 40 <div class="controls"> 41 <select class="rolesList select2" id="rolesSelected" name="rolesSelected[]" multiple style="min-width: 220px" data-placeholder="{vtranslate('LBL_CHOOSE_ROLES',$QUALIFIED_MODULE)}"> 42 <option value="all">{vtranslate('LBL_ALL_ROLES',$QUALIFIED_MODULE)}</option> 43 {foreach from=$ROLES_LIST item=ROLE} 44 <option value="{$ROLE->get('roleid')}">{$ROLE->get('rolename')}</option> 45 {/foreach} 46 </select> 47 </div> 48 </div> 49 {/if} 50 </div> 51 {include file='ModalFooter.tpl'|@vtemplate_path:$qualifiedName} 52 </form> 53 </div> 54 {/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 |