reserve block slot #0 for site announcements
This commit is contained in:
parent
72a82c7487
commit
d5bc06835d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class UserPageTheme extends Themelet {
|
|||
$page->set_title(html_escape($duser->name)."'s Page");
|
||||
$page->set_heading(html_escape($duser->name)."'s Page");
|
||||
$page->add_block(new NavBlock());
|
||||
$page->add_block(new Block("Stats", join("<br>", $stats), "main", 0));
|
||||
$page->add_block(new Block("Stats", join("<br>", $stats), "main", 10));
|
||||
|
||||
if(!$user->is_anonymous()) {
|
||||
if($user->id == $duser->id || $user->can("edit_user_info")) {
|
||||
|
|
Reference in a new issue