<?php /* Smarty version 2.6.18, created on 2014-05-14 11:23:52 compiled from SetMenu.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('modifier', 'getTranslatedString', 'SetMenu.tpl', 30, false),array('modifier', 'vtiger_imageurl', 'SetMenu.tpl', 65, false),)), $this); ?> <?php //add the settings page values $this->assign("BLOCKS",getSettingsBlocks()); $this->assign("FIELDS",getSettingsFields()); ?> <table border=0 cellspacing=0 cellpadding=20 width="99%" class="settingsUI"> <tr> <td valign=top> <table border=0 cellspacing=0 cellpadding=0 width=100%> <tr> <td valign=top id="settingsSideMenu" width="10%" > <!--Left Side Navigation Table--> <table border=0 cellspacing=0 cellpadding=0 width="100%"> <?php $_from = $this->_tpl_vars['BLOCKS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['BLOCKID'] => $this->_tpl_vars['BLOCKLABEL']): ?> <?php if ($this->_tpl_vars['BLOCKLABEL'] != 'LBL_MODULE_MANAGER'): ?> <?php $this->assign('blocklabel', getTranslatedString($this->_tpl_vars['BLOCKLABEL'], 'Settings')); ?> <tr> <td class="settingsTabHeader" nowrap> <?php echo $this->_tpl_vars['blocklabel']; ?> </td> </tr> <?php $_from = $this->_tpl_vars['FIELDS'][$this->_tpl_vars['BLOCKID']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['data']):
/********************************************************************************* ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("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. * ********************************************************************************/ require_once 'Smarty_setup.php'; require_once 'include/utils/utils.php'; global $mod_strings; global $app_strings; global $app_list_strings; global $theme, $adb; $theme_path = "themes/" . $theme . "/"; $image_path = $theme_path . "images/"; $smarty = new vtigerCRM_Smarty(); $smarty->assign("APP", $app_strings); $smarty->assign("MODULE", 'Settings'); $smarty->assign("CATEGORY", 'Settings'); $smarty->assign("MOD", $mod_strings); $smarty->assign("THEME", $theme); $smarty->assign("IMAGE_PATH", $image_path); $smarty->assign("IMAGES", "themes/images/"); $smarty->assign("BLOCKS", getSettingsBlocks()); $smarty->assign("FIELDS", getSettingsFields()); $smarty->assign("NUMBER_OF_COLUMNS", 4); //this is the number of columns in the settings page $smarty->display("Settings.tpl");