/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $jsFileNames = ['modules.Settings.OSSPdf.general']; $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $jsFileNames = array('layouts.vlayout.modules.OSSPasswords.resources.general'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($jsScriptInstances, $headerScriptInstances); return $headerScriptInstances; }
function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array("modules.Settings.{$moduleName}.resources.Colors", "~/libraries/jquery/colorpicker/js/colorpicker.js"); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array('~libraries/jquery/malihu-custom-scrollbar/js/jquery.mCustomScrollbar.concat.min.js'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array('~libraries/jquery/jstree/jstree.min.js'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
public function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array("modules.Settings.{$moduleName}.resources.Index"); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array("modules.Settings.{$moduleName}.resources.LangManagement", '~libraries/jquery/datatables/media/js/jquery.dataTables.min.js', '~libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.min.js', 'modules.Vtiger.resources.dashboards.Widget', '~libraries/jquery/flot/jquery.flot.min.js', '~libraries/jquery/flot/jquery.flot.stack.min.js', '~libraries/jquery/flot/jquery.flot.valuelabels.min.js'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
public function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = ['modules.Settings.Vtiger.resources.Edit', "modules.Settings.{$moduleName}.resources.Edit", "modules.Settings.{$moduleName}.resources.Edit1", "modules.Settings.{$moduleName}.resources.Edit2", "modules.Settings.{$moduleName}.resources.Edit3", "modules.Settings.{$moduleName}.resources.Edit4", 'modules.Vtiger.resources.AdvanceFilter', 'modules.Vtiger.resources.AdvanceFilterEx']; $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array('modules.Settings.Vtiger.resources.Index', "modules.Settings.{$moduleName}.resources.Index", 'modules.Settings.Vtiger.resources.Popup', "modules.Settings.{$moduleName}.resources.Popup", 'libraries.jquery.jquery_windowmsg'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array('modules.Settings.Vtiger.resources.CustomRecordNumbering', 'libraries.jquery.ZeroClipboard.ZeroClipboard', 'modules.Settings.Vtiger.resources.Edit'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
public function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $moduleOssCost = 'modules.' . $moduleName . '.resources.Edit'; unset($headerScriptInstances[$moduleOssCost]); $jsFileNames = array('modules.Inventory.resources.Edit', 'modules.' . $moduleName . '.resources.Edit'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
public function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = [ 'libraries.jquery.ZeroClipboard.ZeroClipboard', 'modules.Settings.Vtiger.resources.Edit', "modules.Settings.$moduleName.resources.Edit", "modules.Settings.$moduleName.resources.Edit1", "modules.Settings.$moduleName.resources.Edit2", "modules.Settings.$moduleName.resources.Edit3", "modules.Settings.$moduleName.resources.Edit4", "modules.Settings.$moduleName.resources.Edit5", "modules.Settings.$moduleName.resources.Edit6", "modules.Settings.$moduleName.resources.Edit7", "modules.Settings.$moduleName.resources.Edit8", 'modules.Vtiger.resources.AdvanceFilter', 'modules.Vtiger.resources.AdvanceFilterEx', ]; $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
public function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array('modules.Settings.Vtiger.resources.Edit', "modules.Settings.{$moduleName}.resources.Edit", "modules.Settings.{$moduleName}.resources.Edit1", "modules.Settings.{$moduleName}.resources.Edit2", "modules.Settings.{$moduleName}.resources.Edit3", "modules.Settings.{$moduleName}.resources.AdvanceFilter", '~libraries/jquery/ckeditor/ckeditor.js', "modules.Vtiger.resources.CkEditor", '~libraries/jquery/jquery.datepick.package-4.1.0/jquery.datepick.js'); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }
/** * Function to get the list of Script models to be included * @param Vtiger_Request $request * @return <Array> - List of Vtiger_JsScript_Model instances */ function getFooterScripts(Vtiger_Request $request) { $headerScriptInstances = parent::getFooterScripts($request); $moduleName = $request->getModule(); $jsFileNames = array( 'modules.Vtiger.resources.List', 'modules.Settings.Vtiger.resources.List', "modules.Settings.$moduleName.resources.List", "modules.Settings.Vtiger.resources.$moduleName", ); $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames); $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances); return $headerScriptInstances; }