diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
commit | 600b71019494e1c29898a620e58c0d2602f37b74 (patch) | |
tree | 21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-admin/profile.php | |
parent | 7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff) | |
download | wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip |
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/profile.php')
-rw-r--r-- | wp-admin/profile.php | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/wp-admin/profile.php b/wp-admin/profile.php index f1c38b4..6c96230 100644 --- a/wp-admin/profile.php +++ b/wp-admin/profile.php @@ -1,4 +1,4 @@ -<?php +<?php require_once('admin.php'); $title = __('Profile'); @@ -30,13 +30,14 @@ $bookmarklet_height= 440; <h3><?php _e('Personal Options'); ?></h3> +<?php if ( rich_edit_exists() ) : // don't bother showing the option if the editor has been removed ?> <p><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_user_option('rich_editing')); ?> /> <?php _e('Use the visual editor when writing') ?></label></p> +<?php endif; ?> <?php do_action('profile_personal_options'); ?> <p class="submit"><input type="submit" value="<?php _e('Update Profile »') ?>" name="submit" /></p> -<div style="clear: both"></div> <fieldset> <legend><?php _e('Name'); ?></legend> @@ -120,13 +121,13 @@ if ( $show_password_fields ) : <br clear="all" /> - <table width="99%" border="0" cellspacing="2" cellpadding="3" class="editform"> - <?php - if(count($profileuser->caps) > count($profileuser->roles)): - ?> - <tr> - <th scope="row"><?php _e('Additional Capabilities:') ?></th> - <td><?php + <table width="99%" border="0" cellspacing="2" cellpadding="3" class="editform"> + <?php + if(count($profileuser->caps) > count($profileuser->roles)): + ?> + <tr> + <th scope="row"><?php _e('Additional Capabilities:') ?></th> + <td><?php $output = ''; foreach($profileuser->caps as $cap => $value) { if(!$wp_roles->is_role($cap)) { |