From 7dfa686dbd1df565ce61ffc4815a06cbac6343de Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 4 Oct 2006 04:49:44 +0000 Subject: [PATCH] Added button to turn editing off again ... ugly but ... --- course/category.php | 5 +++++ 1 file changed, 5 insertions(+) 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 ''; -- 2.39.5