set_filename('show_default', dirname(__FILE__) . '/show_default.tpl'); // Editarea if (!isset($conf['editarea_options']) or $conf['editarea_options'] !== false) { $editarea = array( 'syntax' => 'php', 'start_highlight' => true, 'is_editable' => false, 'language' => substr($user['language'], 0, 2)); $template->assign('editarea', array( 'URL' => LOCALEDIT_PATH . 'editarea/edit_area_full.js', 'OPTIONS' => $editarea)); } $file = file_get_contents(PHPWG_ROOT_PATH . $path); $template->assign(array('DEFAULT_CONTENT' => $file)); $title = $path; $page['page_banner'] = '