move code up one directory
[atutor.git] / mods / _standard / profile_pictures / module.php
1 <?php\r
2 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
3 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
4 \r
5 $this->_pages['mods/_standard/profile_pictures/profile_picture.php']['title_var'] = 'picture';\r
6 $this->_pages['mods/_standard/profile_pictures/profile_picture.php']['parent']   = 'users/profile.php';\r
7 \r
8 //$this->_pages['users/profile.php']['children']  = array_merge((array) $this->_pages['users/profile.php']['children'],array('mods/_standard/profile_pictures/profile_picture.php'));\r
9 \r
10 if (admin_authenticate(AT_ADMIN_PRIV_USERS, TRUE)) {\r
11         $this->_pages['mods/_standard/profile_pictures/admin/profile_picture.php']['title_var'] = 'picture';\r
12         $this->_pages['mods/_standard/profile_pictures/admin/profile_picture.php']['parent']   = 'admin/users.php';\r
13 }\r
14 ?>\r