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:
moodler
2005-03-20 12:02:14 +00:00
parent ce5e431b60
commit f9a0ea699c
10 changed files with 290 additions and 73 deletions
+11 -2
View File
@@ -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 />";