diff -r 8d0e3a5a6990 -r 66732bd4532c plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Thu Jan 24 22:14:40 2008 -0500 +++ b/plugins/SpecialAdmin.php Sat Jan 26 11:51:19 2008 -0500 @@ -48,6 +48,13 @@ require(ENANO_ROOT . '/plugins/admin/UserManager.php'); require(ENANO_ROOT . '/plugins/admin/LangManager.php'); +// For convenience and nothing more. +function acp_start_form() +{ + global $db, $session, $paths, $template, $plugins; // Common objects + echo '
'; +} + // function names are IMPORTANT!!! The name pattern is: page__ function page_Admin_Home() { @@ -951,7 +958,7 @@ setConfig('max_file_size', $max_upload.''); } } - echo ''; + acp_start_form(); ?>

get('acpup_heading_main'); ?>

@@ -1051,7 +1058,7 @@

get('acpft_heading_main'); ?>

get('acpft_hint'); ?>

nslist['Special'].'Administration', (( isset($_GET['sqldbg'])) ? 'sqldbg&' : '') .'module='.$paths->cpage['module']).'" method="post">'; + acp_start_form(); $c = -1; $t = -1; $cl = 'row1'; @@ -1458,7 +1465,7 @@ if(!$s) die('Error selecting name value: '.$db->get_error().'
SQL:
'.$q); $r = $db->fetchrow_num($s); $db->free_result(); - echo(''); + acp_start_form(); echo('
Theme name displayed to users:

Default stylesheet: