|
@@ -25,50 +25,46 @@ if (!empty($_REQUEST['action'])) {
|
25
|
25
|
switch ($_REQUEST['action']) {
|
26
|
26
|
case 'create':
|
27
|
27
|
if ($_POST['action']) {
|
28
|
|
- include('takecreate.php');
|
|
28
|
+ include(SERVER_ROOT.'/sections/wiki/takecreate.php');
|
29
|
29
|
} else {
|
30
|
|
- include('create.php');
|
|
30
|
+ include(SERVER_ROOT.'/sections/wiki/create.php');
|
31
|
31
|
}
|
32
|
32
|
break;
|
33
|
33
|
case 'edit':
|
34
|
34
|
if ($_POST['action']) {
|
35
|
|
- include('takeedit.php');
|
|
35
|
+ include(SERVER_ROOT.'/sections/wiki/takeedit.php');
|
36
|
36
|
} else {
|
37
|
|
- include('edit.php');
|
|
37
|
+ include(SERVER_ROOT.'/sections/wiki/edit.php');
|
38
|
38
|
}
|
39
|
39
|
break;
|
40
|
40
|
case 'delete':
|
41
|
|
- if ($_POST['action']) {
|
42
|
|
- include('takedelete.php');
|
43
|
|
- } else {
|
44
|
|
- include('delete.php');
|
45
|
|
- }
|
|
41
|
+ include(SERVER_ROOT.'/sections/wiki/delete.php');
|
46
|
42
|
break;
|
47
|
43
|
case 'revisions':
|
48
|
|
- include('revisions.php');
|
|
44
|
+ include(SERVER_ROOT.'/sections/wiki/revisions.php');
|
49
|
45
|
break;
|
50
|
46
|
case 'compare':
|
51
|
|
- include('compare.php');
|
|
47
|
+ include(SERVER_ROOT.'/sections/wiki/compare.php');
|
52
|
48
|
break;
|
53
|
49
|
case 'add_alias':
|
54
|
|
- include('add_alias.php');
|
|
50
|
+ include(SERVER_ROOT.'/sections/wiki/add_alias.php');
|
55
|
51
|
break;
|
56
|
52
|
case 'delete_alias':
|
57
|
|
- include('delete_alias.php');
|
|
53
|
+ include(SERVER_ROOT.'/sections/wiki/delete_alias.php');
|
58
|
54
|
break;
|
59
|
55
|
case 'browse':
|
60
|
|
- include('wiki_browse.php');
|
|
56
|
+ include(SERVER_ROOT.'/sections/wiki/wiki_browse.php');
|
61
|
57
|
break;
|
62
|
58
|
case 'article':
|
63
|
|
- include('article.php');
|
|
59
|
+ include(SERVER_ROOT.'/sections/wiki/article.php');
|
64
|
60
|
break;
|
65
|
61
|
case 'search':
|
66
|
|
- include('search.php');
|
|
62
|
+ include(SERVER_ROOT.'/sections/wiki/search.php');
|
67
|
63
|
break;
|
68
|
64
|
}
|
69
|
65
|
} else {
|
70
|
66
|
$_GET['id'] = INDEX_ARTICLE;
|
71
|
|
- include('article.php');
|
|
67
|
+ include(SERVER_ROOT.'/sections/wiki/article.php');
|
72
|
68
|
//include('splash.php');
|
73
|
69
|
}
|
74
|
70
|
?>
|