argh, another one
git-svn-id: file:///home/shish/svn/shimmie2/trunk@311 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
c908131da8
commit
b782b3e970
@ -81,7 +81,7 @@ class UserPage extends Extension {
|
||||
global $page;
|
||||
|
||||
if($user->is_anonymous()) {
|
||||
$this->theme->display_login_block($event->page);
|
||||
$this->theme->display_login_block($event->page_object);
|
||||
}
|
||||
else {
|
||||
$page->add_block(new Block("User Links", $this->build_links_block(), "left", 90));
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
class UserPageTheme extends Themelet {
|
||||
public function display_login_page($page) {
|
||||
$page->set_title("Login");
|
||||
$page->set_heading("Login");
|
||||
$page->add_block(new NavBlock());
|
||||
$page->add_block(new Block("Login There",
|
||||
"There should be a login box to the left"));
|
||||
$page->set_title("Login");
|
||||
$page->set_heading("Login");
|
||||
$page->add_block(new NavBlock());
|
||||
$page->add_block(new Block("Login There",
|
||||
"There should be a login box to the left"));
|
||||
}
|
||||
|
||||
public function display_signup_page($page) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user