diff --git a/course/category.php b/course/category.php index 14819b44aca..bac0ae985ea 100644 --- a/course/category.php +++ b/course/category.php @@ -204,7 +204,7 @@ } else { $strcourses = get_string("courses"); - $strmove = get_string("move"); + $strselect = get_string("select"); $stredit = get_string("edit"); $strdelete = get_string("delete"); $strbackup = get_string("backup"); @@ -214,6 +214,8 @@ $strhide = get_string("hide"); $strshow = get_string("show"); $strassignteachers = get_string("assignteachers"); + $strallowguests = get_string("allowguests"); + $strrequireskey = get_string("requireskey"); if (empty($THEME->custompix)) { $pixpath = "$CFG->wwwroot/pix"; @@ -228,8 +230,10 @@ if ($creatorediting) { echo "$stredit"; if ($adminediting) { - echo "$strmove"; + echo "$strselect"; } + } else { + echo " "; } echo ""; @@ -280,12 +284,21 @@ echo "id\">"; $abletomovecourses = true; - } else if (isteacher($course->id)) { + } else if (isteacher($course->id)) { echo ""; echo "wwwroot/$CFG->admin/teacher.php?id=$course->id\"> "; - } - echo ""; + } + echo ""; + } else { + echo ""; + if ($course->guest ) { + echo "\"\""; + } + if ($course->password) { + echo "\"\""; + } + echo ""; } echo ""; } diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 9c06396366b..c7e5b031a73 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -632,6 +632,7 @@ $string['sec'] = "sec"; $string['secs'] = "secs"; $string['section'] = "Section"; $string['sections'] = "Sections"; +$string['select'] = "Select"; $string['selectacountry'] = "Select a country"; $string['selectednowmove'] = "\$a files selected for moving. Now go to the destination and press 'Move files to here'"; $string['senddetails'] = "Send my details via email";