2 #-- remake of an existing admin/ plugin
3 include("t_config.php");
4 include("plugins/admin/control.php");
5 #-- override some settings, if not concurrently included
6 if (!defined("CONCURRENT_INCLUDE")) {
7 $ewiki_config["script"] = "t_control.php?id=";
8 $ewiki_config["print_title"] = 0;
14 <title>single page control (combined admin features)</title>
15 <link rel="stylesheet" type="text/css" href="t_config.css">
17 <body bgcolor="#ffffff" text="#000000">
22 if ($l = strpos($id, "/")) {
23 $id = substr($id, $l+1);
25 echo "<h1>control page '" .htmlentities($id) . "'</h1>\n\n";
28 if ($data = ewiki_db::GET($id)) {
30 echo str_replace("<hr>", "", ewiki_action_control_page($id, $data, $action));
33 echo "<b>error</b>: page does not exist\n<br>\n\n<br><br>\n";