equal
deleted
inserted
replaced
102 break; |
102 break; |
103 case "setpass": |
103 case "setpass": |
104 echo PageUtils::setpass($paths->cpage['urlname_nons'], $paths->namespace, $_POST['password']); |
104 echo PageUtils::setpass($paths->cpage['urlname_nons'], $paths->namespace, $_POST['password']); |
105 break; |
105 break; |
106 case "wikihelp": |
106 case "wikihelp": |
107 $html = file_get_contents('http://www.enanocms.org/ajax.php?title=Help:Wiki_formatting&_mode=getpage&nofooters'); |
107 $html = file_get_contents('http://enanocms.org/ajax.php?title=Help:Wiki_formatting&_mode=getpage&nofooters'); |
108 $html = str_replace('src="/Special', 'src="http://www.enanocms.org/Special', $html); |
108 $html = str_replace('src="/Special', 'src="http://enanocms.org/Special', $html); |
109 echo '<div class="contentDiv"><h2>Wiki formatting guide</h2>'.$html.'</div>'; |
109 echo '<div class="contentDiv"><h2>Wiki formatting guide</h2>'.$html.'</div>'; |
110 break; |
110 break; |
111 case "fillusername": |
111 case "fillusername": |
112 $name = (isset($_GET['name'])) ? $db->escape($_GET['name']) : false; |
112 $name = (isset($_GET['name'])) ? $db->escape($_GET['name']) : false; |
113 if ( !$name ) |
113 if ( !$name ) |