equal
deleted
inserted
replaced
99 $page = new PageProcessor($paths->cpage['urlname_nons'], $paths->namespace); |
99 $page = new PageProcessor($paths->cpage['urlname_nons'], $paths->namespace); |
100 $page->send(); |
100 $page->send(); |
101 } |
101 } |
102 else |
102 else |
103 { |
103 { |
104 echo 'Error saving the page: '.$e; |
104 echo '<p>Error saving the page: '.$e.'</p>'; |
105 } |
105 } |
106 break; |
106 break; |
107 case "protect": |
107 case "protect": |
108 echo PageUtils::protect($paths->cpage['urlname_nons'], $paths->namespace, (int)$_POST['level'], $_POST['reason']); |
108 echo PageUtils::protect($paths->cpage['urlname_nons'], $paths->namespace, (int)$_POST['level'], $_POST['reason']); |
109 break; |
109 break; |