From: vinkmar Date: Fri, 18 Aug 2006 07:29:19 +0000 (+0000) Subject: admin page cleanup (google soc 2006)... updated field name for category editing funct... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f8a511519b9db38dbc9648e0f3557ee350591c31;p=moodle.git admin page cleanup (google soc 2006)... updated field name for category editing function so that it doesn't conflict with 'edit' when used for blocks --- diff --git a/lib/weblib.php b/lib/weblib.php index 838e063ca8..b104948c9f 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3684,13 +3684,13 @@ function update_categories_button() { if (isadmin()) { if (!empty($USER->categoryediting)) { $string = get_string('turneditingoff'); - $edit = 'off'; + $categoryedit = 'off'; } else { $string = get_string('turneditingon'); - $edit = 'on'; + $categoryedit = 'on'; } return "
framename\" method=\"get\" action=\"$CFG->wwwroot/course/index.php\">". - ''. + ''. ''. '
'; }