argh, another one

git-svn-id: file:///home/shish/svn/shimmie2/trunk@311 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-17 02:23:24 +00:00
parent c908131da8
commit b782b3e970
2 changed files with 6 additions and 6 deletions

View File

@ -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));

View File

@ -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) {