{*+********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.1 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. ************************************************************************************} {* modules/Settings/Picklist/views/IndexAjax.php *} {* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *} {strip} {assign var=PICKLIST_COLOR_MAP value=Settings_Picklist_Module_Model::getPicklistColorMap($SELECTED_PICKLIST_FIELDMODEL->getName())} {assign var=NON_DELETABLE_VALUES value=$SELECTED_PICKLIST_FIELDMODEL->getNonEditablePicklistValues($SELECTED_PICKLIST_FIELDMODEL->getName())}

{assign var=PICKLIST_VALUES value=$SELECTED_PICKLISTFIELD_ALL_VALUES} {foreach key=PICKLIST_KEY item=PICKLIST_VALUE from=$PICKLIST_VALUES} {/foreach}    
{vtranslate($SELECTED_PICKLIST_FIELDMODEL->get('label'),$SELECTED_MODULE_NAME)} {vtranslate('LBL_ITEMS',$QUALIFIED_MODULE)}

   {vtranslate($PICKLIST_VALUE,$SELECTED_MODULE_NAME)}     {if !in_array($PICKLIST_VALUE, $NON_DELETABLE_VALUES)} {/if}

{if $SELECTED_PICKLIST_FIELDMODEL->isRoleBased()}
{/if}
{/strip}