From: moodler Date: Wed, 4 Oct 2006 04:49:44 +0000 (+0000) Subject: Added button to turn editing off again ... ugly but ... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7dfa686dbd1df565ce61ffc4815a06cbac6343de;p=moodle.git Added button to turn editing off again ... ugly but ... --- diff --git a/course/category.php b/course/category.php index 2afdfae292..ad0267f115 100644 --- a/course/category.php +++ b/course/category.php @@ -106,6 +106,11 @@ "$strcategories -> $category->name", "", "", true, $navbaritem); } +/// Print button to turn editing off + if ($adminediting) { + echo '
'.update_category_button($category->id).'
'; + } + /// Print link to roles echo '';