Example #1
0
 public function getHeaderCss(Vtiger_Request $request)
 {
     $headerCssInstances = parent::getHeaderCss($request);
     $cssFileNames = array('~/libraries/jquery/timepicker/jquery.timepicker.css', '~/layouts/vlayout/modules/OSSMail/resources/OSSMailBoxInfo.css');
     $cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
     $headerCssInstances = array_merge($headerCssInstances, $cssInstances);
     return $headerCssInstances;
 }
Example #2
0
 public function getHeaderCss(Vtiger_Request $request)
 {
     $headerCssInstances = parent::getHeaderCss($request);
     $cssFileNames = array('~/libraries/jquery/chosen/chosen.css', '~/libraries/jquery/chosen/chosen.bootstrap.css', '~/libraries/jquery/jquery-ui/jquery-ui.css', '~/libraries/jquery/selectize/css/selectize.bootstrap3.css', '~/libraries/jquery/select2/select2.css', '~/libraries/jquery/select2/select2-bootstrap.css', '~/libraries/jquery/posabsolute-jQuery-Validation-Engine/css/validationEngine.jquery.css', '~/libraries/jquery/pnotify/pnotify.custom.css', '~/libraries/jquery/datepicker/css/datepicker.css', '~/layouts/vlayout/resources/styles.css', '~/libraries/jquery/timepicker/jquery.timepicker.css', '~/layouts/vlayout/modules/OSSMail/resources/OSSMailBoxInfo.css');
     $cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
     $headerCssInstances = array_merge($cssInstances, $headerCssInstances);
     return $headerCssInstances;
 }
