-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit_path.php
executable file
·34 lines (28 loc) · 1.01 KB
/
edit_path.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
error_reporting(E_ALL);
session_start();
include "edit_path_pages.php";
include "connectvars.php";
include "header.php";
$entries = array(
new AutoEntry("NAME","text","regular","",true),
new AutoEntry("DESCRIPTION","textarea","regular","",true),
new AutoEntry("ORIGIN","text","regular","",true),
new AutoEntry("DESTINATION","text","regular","",true),
new AutoEntry("REQUIREMENT","text","regular","",false),
new AutoEntry("SUCCESS_TEXT","textarea","regular","",false),
new AutoEntry("FAILURE_TEXT","textarea","regular","",false),
new AutoEntry("world","number","autoget","",true)
);
$forms = array(
new AutoForm("Edit Path","editPath",$entries,false)
);
$autoGets = array(
array("username","Error: You need to be signed in to select a world to edit."),
array("world","Error: You need to select a world in order to edit it.")
);
$hasTable = false;
$hasLog = false;
$page = new AutoPage("Quest Database","Edit Path",$forms,$content,$autoGets,$hasTable,$hasLog);
$page->generatePage();
?>