4b1b00ee028d6c0b3ac7f30cb20373b5634117c8
[atutor.git] / mods / wiki / tools / t_textupload.php
1 <?php
2   #-- remake of an existing admin/ plugin
3   include("t_config.php");
4   if (!function_exists("ewiki_page_textupload")) {
5      include("plugins/page/textupload.php");
6   }
7   #-- override some settings
8   if (!defined("CONCURRENT_INCLUDE")) {
9     $ewiki_config["script"] = "t_textupload.php?id=";
10     $ewiki_config["print_title"] = 0;
11     $ewiki_ring = 0;
12   }
13 ?>
14 <html>
15 <head>
16  <title>Upload text files as WikiPage</title>
17  <link rel="stylesheet" type="text/css" href="t_config.css">
18 </head>
19 <body bgcolor="#ffffff" text="#000000">
20 <h1>TextUpload</h1>
21 <?php
22    $id = "TextUpload";
23    $action = "view";
24    $data = array();
25    echo ewiki_page_textupload($id, $data, $action);
26 ?>
27 <br><br>
28 </body>
29 </html>