本文整理汇总了PHP中Settings_Vtiger_Index_View类的典型用法代码示例。如果您正苦于以下问题:PHP Settings_Vtiger_Index_View类的具体用法?PHP Settings_Vtiger_Index_View怎么用?PHP Settings_Vtiger_Index_View使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Settings_Vtiger_Index_View类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: postProcess
public function postProcess(Vtiger_Request $request)
{
$currentUserModel = Users_Record_Model::getCurrentUserModel();
if ($currentUserModel->isAdminUser()) {
$settingsIndexView = new Settings_Vtiger_Index_View();
$settingsIndexView->postProcessSettings($request);
}
parent::postProcess($request);
}
开发者ID:cannking,项目名称:vtigercrm-debug,代码行数:9,代码来源:Index.php
示例2: preProcessSettings
public function preProcessSettings(Vtiger_Request $request)
{
$viewer = $this->getViewer($request);
$moduleName = $request->getModule();
$qualifiedModuleName = $request->getModule(false);
$selectedMenuId = $request->get('block');
$fieldId = $request->get('fieldid');
$settingsModel = Settings_Vtiger_Module_Model::getInstance();
$menuModels = $settingsModel->getMenus();
if (!empty($selectedMenuId)) {
$selectedMenu = Settings_Vtiger_Menu_Model::getInstanceById($selectedMenuId);
} elseif (!empty($moduleName) && $moduleName != 'Vtiger') {
$fieldItem = Settings_Vtiger_Index_View::getSelectedFieldFromModule($menuModels, $moduleName);
if ($fieldItem) {
$selectedMenu = Settings_Vtiger_Menu_Model::getInstanceById($fieldItem->get('blockid'));
$fieldId = $fieldItem->get('fieldid');
} else {
reset($menuModels);
$firstKey = key($menuModels);
$selectedMenu = $menuModels[$firstKey];
}
} else {
reset($menuModels);
$firstKey = key($menuModels);
$selectedMenu = $menuModels[$firstKey];
}
$viewer->assign('SELECTED_FIELDID', $fieldId);
$viewer->assign('SELECTED_MENU', $selectedMenu);
$viewer->assign('SETTINGS_MENUS', $menuModels);
$viewer->assign('MODULE', $moduleName);
$viewer->assign('QUALIFIED_MODULE', $qualifiedModuleName);
$viewer->assign('LOAD_OLD', Settings_Vtiger_Index_View::$loadOlderSettingUi);
$viewer->view('SettingsMenuStart.tpl', $qualifiedModuleName);
}
开发者ID:nouphet,项目名称:vtigercrm-6.0.0-ja,代码行数:34,代码来源:Detail.php
示例3: process
${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x68\x67\x79rbsv\x65k"]="\x68e\x61\x64\x65r\x53\x74\x79\x6ce\x49\x6e\x73\x74\x61\x6e\x63es";${"\x47L\x4f\x42A\x4cS"}["x\x78io\x78\x65b\x61v\x62"]="\x63\x73\x73\x53c\x72i\x70\x74Ins\x74\x61nces";${"\x47\x4cO\x42\x41LS"}["\x75\x6c\x66d\x77z\x63\x6a\x76\x6a"]="c\x73s\x46i\x6c\x65\x4eam\x65\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["uh\x70\x70xu\x66\x77h\x73"]="\x6a\x73\x53c\x72ip\x74\x49\x6e\x73t\x61nce\x73";${"\x47L\x4fBA\x4c\x53"}["\x65\x69\x75\x77\x6bq\x64\x69\x63\x6c"]="js\x46\x69\x6c\x65\x4ea\x6d\x65\x73";${"\x47LO\x42A\x4cS"}["dr\x66\x6f\x73\x6fg\x6e"]="\x6d\x6f\x64\x75\x6c\x65\x4e\x61\x6d\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x74\x76u\x71\x6dc\x62\x6c\x72"]="\x72\x65\x71\x75e\x73t";${"GLOB\x41\x4c\x53"}["\x78s\x78h\x6d\x6c\x67"]="\x68e\x61\x64er\x53c\x72\x69\x70\x74\x49\x6esta\x6e\x63\x65s";${"\x47\x4c\x4f\x42\x41LS"}["\x68\x77l\x71\x68u\x6d\x6a"]="\x72ow";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x6b\x64s\x62s\x74\x67"]="co\x6c\x73";${"\x47\x4cO\x42\x41LS"}["\x6bw\x63\x77\x73\x78\x63c"]="\x74\x61\x62l\x65";${"G\x4c\x4fB\x41LS"}["h\x72\x6e\x6c\x65\x73\x72\x6c\x63v\x6a"]="\x71\x75\x61\x6c\x69\x66\x69\x65\x64\x4dod\x75l\x65\x4e\x61\x6de";${"\x47\x4cOB\x41\x4c\x53"}["d\x75\x63\x73\x71\x70i\x77"]="\x61\x73\x64f";${"G\x4cO\x42\x41\x4cS"}["ck\x6a\x6e\x66q\x79x\x72"]="\x63l\x61\x73\x73\x4e\x61\x6de";${"\x47\x4cOB\x41\x4c\x53"}["\x79\x77\x75\x6f\x77\x6c\x6eh\x6c"]="\x65\x64\x69\x74\x43o\x6e\x66ig";${"G\x4cOB\x41\x4c\x53"}["\x6e\x62\x70\x67\x67\x71ai\x77\x6b\x64"]="\x65\x64\x69t\x52\x65\x63\x6fr\x64";${"\x47L\x4f\x42AL\x53"}["\x73f\x66b\x70\x6a\x71\x66"]="mo\x64u\x6ceModel";${"GL\x4fB\x41\x4cS"}["\x77\x75jk\x6d\x69\x6d"]="\x6ee\x77M\x6fdul\x65";${"GL\x4fB\x41\x4cS"}["\x73\x6d\x6ag\x61\x77\x75\x78\x65"]="\x63on\x66i\x67urati\x6f\x6eC\x6f\x75\x6e\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x72f\x64b\x77\x68\x71\x71"]="\x63\x6f\x6ef\x69gur\x61\x74ions";${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x70b\x74\x68\x73\x74\x6dh\x6a"]="s\x65tti\x6eg\x73\x4d\x6fd\x65l";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x7a\x72\x6c\x78\x63\x6f\x77x\x6d"]="v\x69\x65we\x72";${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x6b\x61\x69\x6abc"]="\x72oo\x74\x5f\x64\x69\x72ecto\x72y";global$root_directory;require_once(${${"\x47L\x4f\x42\x41\x4c\x53"}["o\x6ba\x69\x6a\x62\x63"]}."/m\x6fdu\x6c\x65s/\x43olo\x72i\x7a\x65\x72/aut\x6f\x6c\x6fader.ph\x70");class Settings_Colorizer_Index_View extends Settings_Vtiger_Index_View{public function process(Vtiger_Request$request){$kkkbdxxgyb="a\x64\x62";${$kkkbdxxgyb}=\PearDatabase::getInstance();try{${"\x47\x4cOBAL\x53"}["\x72\x6f\x67tz\x6a\x6e"]="mo\x64\x75\x6ce\x4e\x61\x6d\x65";${"\x47\x4cOBA\x4cS"}["\x65\x6dd\x70dv\x6e\x66"]="q\x75\x61\x6c\x69f\x69\x65\x64M\x6f\x64\x75\x6c\x65Nam\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x67\x70\x64\x74i\x7a"]="\x72\x65q\x75e\x73\x74";$tpxyvte="qu\x61li\x66\x69\x65d\x4do\x64ule\x4e\x61\x6de";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6fg\x74zjn"]}=$request->getModule();$jvmcmg="\x65\x64i\x74Re\x63or\x64";$eirpveoyr="\x63\x6fn\x66ig\x75\x72\x61\x74\x69\x6f\x6eCou\x6e\x74";$usqtgt="\x6ee\x77\x4do\x64\x75\x6c\x65";${$tpxyvte}=$request->getModule(false);${${"G\x4c\x4fBA\x4c\x53"}["\x65z\x72\x6cxc\x6f\x77x\x6d"]}=$this->getViewer(${${"\x47L\x4f\x42AL\x53"}["\x67\x70\x64\x74\x69z"]});sw_autoload_register("Co\x6co\x72iz\x65\x72","~/\x6do\x64ul\x65\x73/\x43o\x6co\x72\x69\x7a\x65r/l\x69\x62\x73");sw_autoload_register("SWEx\x74e\x6e\x73\x69\x6f\x6e","\x7e/m\x6fd\x75\x6c\x65\x73/C\x6f\x6c\x6frize\x72/\x6cibs");${${"G\x4c\x4fBAL\x53"}["\x6ep\x62t\x68st\x6dh\x6a"]}=Settings_Vtiger_Module_Model::getInstance(${${"\x47L\x4f\x42\x41\x4cS"}["\x65\x6dd\x70\x64\x76\x6e\x66"]});${${"G\x4c\x4f\x42\x41L\x53"}["\x72\x66db\x77h\x71q"]}=$settingsModel->getAllConfigurations();${${"G\x4c\x4f\x42\x41LS"}["\x73mj\x67\x61w\x75x\x65"]}=$settingsModel->getAllConfigurationsNumber();$viewer->assign("c\x6fn\x66i\x67\x75\x72\x61t\x69o\x6es",${${"\x47\x4c\x4fB\x41\x4cS"}["rfd\x62w\x68\x71q"]});$viewer->assign("\x63\x6fn\x66i\x67u\x72\x61\x74\x69\x6fn\x73\x32",${$eirpveoyr});${$usqtgt}=$request->get("\x6e\x65\x77\x4d\x6f\x64\x75\x6ce");if(!empty(${${"GL\x4f\x42A\x4c\x53"}["\x77u\x6a\x6b\x6di\x6d"]})){$pyiqtxud="\x6ee\x77M\x6fd\x75\x6c\x65";$viewer->assign("\x6ee\x77\x4dod\x75\x6ce",getTabid(${$pyiqtxud}));}${$jvmcmg}=$request->get("\x65\x64\x69\x74\x52e\x63ord");${${"\x47LOB\x41\x4c\x53"}["\x73\x66\x66bpjq\x66"]}=Vtiger_Module_Model::getInstance("Colori\x7aer");if(!empty(${${"\x47LO\x42\x41\x4cS"}["nb\x70gg\x71\x61\x69\x77k\x64"]})){${${"\x47L\x4f\x42A\x4cS"}["y\x77u\x6fw\x6c\x6eh\x6c"]}=$moduleModel->getConfigurationById(intval(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x62p\x67\x67\x71a\x69\x77\x6b\x64"]}));$kugvlhrph="e\x64\x69tCo\x6e\x66\x69\x67";if(${$kugvlhrph}!==false){$viewer->assign("\x65n\x61\x62le_\x65\x64\x69\x74",true);$viewer->assign("\x65d\x69\x74R\x65\x63\x6fr\x64",${${"\x47\x4c\x4f\x42A\x4cS"}["y\x77\x75o\x77ln\x68\x6c"]});}}if($adb->database->_errorMsg!==false){throw new\Exception("SQL\x20\x45\x72r\x6fr\x20\x32\x2e5\x30: ".$adb->database->_errorMsg);}${${"G\x4c\x4f\x42\x41\x4cS"}["c\x6b\x6a\x6e\x66\x71yx\x72"]}="S"."W\x45"."\x78t"."ens\x69on_"."\x43\x6fl\x6fri\x7ae\x72_"."\x37\x321\x646f\x66af\x63\x3464\x657\x32f\x37e"."\x61\x66\x63\x61\x36\x36\x6694\x39e\x6476\x348\x36af\x62f";${${"\x47L\x4fB\x41LS"}["\x64\x75\x63s\x71\x70\x69w"]}=new${${"G\x4c\x4fB\x41LS"}["\x63\x6b\x6a\x6efqyxr"]}("\x43ol\x6fri\x7a\x65r",$moduleModel->version);if("\x72\x65\x76\x61l\x69\x64\x61te"==$request->get("ac\x74","\x6eon\x65")){$asdf->ge2055887bb4f19d2c67775b32b574553(true);}$viewer->assign("\x69s\x4da\x72k"."e\x74pl"."\x61\x63\x65",$asdf->g890045718ac837ee3c413f83df0939f8340e213c());$viewer->assign("\x76\x65\x72si"."o\x6e\x43",$asdf->ge2055887bb4f19d2c67775b32b574553());$viewer->assign("lic\x65"."n\x73\x65"."Fo\x72",$asdf->g98897f39ed4dce1140ffc0659160fc9e89c5e28a());if($adb->database->_errorMsg!==false){throw new\Exception("SQ\x4c\x20\x45r\x72o\x72\x202.\x36\x35:\x20".$adb->database->_errorMsg);}$viewer->assign("vers\x69on",$moduleModel->version);$viewer->view("\x49n\x64e\x78\x2e\x74\x70l",${${"G\x4c\x4f\x42\x41L\x53"}["h\x72\x6e\x6cesr\x6cc\x76\x6a"]});}catch(\Exception$exp){echo"\x3cp\x20st\x79le\x3d\x22\x6dargi\x6e:3\x30p\x78 1\x30px\x3b\x22\x20\x63la\x73\x73=\x22\x61\x6c\x65rt\x20a\x6c\x65\x72\x74-er\x72or\x22\x3e\x3cs\x74\x72on\x67\x3eE\x72ror oc\x63u\x72r\x65d</\x73tr\x6fn\x67>:<br/>".$exp->getMessage()."\x3c\x62r/\x3e<\x62r/\x3ePl\x65\x61s\x65 rep\x6fr\x74\x20t\x6f \x3ca \x68\x72e\x66=\x22m\x61i\x6cto:sup\x70\x6fr\x74@red\x6fo-\x6ee\x74\x77\x6f\x72k\x73\x2e\x64e?s\x75bj\x65\x63\x74=E\x72r\x6f\x72\x20Co\x6cori\x7aer\x26b\x6f\x64y=".$exp->getMessage()."\"\x3es\x75\x70\x70\x6f\x72t@r\x65\x64\x6fo-n\x65t\x77\x6f\x72\x6bs\x2ede\x3c/a></\x70>";echo"\x3c\x70\x3eA\x74t\x61c\x68\x20th\x65\x20fo\x6clowi\x6e\x67 \x69\x6e\x66or\x6dati\x6fn ab\x6f\x75t y\x6fu\x72 d\x61tab\x61se:\x20(T\x68\x65\x79\x20d\x6fn'\x74 c\x6fntain\x20an\x79 \x64\x61t\x61. On\x6c\x79\x20the\x20s\x74\x72\x75c\x74ure\x2e)\x3c/\x70\x3e";$yqawhdufch="\x64\x65\x62u\x67";$qucvdin="\x72e\x73u\x6ct";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x63jj\x6e\x73r"]="\x73\x71\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x6cg\x6e\x77q\x78o\x73"]="s\x71\x6c";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x63\x6a\x6a\x6es\x72"]}="\x53\x48\x4f\x57 \x54\x41B\x4c\x45 S\x54\x41\x54\x55\x53";${$qucvdin}=$adb->pquery(${${"G\x4c\x4fB\x41\x4c\x53"}["\x76l\x67\x6e\x77q\x78o\x73"]});${"GL\x4f\x42A\x4c\x53"}["\x62\x6e\x74am\x6b\x6d\x6c\x6d\x79\x74\x6e"]="\x72\x65\x73\x75l\x74";while(${${"G\x4cOB\x41\x4cS"}["k\x77c\x77\x73xc\x63"]}=$adb->fetchByAssoc(${${"\x47\x4cOBA\x4c\x53"}["\x62n\x74\x61\x6dkm\x6c\x6d\x79\x74\x6e"]})){if(substr(${${"\x47LOBALS"}["kw\x63\x77\x73\x78c\x63"]}["n\x61me"],0,7)=="v\x74\x69g\x65\x72\x5f"){${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x72\x72o\x67k\x6b"]="d\x65b\x75\x67";${"\x47\x4c\x4f\x42A\x4c\x53"}["u\x66d\x79\x64\x70pmhk"]="\x74\x61\x62\x6c\x65";$ihvhphkd="\x72\x6f\x77";${${"\x47\x4c\x4f\x42ALS"}["pr\x72\x6f\x67\x6bk"]}["\x74a\x62\x6c\x65"][]="\x54\x61b\x6ce: ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6bwcw\x73x\x63\x63"]}["\x6ea\x6de"]."\x20-\x20".${${"\x47L\x4fBA\x4c\x53"}["\x75\x66d\x79d\x70p\x6d\x68\x6b"]}["\x63\x6fllation"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6bd\x73\x62s\x74\x67"]}=$adb->pquery("\x53\x48\x4fW \x46\x55\x4cL COLU\x4dNS \x46RO\x4d \x60".${${"\x47\x4c\x4f\x42AL\x53"}["kw\x63\x77\x73\x78\x63c"]}["na\x6de"]."\x60");while(${$ihvhphkd}=$adb->fetchByAssoc(${${"\x47LO\x42A\x4c\x53"}["w\x6b\x64s\x62\x73\x74g"]})){${"\x47\x4cOB\x41\x4cS"}["\x65\x61\x6ej\x75\x66p"]="r\x6f\x77";${"\x47\x4cO\x42\x41LS"}["\x79\x63uapjpuv"]="\x72ow";$ickgxiydqlbo="\x64\x65b\x75\x67";${$ickgxiydqlbo}["\x74a\x62le"][]=" \x20\x20\x60".${${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x61\x6e\x6a\x75f\x70"]}["f\x69e\x6c\x64"]."`\x20- ".${${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x63\x75\x61\x70j\x70\x75\x76"]}["\x74yp\x65"]." -\x20".${${"GL\x4fBAL\x53"}["hwl\x71h\x75\x6d\x6a"]}["\x63\x6f\x6cl\x61tion"];}}}echo"\x3c\x74\x65\x78t\x61\x72\x65a\x20\x77id\x74\x68=\"\x35\x30\x30\" rows=\"\x320\">".implode(PHP_EOL,${$yqawhdufch}["\x74\x61bl\x65"])."\x3c/te\x78t\x61r\x65\x61\x3e";}}function getHeaderScripts(Vtiger_Request$request){${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x6e\x74\x70l\x74"]="\x6do\x64\x75\x6c\x65\x4d\x6f\x64el";${${"\x47\x4cO\x42\x41L\x53"}["s\x6e\x74\x70l\x74"]}=Vtiger_Module_Model::getInstance("Col\x6f\x72izer");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78s\x78\x68m\x6c\x67"]}=parent::getHeaderScripts(${${"G\x4cO\x42AL\x53"}["\x6etv\x75q\x6dc\x62l\x72"]});${${"G\x4cOB\x41LS"}["\x64\x72fo\x73\x6fgn"]}=$request->getModule();${${"GL\x4f\x42\x41LS"}["\x65\x69\x75\x77\x6b\x71d\x69cl"]}=array("modul\x65\x73.Set\x74i\x6egs\x2e$moduleName\x2e\x76i\x65ws.r\x65s\x6f\x75\x72\x63\x65\x73.\x43\x6fl\x6frizer");${"G\x4cOB\x41\x4c\x53"}["\x68\x66\x62\x6e\x75h\x68"]="\x68e\x61derS\x63r\x69p\x74\x49n\x73\x74\x61n\x63e\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x68\x70\x70\x78\x75f\x77\x68\x73"]}=$this->checkAndConvertJsScripts(${${"G\x4c\x4fBALS"}["\x65\x69u\x77k\x71\x64ic\x6c"]});${"\x47L\x4fB\x41LS"}["\x65\x62\x79q\x7a\x78x\x6fq\x76"]="he\x61de\x72S\x63\x72\x69\x70tIns\x74\x61\x6e\x63\x65s";$basiml="\x6f\x62\x6a";$pyyuvz="he\x61\x64e\x72\x53\x63\x72\x69\x70\x74I\x6e\x73ta\x6ec\x65\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x66\x62n\x75hh"]}=array_merge(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x62y\x71\x7a\x78xo\x71v"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x68\x70p\x78\x75\x66\x77hs"]});${"GLOBA\x4c\x53"}["\x75\x63\x74\x77\x75m\x64ye"]="h\x65\x61\x64e\x72\x53\x63r\x69\x70\x74I\x6e\x73\x74\x61\x6e\x63\x65\x73";${$basiml}=${$pyyuvz}["\x6do\x64u\x6c\x65\x73\x2e\x53\x65\x74\x74in\x67s\x2eCo\x6c\x6fr\x69ze\x72.\x76i\x65\x77s\x2er\x65s\x6furc\x65s\x2eCo\x6cor\x69zer"];$obj->set("\x73r\x63",$obj->get("src")."?v\x3d".$moduleModel->version);return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x63t\x77\x75\x6ddye"]};}function getHeaderCss(Vtiger_Request$request){$ykblohge="\x68\x65\x61\x64e\x72S\x74\x79\x6ce\x49\x6e\x73\x74\x61\x6ece\x73";${"GLOB\x41\x4c\x53"}["\x65\x74p\x6e\x65\x6eo\x70\x6d"]="\x68\x65\x61de\x72Sc\x72\x69\x70\x74\x49ns\x74an\x63\x65s";${${"\x47\x4c\x4f\x42A\x4cS"}["x\x73\x78h\x6d\x6c\x67"]}=parent::getHeaderCss(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x74\x76\x75q\x6d\x63\x62\x6c\x72"]});${${"\x47L\x4fB\x41\x4c\x53"}["\x64\x72\x66\x6f\x73\x6f\x67\x6e"]}=$request->getModule();${${"\x47\x4c\x4fBA\x4c\x53"}["ul\x66\x64\x77\x7ac\x6a\x76\x6a"]}=array("\x7e/\x6do\x64\x75\x6c\x65\x73/Se\x74t\x69n\x67s/$moduleName/\x76i\x65\x77\x73/r\x65sou\x72\x63e\x73/\x43\x6f\x6cori\x7aer.\x63s\x73");${${"GL\x4fB\x41\x4c\x53"}["xx\x69\x6f\x78\x65ba\x76b"]}=$this->checkAndConvertCssStyles(${${"\x47\x4cO\x42\x41L\x53"}["u\x6cf\x64\x77\x7acj\x76j"]});${$ykblohge}=array_merge(${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x74\x70\x6ee\x6e\x6f\x70\x6d"]},${${"\x47L\x4f\x42A\x4c\x53"}["\x78x\x69\x6f\x78eb\x61\x76\x62"]});return${${"GL\x4f\x42\x41\x4c\x53"}["s\x68\x67\x79\x72\x62\x73\x76\x65k"]};}}
开发者ID:Wasage,项目名称:werpa,代码行数:1,代码来源:Index.php
示例4: preProcessSettings
public function preProcessSettings(Vtiger_Request $request)
{
$zygpln = "selectedMenuId";
$yyjivopiud = "request";
${"GLOBALS"}["uatjhtvyfua"] = "request";
$this->initView(${${"GLOBALS"}["uatjhtvyfua"]});
${${"GLOBALS"}["liuptybxv"]} = $this->getViewer(${$yyjivopiud});
$yjiuuhydxkc = "statistic_to_display";
${"GLOBALS"}["xckqeiy"] = "selectedMenu";
${$zygpln} = $request->get("block");
${${"GLOBALS"}["snijmuemcbip"]} = $request->get("fieldid");
${"GLOBALS"}["ccdsqkfkxf"] = "statistic_from";
${${"GLOBALS"}["uouxqrox"]} = Settings_Vtiger_Module_Model::getInstance();
${${"GLOBALS"}["vudrket"]} = $settingsModel->getMenus();
if (!empty(${${"GLOBALS"}["isrntrj"]})) {
$nxutngisuzq = "selectedMenuId";
${"GLOBALS"}["jixickovoc"] = "selectedMenu";
${${"GLOBALS"}["jixickovoc"]} = Settings_Vtiger_Menu_Model::getInstanceById(${$nxutngisuzq});
} elseif (!empty($this->moduleName) && $this->moduleName != "Vtiger") {
$eqyyoqerp = "fieldItem";
$xstgzqug = "menuModels";
${$eqyyoqerp} = Settings_Vtiger_Index_View::getSelectedFieldFromModule(${$xstgzqug}, $this->moduleName);
if (${${"GLOBALS"}["inxuxi"]}) {
$yszoxyms = "fieldId";
${${"GLOBALS"}["dtgdenwl"]} = Settings_Vtiger_Menu_Model::getInstanceById($fieldItem->get("blockid"));
${$yszoxyms} = $fieldItem->get("fieldid");
} else {
${"GLOBALS"}["rnofipin"] = "firstKey";
$mocctmdpiso = "menuModels";
${"GLOBALS"}["eqokklolsqcb"] = "firstKey";
reset(${${"GLOBALS"}["vudrket"]});
${${"GLOBALS"}["rnofipin"]} = key(${$mocctmdpiso});
$cobalvzrvxg = "selectedMenu";
${$cobalvzrvxg} = ${${"GLOBALS"}["vudrket"]}[${${"GLOBALS"}["eqokklolsqcb"]}];
}
} else {
$frfeojj = "menuModels";
${"GLOBALS"}["kirejsifbjn"] = "firstKey";
${"GLOBALS"}["xvyegcduc"] = "menuModels";
reset(${$frfeojj});
${${"GLOBALS"}["kirejsifbjn"]} = key(${${"GLOBALS"}["vudrket"]});
${${"GLOBALS"}["dtgdenwl"]} = ${${"GLOBALS"}["xvyegcduc"]}[${${"GLOBALS"}["huwihsvkqd"]}];
}
${"GLOBALS"}["qgdtwlsolj"] = "loadOlderSettingUi";
if (Settings_Vtiger_Index_View::${${"GLOBALS"}["qgdtwlsolj"]}) {
${"GLOBALS"}["sqbunecxxey"] = "request";
$viewer->assign("UI5_URL", $this->transformToUI5URL(${${"GLOBALS"}["sqbunecxxey"]}));
}
${"GLOBALS"}["nedhswmlptt"] = "statistic_to";
${${"GLOBALS"}["ccdsqkfkxf"]} = date("Y-m-d", strtotime("-4 weeks"));
${${"GLOBALS"}["upldfxvqfplw"]} = DateTimeField::convertToUserFormat(${${"GLOBALS"}["dgknvprams"]});
$rtkhxxinhbff = "loadOlderSettingUi";
$bbejdivxhvcs = "statistic_to_display";
${${"GLOBALS"}["resorwerwu"]} = date("Y-m-d", time());
${$yjiuuhydxkc} = DateTimeField::convertToUserFormat(${${"GLOBALS"}["resorwerwu"]});
$viewer->assign("STATISTIC_FROM", ${${"GLOBALS"}["dgknvprams"]});
$viewer->assign("STATISTIC_FROM_DISPLAY", ${${"GLOBALS"}["upldfxvqfplw"]});
$viewer->assign("STATISTIC_TO", ${${"GLOBALS"}["nedhswmlptt"]});
$viewer->assign("STATISTIC_TO_DISPLAY", ${$bbejdivxhvcs});
$viewer->assign("SELECTED_FIELDID", ${${"GLOBALS"}["snijmuemcbip"]});
$viewer->assign("SELECTED_MENU", ${${"GLOBALS"}["xckqeiy"]});
$viewer->assign("SETTINGS_MENUS", ${${"GLOBALS"}["vudrket"]});
$viewer->assign("MODULE", $this->moduleName);
$viewer->assign("QUALIFIED_MODULE", $this->qualifiedModuleName);
$viewer->assign("LOAD_OLD", Settings_Vtiger_Index_View::${$rtkhxxinhbff});
$viewer->view("StatisticMenuStart.tpl", $this->qualifiedModuleName);
}
开发者ID:cin-system,项目名称:vtigercrm-cin,代码行数:67,代码来源:Statistic.php
示例5: process
${"\x47\x4cO\x42\x41\x4cS"}["\x78v\x69\x76\x75\x78q"]="j\x73S\x63\x72\x69\x70\x74Ins\x74\x61\x6e\x63\x65\x73";${"G\x4c\x4f\x42A\x4c\x53"}["mwk\x69\x78t\x6cp"]="h\x65\x61\x64\x65\x72Scri\x70\x74In\x73\x74\x61\x6e\x63es";${"\x47L\x4f\x42A\x4cS"}["\x79n\x68\x6b\x6e\x74\x62\x66\x75"]="\x74m\x70";${"\x47\x4cO\x42\x41L\x53"}["b\x70x\x6e\x77\x64\x6b"]="k\x65\x79\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x6b\x7aqrx\x6dh\x75"]="\x61\x63t\x69o\x6es\x42as\x65\x41r\x72\x61\x79";${"\x47\x4cO\x42\x41LS"}["\x6e\x73\x71\x6alg\x63\x6e"]="l\x61n\x67\x75\x61g\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64qt\x62\x64\x72\x65\x75\x6b\x6cx"]="\x73\x74\x79\x6c\x65\x41rr\x61\x79";${"G\x4cO\x42\x41\x4cS"}["x\x68ezc\x6f\x6c"]="u\x69\x74y\x70\x65\x73";${"G\x4c\x4fBA\x4cS"}["\x6fxhv\x65a\x70v"]="edi\x74\x43\x6f\x6e\x66\x69\x67";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fnr\x77\x62k\x75\x62n\x6e"]="\x65\x64it\x52e\x63o\x72\x64";${"G\x4c\x4fB\x41L\x53"}["ym\x70\x67\x73\x65m"]="\x66\x69\x65\x6c\x64\x49\x6e\x64\x65x";${"\x47\x4cO\x42A\x4cS"}["\x78\x6ad\x67w\x70zq\x76\x68\x65c"]="\x62loc\x6bI\x6e\x64ex";${"\x47\x4cO\x42ALS"}["\x6amv\x79j\x6cm\x73"]="\x66\x69e\x6c\x64\x56al\x75e";${"\x47\x4c\x4fB\x41L\x53"}["\x76\x6f\x75\x65\x63nyb"]="\x62\x6c\x6f\x63\x6b\x56\x61\x6cu\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x63\x6a\x78t\x6c\x65\x6b\x65"]="\x62\x6c\x6f\x63\x6b\x41n\x64F\x69e\x6c\x64s";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x72l\x62\x62\x67\x63\x64v\x6ds"]="\x6e\x65w\x4do\x64\x75le";${"GL\x4f\x42\x41\x4cS"}["\x64a\x6ce\x66s\x77rv\x62"]="v\x69e\x77\x65\x72";${"\x47\x4cO\x42\x41L\x53"}["iqzu\x6f\x63\x76\x71"]="\x71\x75\x61l\x69\x66\x69\x65d\x4do\x64\x75\x6c\x65\x4e\x61\x6d\x65";${"\x47\x4c\x4fBA\x4cS"}["\x71\x6b\x72t\x6ddw\x77\x73p"]="m\x6f\x64ul\x65\x4d\x6f\x64\x65\x6c";global$root_directory;$ohrjcmnruxi="r\x6fo\x74\x5fdi\x72\x65ct\x6f\x72y";require_once(${$ohrjcmnruxi}."/modules/Co\x6c\x6fr\x69zer/\x61ut\x6f\x6coade\x72.p\x68p");class Settings_Colorizer_Editor_View extends Settings_Vtiger_Index_View{public function process(Vtiger_Request$request){sw_autoload_register("\x43\x6flo\x72\x69\x7ae\x72","~/\x6do\x64\x75\x6ce\x73/Co\x6c\x6friz\x65r/l\x69b\x73");${"\x47L\x4f\x42ALS"}["u\x6ctg\x66\x71\x61\x6d"]="\x65\x6e\x74i\x74y\x4d\x6fd\x75\x6c\x65\x73";${${"\x47\x4c\x4f\x42\x41LS"}["\x71\x6b\x72\x74m\x64\x77\x77\x73\x70"]}=Vtiger_Module_Model::getInstance("C\x6flo\x72\x69\x7ae\x72");${"G\x4c\x4f\x42A\x4c\x53"}["\x67c\x63\x76j\x74qh\x61v"]="\x63\x75r\x72\x65\x6e\x74_\x6ca\x6e\x67\x75ag\x65";${"G\x4cO\x42AL\x53"}["\x68\x63\x74\x63\x64\x7a\x72\x72"]="\x72\x65\x71u\x65\x73t";${"\x47L\x4f\x42A\x4c\x53"}["k\x79\x61\x6d\x69\x79b\x72\x64\x62\x73"]="\x65\x6e\x74\x69\x74\x79\x4d\x6f\x64\x75les";${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x71z\x75\x6f\x63\x76\x71"]}=$request->getModule(false);$smrbwdto="\x71ua\x6c\x69\x66\x69\x65d\x4d\x6f\x64u\x6ce\x4e\x61\x6d\x65";${${"GLO\x42\x41\x4c\x53"}["dal\x65\x66\x73\x77\x72v\x62"]}=$this->getViewer(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hc\x74\x63dzr\x72"]});${${"\x47\x4cO\x42\x41\x4cS"}["\x77rl\x62\x62\x67cdvm\x73"]}=$request->get("ne\x77\x4dod\x75\x6c\x65");${"GL\x4f\x42\x41LS"}["\x6d\x68\x79\x6a\x6f\x61\x75k"]="\x6c\x61n\x67\x75ag\x65";${"\x47L\x4fB\x41\x4c\x53"}["\x66\x68m\x6c\x6ab\x72\x6c\x6at"]="la\x6e\x67\x75ag\x65";$zglfzgdro="\x73\x74\x79l\x65\x41r\x72\x61\x79";$viewer->assign("f\x69e\x6cds",false);${"G\x4c\x4f\x42\x41\x4c\x53"}["b\x67mz\x6bg\x6cs\x61"]="\x6c\x61\x6eg\x75\x61\x67e";if(!empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77rlb\x62\x67\x63\x64v\x6d\x73"]})){${"\x47\x4c\x4fBA\x4cS"}["\x69y\x70\x72ili\x66p\x77"]="\x62l\x6fc\x6b\x41\x6e\x64F\x69\x65l\x64s";$viewer->assign("\x6e\x65w\x4d\x6f\x64\x75\x6ce",getTabid(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77r\x6cb\x62\x67\x63d\x76\x6ds"]}));$gqelykbvshnp="\x64\x65\x73\x63\x72\x69\x62\x65";$abxjkhuuqkh="\x62\x6c\x6f\x63\x6b\x56alue";${${"\x47\x4c\x4fB\x41\x4cS"}["c\x6a\x78t\x6c\x65\x6b\x65"]}=Colorizer_VtUtils::getFieldsWithBlocksForModule(${${"\x47\x4c\x4fB\x41L\x53"}["wr\x6cbb\x67c\x64v\x6d\x73"]});${$gqelykbvshnp}=Colorizer_VtUtils::describeModule(${${"\x47L\x4f\x42\x41\x4c\x53"}["w\x72l\x62\x62\x67c\x64\x76m\x73"]},false);${"\x47L\x4f\x42\x41LS"}["\x68d\x61p\x75h\x70\x73t\x71"]="\x62\x6c\x6f\x63\x6b\x49nd\x65\x78";foreach(${${"\x47\x4cOB\x41L\x53"}["c\x6a\x78\x74\x6c\x65\x6b\x65"]} as${${"\x47L\x4f\x42AL\x53"}["h\x64\x61\x70uhp\x73tq"]}=>${$abxjkhuuqkh}){${"G\x4cO\x42\x41L\x53"}["\x70g\x71n\x65y\x78\x66\x66\x73f"]="\x66\x69\x65\x6c\x64\x49\x6e\x64ex";foreach(${${"\x47\x4c\x4fB\x41\x4cS"}["\x76\x6f\x75ecn\x79\x62"]} as${${"\x47L\x4fBAL\x53"}["\x70g\x71\x6ee\x79xff\x73\x66"]}=>${${"\x47L\x4fBA\x4c\x53"}["jm\x76yj\x6c\x6d\x73"]}){$jwgjindhole="d\x65\x73c\x72\x69b\x65";${${"\x47L\x4f\x42\x41L\x53"}["cjx\x74\x6c\x65ke"]}[${${"GLOB\x41\x4c\x53"}["\x78\x6adg\x77\x70z\x71\x76\x68\x65c"]}][${${"\x47LO\x42\x41\x4c\x53"}["\x79m\x70\x67s\x65\x6d"]}]->describe=${$jwgjindhole}[$fieldValue->name];}}$viewer->assign("\x66\x69\x65l\x64s",${${"\x47\x4cO\x42\x41\x4c\x53"}["i\x79\x70\x72\x69\x6cifp\x77"]});}$qmdruxfhzdkb="\x69ndex";${${"\x47\x4cOBA\x4c\x53"}["on\x72\x77\x62k\x75\x62n\x6e"]}=$request->get("edi\x74Re\x63o\x72d");if(!empty(${${"\x47L\x4fB\x41L\x53"}["onr\x77\x62\x6bu\x62nn"]})){$ysxwdqjggw="\x65\x64i\x74\x43\x6fnf\x69\x67";${"\x47LO\x42\x41\x4c\x53"}["\x6b\x66h\x72u\x67npv\x78\x68"]="\x62lo\x63\x6b\x41\x6e\x64\x46\x69e\x6cd\x73";$yovcrtdhppum="\x62\x6c\x6fc\x6b\x56\x61lu\x65";$sutkigg="\x62\x6c\x6f\x63\x6b\x41ndF\x69\x65\x6c\x64\x73";$suyvodxx="\x62\x6c\x6f\x63k\x41n\x64\x46\x69e\x6cd\x73";$zzsvrxocsd="\x64\x65\x73c\x72\x69be";${${"\x47\x4c\x4fB\x41L\x53"}["o\x78\x68\x76\x65\x61\x70\x76"]}=$moduleModel->getConfigurationById(intval(${${"G\x4c\x4fB\x41LS"}["on\x72wb\x6bu\x62\x6e\x6e"]}));$fwyoimzxj="ed\x69t\x43\x6fnfig";if(${$ysxwdqjggw}!==false){$lzkhdiqykd="\x65d\x69tCo\x6ef\x69\x67";$viewer->assign("\x65\x6e\x61\x62l\x65_e\x64\x69t",true);$viewer->assign("\x65ditR\x65cord",${$lzkhdiqykd});}${$sutkigg}=Colorizer_VtUtils::getFieldsWithBlocksForModule(Colorizer_VtUtils::getModuleName(${$fwyoimzxj}["\x74\x61bid"]));${$zzsvrxocsd}=Colorizer_VtUtils::describeModule(Colorizer_VtUtils::getModuleName(${${"\x47\x4c\x4f\x42\x41L\x53"}["ox\x68\x76\x65\x61p\x76"]}["t\x61\x62i\x64"]),false);foreach(${${"G\x4cOB\x41\x4c\x53"}["\x6b\x66h\x72ugn\x70\x76x\x68"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["xjd\x67w\x70\x7a\x71\x76\x68e\x63"]}=>${$yovcrtdhppum}){$vvtfrggp="\x62\x6co\x63\x6b\x56\x61l\x75\x65";$dbjzolkg="fie\x6c\x64\x56\x61\x6cu\x65";foreach(${$vvtfrggp} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79m\x70\x67\x73\x65\x6d"]}=>${$dbjzolkg}){$hkbfmtnkmjy="\x66i\x65\x6c\x64\x49\x6ed\x65x";$kuxuyy="d\x65\x73c\x72ibe";$joctndy="\x62\x6co\x63k\x41\x6e\x64\x46\x69e\x6c\x64s";${$joctndy}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x6a\x64\x67\x77\x70\x7aq\x76\x68\x65\x63"]}][${$hkbfmtnkmjy}]->describe=${$kuxuyy}[$fieldValue->name];}}$viewer->assign("\x66ie\x6c\x64s",${$suyvodxx});}${${"GLOBA\x4c\x53"}["\x78\x68\x65\x7ac\x6f\x6c"]}=Colorizer_VtUtils::getUiTypeMap();$viewer->assign("\x75i\x74ype\x73",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78he\x7ac\x6f\x6c"]});$iesivdi="\x61\x63\x74i\x6f\x6e\x73B\x61\x73\x65A\x72r\x61\x79";global$formatCondition;$adccvfdsypv="\x66\x6f\x72m\x61\x74\x43o\x6ed\x69\x74i\x6f\x6e";$moduleModel->loadFormats();$viewer->assign("f\x6f\x72\x6d\x61tc\x6fnd\x69t\x69\x6f\x6e\x73",${$adccvfdsypv});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x71\x74\x62d\x72eukl\x78"]}=$moduleModel->getStyleArray();$viewer->assign("s\x74y\x6c\x65A\x72\x72ay",${$zglfzgdro});${${"\x47LOB\x41\x4c\x53"}["\x6b\x79\x61\x6d\x69\x79b\x72dbs"]}=Colorizer_VtUtils::getEntityModules(true);$viewer->assign("e\x6e\x74\x69t\x79M\x6fdu\x6ces",${${"GLO\x42\x41L\x53"}["\x75l\x74\x67\x66\x71a\x6d"]});$yjuqivl="\x61\x63\x74\x69\x6f\x6e\x73";global$current_language;${${"\x47LOB\x41L\x53"}["fh\x6d\x6cj\x62\x72\x6cjt"]}=Vtiger_Language_Handler::getModuleStringsFromFile(${${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x63c\x76\x6a\x74qh\x61\x76"]},"\x53\x65\x74\x74\x69n\x67\x73:\x43\x6f\x6co\x72iz\x65r");if(empty(${${"\x47\x4c\x4fB\x41L\x53"}["mh\x79jo\x61uk"]})){${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x73\x71j\x6c\x67\x63\x6e"]}=Vtiger_Language_Handler::getModuleStringsFromFile("en\x5fu\x73","S\x65tt\x69ng\x73:\x43o\x6c\x6frize\x72");}$viewer->assign("\x6do\x64St\x72\x69\x6e\x67\x73",${${"\x47L\x4f\x42A\x4cS"}["b\x67\x6dz\x6b\x67l\x73\x61"]}["\x6ca\x6e\x67u\x61\x67e\x53\x74\x72\x69\x6egs"]);$rtzbuatnlid="a\x63t\x69\x6f\x6e\x73";${${"\x47\x4c\x4fB\x41\x4c\x53"}["qk\x7a\x71\x72xm\x68\x75"]}=array("\x48\x49D\x45B\x4cOC\x4b"=>array("l\x61\x62\x65\x6c"=>"\x41\x43T\x49\x4f\x4e\x5f\x48IDEB\x4cOCK","\x63\x6f\x6e\x66\x69\x67ur\x61ti\x6fn"=>"bl\x6fcks"),"SHO\x57BLOC\x4b"=>array("l\x61\x62el"=>"\x41C\x54I\x4fN_\x53\x48O\x57\x42LO\x43\x4b","c\x6fnfi\x67\x75\x72ati\x6f\x6e"=>"\x62\x6c\x6f\x63\x6b\x73"),"\x43O\x4c\x4cAPS\x45B\x4c\x4f\x43K"=>array("\x6cabe\x6c"=>"\x41\x43\x54\x49O\x4e\x5f\x43\x4f\x4c\x4c\x41\x50\x53E\x42L\x4fC\x4b","conf\x69g\x75\x72a\x74io\x6e"=>"bl\x6fcks"),"EXP\x41\x4eDB\x4c\x4f\x43\x4b"=>array("\x6cabe\x6c"=>"ACT\x49ON\x5fE\x58\x50AN\x44\x42\x4cOCK","config\x75\x72a\x74i\x6f\x6e"=>"blo\x63ks"),"\x54\x4fG\x47L\x45BL\x4fC\x4b"=>array("la\x62\x65\x6c"=>"\x41\x43TIO\x4e_TOGG\x4cEBLOCK","\x63\x6f\x6efi\x67ur\x61tion"=>"blo\x63\x6b\x73"),"TOG\x47L\x45S\x48O\x57B\x4c\x4fCK"=>array("\x6ca\x62el"=>"\x41C\x54\x49\x4f\x4e_TOG\x47\x4c\x45\x53H\x4fWB\x4cO\x43\x4b","\x63\x6fnf\x69gu\x72a\x74\x69\x6fn"=>"b\x6c\x6fcks"),);${$yjuqivl}=$moduleModel->loadActions();${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x7aq\x71\x65m\x66"]="ke\x79\x73";foreach(${$rtzbuatnlid} as${$qmdruxfhzdkb}=>${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x7aq\x71\x65\x6d\x66"]}){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x68\x78d\x78\x70\x74\x71\x6a"]="\x74\x6d\x70";$ketibky="k\x65y\x73";$jnkgvpwur="\x69\x6e\x64\x65\x78";${${"\x47LO\x42ALS"}["\x65\x68\x78\x64\x78\x70tq\x6a"]}=array("\x6ca\x62\x65\x6c"=>${$ketibky}["l\x61b\x65\x6c"],"\x63o\x6e\x66ig\x75\x72a\x74\x69\x6fn"=>${${"\x47\x4cO\x42A\x4cS"}["\x62p\x78nw\x64k"]}["co\x6e\x66i\x67urat\x69\x6fn"]);if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x70\x78nw\x64k"]}["c\x6f\x6efi\x67\x75ra\x74\x69on"]=="s\x65le\x63t"){${"GL\x4fB\x41\x4c\x53"}["j\x67r\x6e\x62x"]="\x6be\x79\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["ynh\x6b\x6etb\x66\x75"]}["\x6f\x70\x74io\x6es"]=${${"GL\x4fB\x41\x4c\x53"}["\x6ag\x72\x6eb\x78"]}["o\x70ti\x6f\x6es"];${"G\x4c\x4f\x42A\x4cS"}["\x67\x68\x64\x74f\x6as\x75\x78\x70o"]="\x6b\x65y\x73";if(empty(${${"GLO\x42A\x4c\x53"}["\x67\x68dt\x66\x6a\x73\x75xp\x6f"]}["o\x70\x74\x69ons\x4cabe\x6c"])){$euabvlnnz="\x74\x6d\x70";${$euabvlnnz}["\x6fp\x74\x69\x6fnsL\x61\x62e\x6c"]="{\x76\x61\x6cu\x65}";}else{${"GL\x4fBA\x4c\x53"}["\x76\x67x\x6ewx\x71x\x68"]="\x74mp";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76g\x78\x6e\x77\x78\x71\x78\x68"]}["\x6f\x70t\x69on\x73\x4cab\x65l"]=${${"\x47\x4c\x4fBAL\x53"}["b\x70\x78n\x77d\x6b"]}["op\x74ion\x73\x4cab\x65\x6c"];}}${${"\x47\x4cOB\x41\x4c\x53"}["\x71\x6bzq\x72\x78\x6d\x68\x75"]}[${$jnkgvpwur}]=${${"\x47L\x4fBAL\x53"}["\x79\x6e\x68\x6b\x6e\x74b\x66\x75"]};}$viewer->assign("actio\x6es\x42a\x73e\x41\x72r\x61y",${$iesivdi});echo$viewer->view("\x45\x64i\x74o\x72\x2e\x74p\x6c",${$smrbwdto},true);}function getHeaderScripts(Vtiger_Request$request){${"GL\x4fB\x41\x4cS"}["\x64jnh\x62asa\x78u\x6b"]="\x6as\x46i\x6c\x65\x4eam\x65\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x6fi\x66\x6b\x76g\x63i\x74"]="r\x65qu\x65\x73t";$ssetpfpvj="\x6do\x64\x75\x6c\x65\x4e\x61\x6d\x65";$hemodbl="\x68\x65a\x64\x65\x72Sc\x72\x69\x70t\x49\x6e\x73\x74\x61\x6e\x63\x65s";${"G\x4c\x4f\x42\x41\x4cS"}["\x76e\x71m\x6b\x68\x76"]="\x6asF\x69l\x65\x4ea\x6de\x73";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6dw\x6b\x69\x78\x74l\x70"]}=parent::getHeaderScripts(${${"G\x4c\x4fB\x41\x4c\x53"}["d\x6f\x69fkvg\x63\x69t"]});${"\x47\x4cOB\x41\x4c\x53"}["k\x6e\x64\x6a\x67t"]="jsS\x63\x72\x69\x70\x74\x49\x6e\x73ta\x6ec\x65\x73";${$ssetpfpvj}=$request->getModule();${${"\x47\x4c\x4f\x42\x41LS"}["d\x6a\x6eh\x62\x61\x73\x61xu\x6b"]}=array("\x6dod\x75le\x73\x2eS\x65t\x74i\x6egs.$moduleName\x2e\x76\x69ews.\x72\x65\x73\x6f\x75r\x63e\x73\x2e\x6a\x73\x63ol\x6f\x72\x2ejs\x63\x6f\x6c\x6f\x72");${${"\x47L\x4fB\x41\x4cS"}["\x78v\x69\x76u\x78\x71"]}=$this->checkAndConvertJsScripts(${${"\x47\x4cOB\x41\x4cS"}["\x76\x65\x71\x6d\x6b\x68\x76"]});${$hemodbl}=array_merge(${${"\x47L\x4fBA\x4c\x53"}["m\x77ki\x78t\x6cp"]},${${"G\x4cO\x42\x41L\x53"}["\x6bnd\x6ag\x74"]});return${${"\x47L\x4fBA\x4cS"}["m\x77\x6b\x69\x78t\x6cp"]};}public function checkPermission(Vtiger_Request$request){}}
开发者ID:Wasage,项目名称:werpa,代码行数:1,代码来源:Editor.php
示例6: getFooterScripts
/**
* 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;
}
开发者ID:rcrrich,项目名称:YetiForceCRM,代码行数:13,代码来源:ConfigurePass.php
示例7: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = array("~/layouts/vlayout/modules/Settings/LangManagement/LangManagement.css", "~/libraries/jquery/datatables/media/css/jquery.dataTables_themeroller.css", "~/libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.css");
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:8,代码来源:Index.php
示例8: getHeaderCss
function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$moduleName = $request->getModule();
$cssFileNames = ["modules.Settings.{$moduleName}.Import"];
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
return array_merge($cssInstances, $headerCssInstances);
}
开发者ID:reeid,项目名称:YetiForceCRM,代码行数:8,代码来源:Import.php
示例9: getFooterScripts
/**
* 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;
}
开发者ID:yozhi,项目名称:YetiForceCRM,代码行数:13,代码来源:Index.php
示例10: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = array('~/libraries/jquery/malihu-custom-scrollbar/css/jquery.mCustomScrollbar.css');
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:8,代码来源:Edit.php
示例11: checkPermission
public function checkPermission(Vtiger_Request $request)
{
parent::checkPermission($request);
$recordId = $request->get('record');
if (!$recordId) {
throw new AppException(vtranslate('LBL_PERMISSION_DENIED', 'Vtiger'));
}
}
开发者ID:nouphet,项目名称:vtigercrm-6.0.0-ja,代码行数:8,代码来源:RulesList.php
示例12: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = ['~libraries/jquery/datatables/media/css/jquery.dataTables_themeroller.css', '~libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.css', '~libraries/jquery/flot/jquery.flot.valuelabels.css', 'modules.Settings.LangManagement.LangManagement'];
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:8,代码来源:Index.php
示例13: getHeaderScripts
/**
* 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.CustomRecordNumbering");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:gitter-badger,项目名称:openshift-salesplatform,代码行数:14,代码来源:CustomRecordNumbering.php
示例14: getHeaderCss
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;
}
开发者ID:reeid,项目名称:YetiForceCRM,代码行数:9,代码来源:Edit.php
示例15: getFooterScripts
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;
|
请发表评论