much theme docs, and some display_my_foo_error replaced with generic display_error

git-svn-id: file:///home/shish/svn/shimmie2/trunk@395 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-07-28 20:30:01 +00:00
parent 29829efc66
commit 0b7c038f52
19 changed files with 141 additions and 56 deletions

View File

@@ -138,7 +138,7 @@ class Setup extends Extension {
if(is_a($event, 'PageRequestEvent') && ($event->page_name == "setup")) {
global $user;
if(!$user->is_admin()) {
$this->theme->display_not_admin($event->page);
$this->theme->display_error($event->page, "Permission Denied", "This page is for admins only");
}
else {
if($event->get_arg(0) == "save") {