diff -r be6c5fdd9203 -r 4ccdfeee9a11 plugins/SpecialPageFuncs.php --- a/plugins/SpecialPageFuncs.php Mon Dec 31 21:43:51 2007 -0500 +++ b/plugins/SpecialPageFuncs.php Thu Jan 03 00:53:33 2008 -0500 @@ -161,7 +161,7 @@ if ( !$perms->get_permissions('create_page') ) die_friendly($lang->get('pagetools_create_err_title'), '
An access control rule is preventing you from creating pages.
'); - $q = $db->sql_query('INSERT INTO '.table_prefix.'logs(time_id,date_string,log_type,action,author,page_id,namespace) VALUES('.time().', \''.date('d M Y h:i a').'\', \'page\', \'create\', \''.$session->username.'\', \''.$urlname.'\', \''.$_POST['namespace'].'\');'); + $q = $db->sql_query('INSERT INTO '.table_prefix.'logs(time_id,date_string,log_type,action,author,page_id,namespace) VALUES('.time().', \''.enano_date('d M Y h:i a').'\', \'page\', \'create\', \''.$session->username.'\', \''.$urlname.'\', \''.$_POST['namespace'].'\');'); if ( !$q ) { $db->_die('The page log could not be updated.'); @@ -333,6 +333,8 @@ { // This should be an easy one global $db, $session, $paths, $template, $plugins; // Common objects + global $lang; + $template->header(); $sz = sizeof($paths->pages) / 2; echo '' . $lang->get('pagetools_specialpages_blurb') . '