From e846720b056e865012056d7d3fcab80fae08855e Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 3 Jan 2004 01:55:55 +0000 Subject: [PATCH] Sidebar update git-svn-id: http://svn.automattic.com/wordpress/trunk@697 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/sidebar.php | 122 ++++++++++++------------------------------- 1 file changed, 32 insertions(+), 90 deletions(-) diff --git a/wp-admin/sidebar.php b/wp-admin/sidebar.php index 89d87c871a..dcfd26f733 100644 --- a/wp-admin/sidebar.php +++ b/wp-admin/sidebar.php @@ -1,43 +1,32 @@ */ function selected($selected, $current) { if ($selected == $current) echo ' selected="selected"'; } -$mode = "sidebar"; +$mode = 'sidebar'; $standalone = 1; -require_once("admin-header.php"); +require_once('admin-header.php'); get_currentuserinfo(); -// just your usual browser thing because we're still too far from standards -$is_gecko = preg_match("/Gecko/",$HTTP_USER_AGENT); -$is_winIE = ((preg_match("/MSIE/",$HTTP_USER_AGENT)) && (preg_match("/Win/",$HTTP_USER_AGENT))); -$is_macIE = ((preg_match("/MSIE/",$HTTP_USER_AGENT)) && (preg_match("/Mac/",$HTTP_USER_AGENT))); -$is_IE = (($is_macIE) || ($is_winIE)); - if ($user_level == 0) die ("Cheatin' uh ?"); -$time_difference=get_settings('time_difference'); +$time_difference = get_settings('time_difference'); -if ($a=="b") { +if ('b' == $HTTP_GET_VARS['a']) { ?> +WordPress > Posted - -
- - -
+Posted !

Click here to post again.

-
-WordPress > sidebar +WordPress > Sidebar - - - -
- + +

WordPress

+ +
- - - +

Title: + +

+ +

+Post: + +

+

+ + + +

-
- - + +?> \ No newline at end of file