set_filename('show_default', dirname(__FILE__) . '/show_default.tpl'); // Editarea $editarea_options = array( 'syntax' => 'php', 'start_highlight' => true, 'allow_toggle' => false, 'is_editable' => false, 'language' => substr($user['language'], 0, 2)); $file = file_get_contents(PHPWG_ROOT_PATH . $path); $template->assign(array( 'DEFAULT_CONTENT' => $file, 'LOCALEDIT_PATH' => LOCALEDIT_PATH, 'LOAD_EDITAREA' => isset($conf['LocalFilesEditor']) ? $conf['LocalFilesEditor'] : 'on', 'EDITAREA_OPTIONS' => $editarea_options)); $title = $path; $page['page_banner'] = '