git-svn-id: file:///home/shish/svn/shimmie2/trunk@1097 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2008-10-18 10:49:16 +00:00
parent 98f6800f9d
commit 721c720f19
9 changed files with 23 additions and 11 deletions

View File

@ -140,7 +140,7 @@ class Setup implements Extension {
if(($event instanceof PageRequestEvent) && $event->page_matches("setup")) {
global $user;
if(!$user->is_admin()) {
$this->theme->display_error($event->page, "Permission Denied", "This page is for admins only");
$this->theme->display_permission_denied($event->page);
}
else {
if($event->get_arg(0) == "save") {