-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFunctionHelp.php
More file actions
47 lines (45 loc) · 2.09 KB
/
Copy pathFunctionHelp.php
File metadata and controls
47 lines (45 loc) · 2.09 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">WD Functions</h4>
</div>
<div class="modal-body">
<p>This is the list of all public WD Variables & Functions.</p>
<h3>Variables</h3>
<p>
<b>$_GET['type']:</b> lets Webdesk know if you are opening the MyApps or the Apps directory.<br>
<b>$_GET['app']:</b>lets Webdesk know what App to open.<br>
<b>$_GET['sec']:</b>lets Webdesk know what page of the App to open.<br>
<b>$_GET['wd_as']:</b> posts a success alert.<br>
<b>$_GET['wd_ai']:</b> posts a info alert.<br>
<b>$_GET['wd_as']:</b> posts a warning alert.<br>
<b>$_GET['wd_as']:</b> posts a danger alert.<br>
<b>$wd_type:</b> is a sanitized version of $_GET['type']<br>
<b>$wd_app:</b> is a sanitized version of $_GET['app']<br>
<b>$wd:</b> is a random variable used for various tasks by WebDesk.<br>
<b>$back:</b> desktop background color.<br>
<b>$color:</b> desktop page color.<br>
<b>$pcolor:</b> desktop default page color.<br>
<b>$wd_file:</b> Root directory to user files.<br>
<b>$wd_appFile:</b> Root directory to app files (not app pages).<br>
<b>$_SESSION["Login"]:</b> Used to tell if a user is logged in.<br>
</p>
<h3>Security Functions</h3>
<p>
<b>test_input():</b> Standard sanitation of input.<br>
</p>
<h3>ID's and Classes</h3>
<p>
<b>id="wd_confirm":</b> adds a basic confirm box when element is clicked.<br>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>