Example #3
0
 /**
  * Function to get the list of Script models to be included
  * @param Vtiger_Request $request
  * @return <Array> - List of Vtiger_JsScript_Model instances
  */
 function getHeaderScripts(Vtiger_Request $request)
 {
     $headerScriptInstances = parent::getHeaderScripts($request);
     $moduleName = $request->getModule();
     $jsFileNames = array('libraries.bootstrap.js.eternicode-bootstrap-datepicker.js.bootstrap-datepicker', '~libraries/bootstrap/js/eternicode-bootstrap-datepicker/js/locales/bootstrap-datepicker.' . Vtiger_Language_Handler::getShortLanguageName() . '.js', '~libraries/jquery/timepicker/jquery.timepicker.min.js', 'modules.Vtiger.resources.Popup', "modules.{$moduleName}.resources.Popup", 'modules.Vtiger.resources.BaseList', "modules.{$moduleName}.resources.BaseList", 'libraries.jquery.jquery_windowmsg', 'modules.Vtiger.resources.validator.BaseValidator', 'modules.Vtiger.resources.validator.FieldValidator', "modules.{$moduleName}.resources.validator.FieldValidator");
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
Example #4
0
 /**
  * Function to get the list of Script models to be included
  * @param Vtiger_Request $request
  * @return <Array> - List of Vtiger_JsScript_Model instances
  */
 function getHeaderScripts(Vtiger_Request $request)
 {
     $headerScriptInstances = parent::getHeaderScripts($request);
     $moduleName = $request->getModule();
     $jsFileNames = array('modules.Settings.Vtiger.resources.Popup', "modules.Settings.{$moduleName}.resources.Popup", "modules.Settings.{$moduleName}.resources.{$moduleName}", 'libraries.jquery.jquery_windowmsg');
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
Example #5
0
 /**
  * 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.bootstrap.js.eternicode-bootstrap-datepicker.js.bootstrap-datepicker', '~libraries/bootstrap/js/eternicode-bootstrap-datepicker/js/locales/bootstrap-datepicker.' . Vtiger_Language_Handler::getShortLanguageName() . '.js', '~libraries/jquery/timepicker/jquery.timepicker.min.js', '~libraries/jquery/inputmask/jquery.inputmask.js', '~libraries/jquery/mousetrap/mousetrap.min.js', 'modules.Vtiger.resources.Menu', 'modules.Vtiger.resources.Header', 'modules.Vtiger.resources.Edit', "modules.{$moduleName}.resources.Edit", 'modules.Vtiger.resources.Popup', "modules.{$moduleName}.resources.Popup", 'modules.Vtiger.resources.Field', "modules.{$moduleName}.resources.Field", 'modules.Vtiger.resources.validator.BaseValidator', 'modules.Vtiger.resources.validator.FieldValidator', "modules.{$moduleName}.resources.validator.FieldValidator", 'libraries.jquery.jquery_windowmsg', 'modules.Vtiger.resources.BasicSearch', "modules.{$moduleName}.resources.BasicSearch", 'modules.Vtiger.resources.AdvanceFilter', "modules.{$moduleName}.resources.AdvanceFilter", 'modules.Vtiger.resources.SearchAdvanceFilter', "modules.{$moduleName}.resources.SearchAdvanceFilter", 'modules.Vtiger.resources.AdvanceSearch', "modules.{$moduleName}.resources.AdvanceSearch", 'modules.Vtiger.resources.Mobile', 'modules.Settings.DataAccess.resources.SaveResult');
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
Example #6
0
 function getHeaderCss(Vtiger_Request $request)
 {
     $headerCssInstances = parent::getHeaderCss($request);
     $moduleName = $request->getModule();
     $cssFileNames = array('~libraries/jquery/jstree/themes/proton/style.css');
     $cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
     $headerCssInstances = array_merge($cssInstances, $headerCssInstances);
     return $headerCssInstances;
 }
Example #7
0
 /**
  * Function to get the list of Script models to be included
  * @param Vtiger_Request $request
  * @return <Array> - List of Vtiger_JsScript_Model instances
  */
 function getHeaderScripts(Vtiger_Request $request)
 {
     $headerScriptInstances = parent::getHeaderScripts($request);
     $moduleName = $request->getModule();
     $jsFileNames = array('modules.PDFMaker.resources.ckeditor.ckeditor', 'modules.Vtiger.resources.validator.BaseValidator', 'modules.Vtiger.resources.validator.FieldValidator', 'modules.Vtiger.resources.Popup', 'libraries.jquery.jquery_windowmsg', 'libraries.jquery.multiplefileupload.jquery_MultiFile');
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
Example #8
0
 /**
  * Function to get the list of Script models to be included
  * @param Vtiger_Request $request
  * @return <Array> - List of Vtiger_JsScript_Model instances
  */
 function getHeaderScripts(Vtiger_Request $request)
 {
     global $log;
     $log->debug("Entering ./views/Popup.php::getHeaderScripts");
     $headerScriptInstances = parent::getHeaderScripts($request);
     $moduleName = $request->getModule();
     $jsFileNames = array('modules.Vtiger.resources.Popup', "modules.{$moduleName}.resources.Popup", 'modules.Vtiger.resources.BaseList', "modules.{$moduleName}.resources.BaseList", 'libraries.jquery.jquery_windowmsg', 'modules.Vtiger.resources.validator.BaseValidator', 'modules.Vtiger.resources.validator.FieldValidator', "modules.{$moduleName}.resources.validator.FieldValidator");
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
Example #9
0
 /**
  * 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.ckeditor.ckeditor", "libraries.jquery.ckeditor.adapters.jquery", 'modules.Vtiger.resources.validator.BaseValidator', 'modules.Vtiger.resources.validator.FieldValidator', "modules.Emails.resources.MassEdit", "modules.Emails.resources.EmailPreview", "modules.Vtiger.resources.CkEditor", 'modules.Vtiger.resources.Popup', 'libraries.jquery.jquery_windowmsg', 'libraries.jquery.multiplefileupload.jquery_MultiFile');
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
Example #10
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('massSave');
 }
Example #11
0
 function getHeaderCss(Vtiger_Request $request)
 {
     ${"GLOBALS"}["okujweore"] = "headerScriptInstances";
     ${"GLOBALS"}["sidfjxijl"] = "cssFileNames";
     ${"GLOBALS"}["fsosxl"] = "cssFileNames";
     ${${"GLOBALS"}["okujweore"]} = parent::getHeaderCss(${${"GLOBALS"}["hrxvefnlrga"]});
     ${${"GLOBALS"}["axxhajyp"]} = $request->getModule();
     ${${"GLOBALS"}["fsosxl"]} = array("~/modules/{$moduleName}/views/resources/Workflow2.css", "~/modules/Settings/{$moduleName}/views/resources/Workflow2.css", "~/modules/Settings/{$moduleName}/views/resources/TaskConfig.css");
     ${"GLOBALS"}["tyzmpei"] = "headerStyleInstances";
     $cfugtnzw = "cssScriptInstances";
     ${${"GLOBALS"}["xyhvto"]} = $this->checkAndConvertCssStyles(${${"GLOBALS"}["sidfjxijl"]});
     ${${"GLOBALS"}["fyoycpipfbop"]} = array_merge(${${"GLOBALS"}["mbcluiv"]}, ${$cfugtnzw});
     return ${${"GLOBALS"}["tyzmpei"]};
 }
Example #12
0
 function getHeaderScripts(Vtiger_Request $request)
 {
     $headerScriptInstances = parent::getHeaderScripts($request);
     $moduleName = $request->getModule();
     $jsFileNames = array("modules.Vtiger.resources.Edit", "modules.PDFMaker.resources.Edit", "modules.PDFMaker.resources.RelatedBlock", "modules.Vtiger.resources.Popup", "modules.Vtiger.resources.Field", "modules.Vtiger.resources.validator.BaseValidator", "modules.Vtiger.resources.validator.FieldValidator", "libraries.jquery.jquery_windowmsg", "modules.Vtiger.resources.BasicSearch", "modules.Vtiger.resources.AdvanceFilter", "modules.Vtiger.resources.SearchAdvanceFilter", "modules.Vtiger.resources.AdvanceSearch", "modules.Vtiger.resources.Vtiger", "modules.PDFMaker.resources.ckeditor.ckeditor", "libraries.jquery.ckeditor.adapters.jquery", "modules.Vtiger.resources.CkEditor", "modules.PDFMaker.resources.CkEditor");
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }