コード例 #1
0
 public function addScripts()
 {
     //load scripts only in module page
     if (strpos(decryptUrl($_SERVER['REQUEST_URI']), $this->moduleBaseUrl) !== false) {
         return array("scriptaculous/dragdrop", "includes/tests");
     } else {
         return array();
     }
 }
コード例 #2
0
 public function getModuleJs()
 {
     if (strpos(decryptUrl($_SERVER['REQUEST_URI']), $this->moduleBaseUrl) !== false) {
         return $this->moduleBaseDir . "module_administrator_tools.js";
     }
 }
コード例 #3
0
 public function getModuleJS()
 {
     if (strpos(decryptUrl($_SERVER['REQUEST_URI']), $this->moduleBaseUrl) !== false) {
         return $this->moduleBaseDir . "js/admin.js";
     }
 }