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();
     }
 }
 public function getModuleJs()
 {
     if (strpos(decryptUrl($_SERVER['REQUEST_URI']), $this->moduleBaseUrl) !== false) {
         return $this->moduleBaseDir . "module_administrator_tools.js";
     }
 }
 public function getModuleJS()
 {
     if (strpos(decryptUrl($_SERVER['REQUEST_URI']), $this->moduleBaseUrl) !== false) {
         return $this->moduleBaseDir . "js/admin.js";
     }
 }