Revision 1359
Added by Dietmar over 13 years ago
fck_wbmodules.php | ||
---|---|---|
25 | 25 |
|
26 | 26 |
// Include the config file |
27 | 27 |
require('../../../../../../config.php'); |
28 |
|
|
29 | 28 |
// Create new admin object |
30 | 29 |
require(WB_PATH.'/framework/class.admin.php'); |
31 | 30 |
$admin = new admin('Pages', 'pages_modify', false); |
... | ... | |
69 | 68 |
|
70 | 69 |
// Get pages and put them into the pages list |
71 | 70 |
$template->set_block('main_block', 'page_list_block', 'page_list'); |
72 |
$database = new database(); |
|
73 | 71 |
$get_pages = $database->query("SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '0' order by position"); |
74 | 72 |
if($get_pages->numRows() > 0) { |
75 | 73 |
// Loop through pages |
Also available in: Unified diff
upgrade FCKeditor to Version 2.6.6