3 * doesn't allow this file to be loaded with a browser.
5 if (!defined('AT_INCLUDE_PATH')) { exit; }
8 * this file must only be included within a Module obj
10 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }
13 * create a side menu box/stack.
15 $this->_stacks['cpref_switch'] = array('title_var'=>'cpref_switch', 'file'=>dirname(__FILE__).'/side_menu.inc.php');
17 global $_custom_css, $_base_path;
19 $_custom_css = $_base_path . 'mods/cpref_switch/module.css'; // use a custom stylesheet