equal
deleted
inserted
replaced
114 $page = new PageProcessor($paths->cpage['urlname_nons'], $paths->namespace); |
114 $page = new PageProcessor($paths->cpage['urlname_nons'], $paths->namespace); |
115 $page->send(); |
115 $page->send(); |
116 } |
116 } |
117 else |
117 else |
118 { |
118 { |
119 echo 'Error saving the page: '.$e; |
119 echo '<p>Error saving the page: '.$e.'</p>'; |
120 } |
120 } |
121 break; |
121 break; |
122 case "protect": |
122 case "protect": |
123 echo PageUtils::protect($paths->cpage['urlname_nons'], $paths->namespace, (int)$_POST['level'], $_POST['reason']); |
123 echo PageUtils::protect($paths->cpage['urlname_nons'], $paths->namespace, (int)$_POST['level'], $_POST['reason']); |
124 break; |
124 break; |