moved default prefs int sys prefs
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Fri, 9 Dec 2005 16:47:52 +0000 (16:47 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Fri, 9 Dec 2005 16:47:52 +0000 (16:47 -0000)
docs/google_search/admin/module_prefs.php
docs/mods/_core/users/module.php

index 9ec72e1..264e650 100644 (file)
@@ -1,10 +1,10 @@
 <?php\r
 \r
-define('AT_INCLUDE_PATH', '../include/');\r
+define('AT_INCLUDE_PATH', '../../include/');\r
 require(AT_INCLUDE_PATH.'vitals.inc.php');\r
 admin_authenticate(AT_ADMIN_PRIV_ADMIN);\r
 \r
-require('../mods/_standard/google_search/SOAP_Google.php');\r
+require('../../mods/_standard/google_search/SOAP_Google.php');\r
 \r
 $key = $_config['gsearch'];\r
 \r
index f27e132..2479737 100644 (file)
@@ -12,7 +12,7 @@ if (admin_authenticate(AT_ADMIN_PRIV_USERS, TRUE) || admin_authenticate(AT_ADMIN
        $this->_pages['admin/users.php']['title_var'] = 'users';\r
        $this->_pages['admin/users.php']['parent']    = AT_NAV_ADMIN;\r
        $this->_pages['admin/users.php']['guide']     = 'admin/?p=3.0.users.php';\r
-       $this->_pages['admin/users.php']['children']  = array('admin/create_user.php', 'admin/default_preferences.php', 'admin/instructor_requests.php', 'admin/master_list.php', 'admin/admin_email.php');\r
+       $this->_pages['admin/users.php']['children']  = array('admin/create_user.php', 'admin/instructor_requests.php', 'admin/master_list.php', 'admin/admin_email.php');\r
 \r
        if (admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
                $this->_pages['admin/users.php']['children'][]  = 'admin/admins/index.php';\r
@@ -49,9 +49,10 @@ if (admin_authenticate(AT_ADMIN_PRIV_USERS, TRUE) || admin_authenticate(AT_ADMIN
                $this->_pages['admin/create_user.php']['title_var'] = 'create_user';\r
                $this->_pages['admin/create_user.php']['parent']    = 'admin/users.php';\r
 \r
-               $_pages['admin/default_preferences.php']['title_var'] = 'default_preferences';\r
-               $_pages['admin/default_preferences.php']['parent']    = 'admin/users.php';\r
-               $_pages['admin/default_preferences.php']['guide']     = 'admin/?p=2.2.3.default_preferences.php';\r
+               $this->_pages['admin/default_preferences.php']['title_var'] = 'default_preferences';\r
+               $this->_pages['admin/default_preferences.php']['parent']    = 'admin/config_edit.php';\r
+               $this->_pages['admin/default_preferences.php']['guide']     = 'admin/?p=2.2.3.default_preferences.php';\r
+               $this->_pages['admin/config_edit.php']['children'] = array('admin/default_preferences.php');\r
 \r
                $this->_pages['admin/password_user.php']['title_var'] = 'password';\r
                $this->_pages['admin/password_user.php']['parent']    = 'admin/users.php';\r