Revision 69
Added by stefan about 19 years ago
index.php | ||
---|---|---|
271 | 271 |
|
272 | 272 |
// Insert templates |
273 | 273 |
$template->set_block('main_block', 'editor_list_block', 'editor_list'); |
274 |
$file='htmlarea';
|
|
275 |
$module_name='HTMLArea';
|
|
274 |
$file='none';
|
|
275 |
$module_name='None';
|
|
276 | 276 |
$template->set_var('FILE', $file); |
277 | 277 |
$template->set_var('NAME', $module_name); |
278 | 278 |
if((!defined('WYSIWYG_EDITOR') OR $file == WYSIWYG_EDITOR) ? $selected = ' selected' : $selected = ''); |
... | ... | |
280 | 280 |
$template->parse('editor_list', 'editor_list_block', true); |
281 | 281 |
if($handle = opendir(WB_PATH.'/modules/')) { |
282 | 282 |
while (false !== ($file = readdir($handle))) { |
283 |
if($file != "." AND $file != ".." AND $file != "CVS" AND is_dir(WB_PATH."/modules/$file") AND file_exists(WB_PATH."/modules/$file/info.php")) {
|
|
283 |
if($file != "." AND $file != ".." AND $file != ".svn" AND is_dir(WB_PATH."/modules/$file") AND file_exists(WB_PATH."/modules/$file/info.php")) {
|
|
284 | 284 |
include(WB_PATH."/modules/$file/info.php"); |
285 | 285 |
if ($module_type == 'WYSIWYG') { |
286 | 286 |
$template->set_var('FILE', $file); |
Also available in: Unified diff
Removed support for internal HTMLArea editor.