Changeset 509
- Timestamp:
- 08/16/06 08:58:33 (2 years ago)
- Files:
-
- devel/config-dist.php (modified) (1 diff)
- devel/mod/template/lib.php (modified) (1 diff)
- devel/units/templates/template_actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/config-dist.php
r507 r509 135 135 // TEMPLATES HANDLING 136 136 //$CFG->disable_usertemplates = true; // users can only choose from available templates 137 137 //$CFG->disable_templatechanging = true; // users can't change their template at all 138 138 //Templates root defaults to /_templates; if you change this, you will need 139 139 //to move or copy /_templates/Default_Template/ to the new location devel/mod/template/lib.php
r499 r509 9 9 $page_owner = $profile_id; 10 10 11 if (defined("context") && context == "account" ) {11 if (defined("context") && context == "account" && !$CFG->disable_templatechanging) { 12 12 if ($page_owner == $_SESSION['userid'] && $page_owner != -1) { 13 13 $PAGE->menu_sub[] = array( 'name' => 'template:change', devel/units/templates/template_actions.php
r454 r509 5 5 global $template; 6 6 7 if (isset($_REQUEST['action']) && logged_on ) {7 if (isset($_REQUEST['action']) && logged_on && !$CFG->dispable_templatechanging) { 8 8 9 9 switch($_REQUEST['action']) {
