From 151e726b7bb00a3f46a64bb10c71011bd56dca34 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 13 Jul 2005 16:52:09 +0000 Subject: Merge from WP Core, things are broken right now. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@20 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-admin/profile.php | 99 ++++++++++++++++++++++++++++---------------- 1 file changed, 64 insertions(+), 35 deletions(-) (limited to 'wp-inst/wp-admin/profile.php') diff --git a/wp-inst/wp-admin/profile.php b/wp-inst/wp-admin/profile.php index 4fe4162..66ec010 100644 --- a/wp-inst/wp-admin/profile.php +++ b/wp-inst/wp-admin/profile.php @@ -24,6 +24,38 @@ require_once('../wp-config.php'); auth_redirect(); switch($action) { +case 'IErightclick': + + $bookmarklet_height= 550; + + ?> + + + + + +
+ +

To have a one-click bookmarklet, just copy and paste this
into a new text file:

+ +
+

Save it as wordpress.reg, and double-click on this file in an Explorer
+ window. Answer Yes to the question, and restart Internet Explorer.

+ That's it, you can now right-click in an IE window and select
+ 'Post to WP' to make the bookmarklet appear. :)

+ +

+

+ +
+

+
+ - - - - - -
- -

To have a one-click bookmarklet, just copy and paste this
into a new text file:

- -
-

Save it as wordpress.reg, and double-click on this file in an Explorer
- window. Answer Yes to the question, and restart Internet Explorer.

- That's it, you can now right-click in an IE window and select
- 'Post to WP' to make the bookmarklet appear. :)

- -

-

- -
-

-
- data; $bookmarklet_height= 440; @@ -159,8 +160,15 @@ if (isset($updated)) { ?> user_login; ?> - - user_level; ?> + + roles as $role => $value) { + if($output != '') $output .= ', '; + $output .= $wp_roles->role_names[$role]; + } + echo $output; + ?> @@ -169,6 +177,25 @@ if (isset($updated)) { ?> echo $posts; ?> + caps) > count($profileuser->roles)): + ?> + + + caps as $cap => $value) { + if(!$wp_roles->is_role($cap)) { + if($output != '') $output .= ', '; + $output .= $value ? $cap : "Denied: {$cap}"; + } + } + echo $output; + ?> + + @@ -229,6 +256,8 @@ if (isset($updated)) { ?> -- cgit