New user tabs from Shane and myself ... these bring together the
profile interface a little better. There is also a new feature for showing all posts from a user, as well as all discussions from a user.
This commit is contained in:
+11
-2
@@ -249,6 +249,17 @@
|
||||
"<a href=\"$CFG->wwwroot/$CFG->admin/users.php\">$strusers</a> -> $straddnewuser", "");
|
||||
}
|
||||
|
||||
|
||||
/// Print tabs at top
|
||||
/// This same call is made in:
|
||||
/// /user/view.php
|
||||
/// /user/edit.php
|
||||
/// /course/user.php
|
||||
$currenttab = 'editprofile';
|
||||
include('tabs.php');
|
||||
|
||||
|
||||
|
||||
$teacher = strtolower($course->teacher);
|
||||
if (!isadmin()) {
|
||||
$teacheronly = "(".get_string("teacheronly", "", $teacher).")";
|
||||
@@ -256,8 +267,6 @@
|
||||
$teacheronly = "";
|
||||
}
|
||||
|
||||
print_heading( get_string("userprofilefor", "", "$userfullname") );
|
||||
|
||||
if (isset($USER->newadminuser)) {
|
||||
print_simple_box(get_string("configintroadmin", 'admin'), "center", "50%");
|
||||
echo "<br />";
|
||||
|
||||
Reference in New Issue
Block a user