From 9ca5b4c67f034a96e099f62c6e56371041970893 Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Tue, 31 Aug 2004 07:25:35 +0000
Subject: [PATCH] Merged button from stable

---
 course/category.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/course/category.php b/course/category.php
index 87bbdd1433..59303efc5d 100644
--- a/course/category.php
+++ b/course/category.php
@@ -262,7 +262,8 @@
         $strhide     = get_string("hide");
         $strshow     = get_string("show");
         $strsummary  = get_string("summary");
-        $strassignteachers     = get_string("assignteachers");
+        $strsettings = get_string("settings");
+        $strassignteachers  = get_string("assignteachers");
         $strallowguests     = get_string("allowguests");
         $strrequireskey     = get_string("requireskey");
 
@@ -300,6 +301,8 @@
             if ($creatorediting) {
                 if ($adminediting) {
                     echo "<td>";
+                    echo "<a title=\"$strsettings\" href=\"$CFG->wwwroot/course/edit.php?id=$acourse->id\"><img".
+                         " src=\"$pixpath/t/edit.gif\" height=11 width=11 border=0></a> ";
                     echo "<a title=\"$strassignteachers\" href=\"$CFG->wwwroot/course/teacher.php?id=$acourse->id\"><img".
                          " src=\"$pixpath/t/user.gif\" height=11 width=11 border=0></a> ";
                     echo "<a title=\"$strdelete\" href=\"delete.php?id=$acourse->id\"><img".
@@ -339,6 +342,8 @@
 
                 } else if (isteacheredit($acourse->id)) {
                     echo "<td>";
+                    echo "<a title=\"$strsettings\" href=\"$CFG->wwwroot/course/edit.php?id=$acourse->id\"><img".
+                         " src=\"$pixpath/t/edit.gif\" height=11 width=11 border=0></a> ";
                     echo "<a title=\"$strassignteachers\" href=\"$CFG->wwwroot/course/teacher.php?id=$acourse->id\"><img".
                          " src=\"$pixpath/t/user.gif\" height=11 width=11 border=0></a> ";
                 }
-- 
2.39.5