-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.php
89 lines (74 loc) · 2.99 KB
/
help.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
/*
Website Baker Project <http://www.websitebaker.org/>
Copyright (C) 2004-2007, Ryan Djurovich
Website Baker is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Website Baker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Website Baker; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// STEP 1: Initialize
require('../../config.php');
// Include WB admin wrapper script
require(WB_PATH.'/modules/admin.php');
$mod_dir = basename(dirname(__FILE__));
// Load Language file
if(LANGUAGE_LOADED) {
require_once(WB_PATH.'/modules/'.$mod_dir.'/languages/EN.php');
if(file_exists(WB_PATH.'/modules/'.$mod_dir.'/languages/'.LANGUAGE.'.php')) {
require_once(WB_PATH.'/modules/'.$mod_dir.'/languages/'.LANGUAGE.'.php');
}
}
// Load correct help fil
if(LANGUAGE_LOADED) {
$help = WB_PATH."/modules/'.$mod_dir.'/languages/help-EN.php";
if(file_exists(WB_PATH.'/modules/'.$mod_dir.'/languages/help-'.LANGUAGE.'.php')) {
$help = WB_PATH.'/modules/'.$mod_dir.'/languages/help-'.LANGUAGE.'.php';
}
}
// STEP 2: Get actual settings from database
$query_settings = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_members_settings WHERE section_id = '$section_id'");
$settings = $query_settings->fetchRow();
// STEP 3: Display the help page.
?>
<table class="row_changelog" cellpadding="2" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td class="setting_name">
<?php include($help); // Load help file ?>
<!--a name="changelog"></a><h4>Changelog</h4>
<ul>
<li><strong>Version 0.3.0 (07-03-2008) by Chio</strong>
<ul>
<li><strong>Start:</strong> Based on Module "Team"</li>
</ul>
</li>
<li><strong>Version 0.4.0 (17-06-2008)</strong>
<ul>
<li>Changes and Bugfixes by Ruud</li>
<li>Added "GetFrom" and "Presets" by Chio</li>
</ul>
</li>
<li><strong>Version 0.5.0 (15-12-2008)</strong>
<ul>
<li>Changes and Bugfixes</li>
<li>Use Aliases is now by default OFF</li>
</ul>
</li>
</ul-->
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<input class="btn w3-blue-wb w3-hover-green w3-round-small" type="button" value="<?php echo $TEXT['BACK']; ?>" onclick="javascript: window.location = '<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page_id; ?>';" style="width: 100px; margin-top: 5px;" />
</td>
</tr>
</table>