raw
mp-wp_genesis           1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * Edit user administration panel.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 /** WordPress Administration Bootstrap */
mp-wp_genesis 10 require_once('admin.php');
mp-wp_genesis 11
mp-wp_genesis 12 if ( defined('IS_PROFILE_PAGE') && IS_PROFILE_PAGE )
mp-wp_genesis 13 $is_profile_page = true;
mp-wp_genesis 14 else
mp-wp_genesis 15 $is_profile_page = false;
mp-wp_genesis 16
mp-wp_genesis 17 /**
mp-wp_genesis 18 * Display JavaScript for profile page.
mp-wp_genesis 19 *
mp-wp_genesis 20 * @since 2.5.0
mp-wp_genesis 21 */
mp-wp_genesis 22 function profile_js ( ) {
mp-wp_genesis 23 ?>
mp-wp_genesis 24 <script type="text/javascript">
mp-wp_genesis 25 (function($){
mp-wp_genesis 26
mp-wp_genesis 27 function check_pass_strength () {
mp-wp_genesis 28
mp-wp_genesis 29 var pass = $('#pass1').val();
mp-wp_genesis 30 var user = $('#user_login').val();
mp-wp_genesis 31
mp-wp_genesis 32 $('#pass-strength-result').removeClass('short bad good strong');
mp-wp_genesis 33 if ( ! pass ) {
mp-wp_genesis 34 $('#pass-strength-result').html( pwsL10n.empty );
mp-wp_genesis 35 return;
mp-wp_genesis 36 }
mp-wp_genesis 37
mp-wp_genesis 38 var strength = passwordStrength(pass, user);
mp-wp_genesis 39
mp-wp_genesis 40 if ( 2 == strength )
mp-wp_genesis 41 $('#pass-strength-result').addClass('bad').html( pwsL10n.bad );
mp-wp_genesis 42 else if ( 3 == strength )
mp-wp_genesis 43 $('#pass-strength-result').addClass('good').html( pwsL10n.good );
mp-wp_genesis 44 else if ( 4 == strength )
mp-wp_genesis 45 $('#pass-strength-result').addClass('strong').html( pwsL10n.strong );
mp-wp_genesis 46 else
mp-wp_genesis 47 // this catches 'Too short' and the off chance anything else comes along
mp-wp_genesis 48 $('#pass-strength-result').addClass('short').html( pwsL10n.short );
mp-wp_genesis 49
mp-wp_genesis 50 }
mp-wp_genesis 51
mp-wp_genesis 52 function update_nickname () {
mp-wp_genesis 53
mp-wp_genesis 54 var nickname = $('#nickname').val();
mp-wp_genesis 55 var display_nickname = $('#display_nickname').val();
mp-wp_genesis 56
mp-wp_genesis 57 if ( nickname == '' ) {
mp-wp_genesis 58 $('#display_nickname').remove();
mp-wp_genesis 59 }
mp-wp_genesis 60 $('#display_nickname').val(nickname).html(nickname);
mp-wp_genesis 61
mp-wp_genesis 62 }
mp-wp_genesis 63
mp-wp_genesis 64 $(document).ready( function() {
mp-wp_genesis 65 $('#nickname').blur(update_nickname);
mp-wp_genesis 66 $('#pass1').val('').keyup( check_pass_strength );
mp-wp_genesis 67 $('.color-palette').click(function(){$(this).siblings('input[name=admin_color]').attr('checked', 'checked')});
mp-wp_genesis 68 });
mp-wp_genesis 69 })(jQuery);
mp-wp_genesis 70 </script>
mp-wp_genesis 71 <?php
mp-wp_genesis 72 }
mp-wp_genesis 73
mp-wp_genesis 74 if ( $is_profile_page ) {
mp-wp_genesis 75 add_action('admin_head', 'profile_js');
mp-wp_genesis 76 wp_enqueue_script('jquery');
mp-wp_genesis 77 wp_enqueue_script('password-strength-meter');
mp-wp_genesis 78 }
mp-wp_genesis 79
mp-wp_genesis 80 $title = $is_profile_page? __('Profile') : __('Edit User');
mp-wp_genesis 81 if ( current_user_can('edit_users') && !$is_profile_page )
mp-wp_genesis 82 $submenu_file = 'users.php';
mp-wp_genesis 83 else
mp-wp_genesis 84 $submenu_file = 'profile.php';
mp-wp_genesis 85 $parent_file = 'users.php';
mp-wp_genesis 86
mp-wp_genesis 87 wp_reset_vars(array('action', 'redirect', 'profile', 'user_id', 'wp_http_referer'));
mp-wp_genesis 88
mp-wp_genesis 89 $wp_http_referer = remove_query_arg(array('update', 'delete_count'), stripslashes($wp_http_referer));
mp-wp_genesis 90
mp-wp_genesis 91 $user_id = (int) $user_id;
mp-wp_genesis 92
mp-wp_genesis 93 if ( !$user_id ) {
mp-wp_genesis 94 if ( $is_profile_page ) {
mp-wp_genesis 95 $current_user = wp_get_current_user();
mp-wp_genesis 96 $user_id = $current_user->ID;
mp-wp_genesis 97 } else {
mp-wp_genesis 98 wp_die(__('Invalid user ID.'));
mp-wp_genesis 99 }
mp-wp_genesis 100 } elseif ( !get_userdata($user_id) ) {
mp-wp_genesis 101 wp_die( __('Invalid user ID.') );
mp-wp_genesis 102 }
mp-wp_genesis 103
mp-wp_genesis 104 /**
mp-wp_genesis 105 * Optional SSL preference that can be turned on by hooking to the 'personal_options' action.
mp-wp_genesis 106 *
mp-wp_genesis 107 * @since 2.7.0
mp-wp_genesis 108 *
mp-wp_genesis 109 * @param object $user User data object
mp-wp_genesis 110 */
mp-wp_genesis 111 function use_ssl_preference($user) {
mp-wp_genesis 112 ?>
mp-wp_genesis 113 <tr>
mp-wp_genesis 114 <th scope="row"><?php _e('Use https')?></th>
mp-wp_genesis 115 <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin'); ?></label></td>
mp-wp_genesis 116 </tr>
mp-wp_genesis 117 <?php
mp-wp_genesis 118 }
mp-wp_genesis 119
mp-wp_genesis 120 switch ($action) {
mp-wp_genesis 121 case 'switchposts':
mp-wp_genesis 122
mp-wp_genesis 123 check_admin_referer();
mp-wp_genesis 124
mp-wp_genesis 125 /* TODO: Switch all posts from one user to another user */
mp-wp_genesis 126
mp-wp_genesis 127 break;
mp-wp_genesis 128
mp-wp_genesis 129 case 'update':
mp-wp_genesis 130
mp-wp_genesis 131 check_admin_referer('update-user_' . $user_id);
mp-wp_genesis 132
mp-wp_genesis 133 if ( !current_user_can('edit_user', $user_id) )
mp-wp_genesis 134 wp_die(__('You do not have permission to edit this user.'));
mp-wp_genesis 135
mp-wp_genesis 136 if ($is_profile_page)
mp-wp_genesis 137 do_action('personal_options_update');
mp-wp_genesis 138 else
mp-wp_genesis 139 do_action('edit_user_profile_update');
mp-wp_genesis 140
mp-wp_genesis 141 $errors = edit_user($user_id);
mp-wp_genesis 142
mp-wp_genesis 143 if ( !is_wp_error( $errors ) ) {
mp-wp_genesis 144 $redirect = ($is_profile_page? "profile.php?" : "user-edit.php?user_id=$user_id&"). "updated=true";
mp-wp_genesis 145 $redirect = add_query_arg('wp_http_referer', urlencode($wp_http_referer), $redirect);
mp-wp_genesis 146 wp_redirect($redirect);
mp-wp_genesis 147 exit;
mp-wp_genesis 148 }
mp-wp_genesis 149
mp-wp_genesis 150 default:
mp-wp_genesis 151 $profileuser = get_user_to_edit($user_id);
mp-wp_genesis 152
mp-wp_genesis 153 if ( !current_user_can('edit_user', $user_id) )
mp-wp_genesis 154 wp_die(__('You do not have permission to edit this user.'));
mp-wp_genesis 155
mp-wp_genesis 156 include ('admin-header.php');
mp-wp_genesis 157 ?>
mp-wp_genesis 158
mp-wp_genesis 159 <?php if ( isset($_GET['updated']) ) : ?>
mp-wp_genesis 160 <div id="message" class="updated fade">
mp-wp_genesis 161 <p><strong><?php _e('User updated.') ?></strong></p>
mp-wp_genesis 162 <?php if ( $wp_http_referer && !$is_profile_page ) : ?>
mp-wp_genesis 163 <p><a href="users.php"><?php _e('&larr; Back to Authors and Users'); ?></a></p>
mp-wp_genesis 164 <?php endif; ?>
mp-wp_genesis 165 </div>
mp-wp_genesis 166 <?php endif; ?>
mp-wp_genesis 167 <?php if ( isset( $errors ) && is_wp_error( $errors ) ) : ?>
mp-wp_genesis 168 <div class="error">
mp-wp_genesis 169 <ul>
mp-wp_genesis 170 <?php
mp-wp_genesis 171 foreach( $errors->get_error_messages() as $message )
mp-wp_genesis 172 echo "<li>$message</li>";
mp-wp_genesis 173 ?>
mp-wp_genesis 174 </ul>
mp-wp_genesis 175 </div>
mp-wp_genesis 176 <?php endif; ?>
mp-wp_genesis 177
mp-wp_genesis 178 <div class="wrap" id="profile-page">
mp-wp_genesis 179 <?php screen_icon(); ?>
mp-wp_genesis 180 <h2><?php echo wp_specialchars( $title ); ?></h2>
mp-wp_genesis 181
mp-wp_genesis 182 <form id="your-profile" action="" method="post">
mp-wp_genesis 183 <?php wp_nonce_field('update-user_' . $user_id) ?>
mp-wp_genesis 184 <?php if ( $wp_http_referer ) : ?>
mp-wp_genesis 185 <input type="hidden" name="wp_http_referer" value="<?php echo clean_url($wp_http_referer); ?>" />
mp-wp_genesis 186 <?php endif; ?>
mp-wp_genesis 187 <p>
mp-wp_genesis 188 <input type="hidden" name="from" value="profile" />
mp-wp_genesis 189 <input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
mp-wp_genesis 190 </p>
mp-wp_genesis 191
mp-wp_genesis 192 <h3><?php _e('Personal Options'); ?></h3>
mp-wp_genesis 193
mp-wp_genesis 194 <table class="form-table">
mp-wp_genesis 195 <?php if (count($_wp_admin_css_colors) > 1 ) : ?>
mp-wp_genesis 196 <tr>
mp-wp_genesis 197 <th scope="row"><?php _e('Admin Color Scheme')?></th>
mp-wp_genesis 198 <td><fieldset><legend class="hidden"><?php _e('Admin Color Scheme')?></legend>
mp-wp_genesis 199 <?php
mp-wp_genesis 200 $current_color = get_user_option('admin_color', $user_id);
mp-wp_genesis 201 if ( empty($current_color) )
mp-wp_genesis 202 $current_color = 'fresh';
mp-wp_genesis 203 foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
mp-wp_genesis 204 <div class="color-option"><input name="admin_color" id="admin_color_<?php echo $color; ?>" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, $current_color); ?> />
mp-wp_genesis 205 <table class="color-palette">
mp-wp_genesis 206 <tr>
mp-wp_genesis 207 <?php foreach ( $color_info->colors as $html_color ): ?>
mp-wp_genesis 208 <td style="background-color: <?php echo $html_color ?>" title="<?php echo $color ?>">&nbsp;</td>
mp-wp_genesis 209 <?php endforeach; ?>
mp-wp_genesis 210 </tr>
mp-wp_genesis 211 </table>
mp-wp_genesis 212
mp-wp_genesis 213 <label for="admin_color_<?php echo $color; ?>"><?php echo $color_info->name ?></label>
mp-wp_genesis 214 </div>
mp-wp_genesis 215 <?php endforeach; ?>
mp-wp_genesis 216 </fieldset></td>
mp-wp_genesis 217 </tr>
mp-wp_genesis 218 <tr>
mp-wp_genesis 219 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
mp-wp_genesis 220 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e( 'Enable keyboard shortcuts for comment moderation. <a href="http://codex.wordpress.org/Keyboard_Shortcuts">More information</a>' ); ?></label></td>
mp-wp_genesis 221 </tr>
mp-wp_genesis 222 <?php
mp-wp_genesis 223 endif;
mp-wp_genesis 224 do_action('personal_options', $profileuser);
mp-wp_genesis 225 ?>
mp-wp_genesis 226 </table>
mp-wp_genesis 227 <?php
mp-wp_genesis 228 if ( $is_profile_page )
mp-wp_genesis 229 do_action('profile_personal_options', $profileuser);
mp-wp_genesis 230 ?>
mp-wp_genesis 231
mp-wp_genesis 232 <h3><?php _e('Name') ?></h3>
mp-wp_genesis 233
mp-wp_genesis 234 <table class="form-table">
mp-wp_genesis 235 <tr>
mp-wp_genesis 236 <th><label for="user_login"><?php _e('Username'); ?></label></th>
mp-wp_genesis 237 <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" class="regular-text" /> <?php _e('Your username cannot be changed.'); ?></td>
mp-wp_genesis 238 </tr>
mp-wp_genesis 239
mp-wp_genesis 240 <?php if ( !$is_profile_page ): ?>
mp-wp_genesis 241 <tr><th><label for="role"><?php _e('Role:') ?></label></th>
mp-wp_genesis 242 <?php
mp-wp_genesis 243 // print_r($profileuser);
mp-wp_genesis 244 echo '<td><select name="role" id="role">';
mp-wp_genesis 245 $role_list = '';
mp-wp_genesis 246 $user_has_role = false;
mp-wp_genesis 247 foreach($wp_roles->role_names as $role => $name) {
mp-wp_genesis 248 $name = translate_with_context($name);
mp-wp_genesis 249 if ( $profileuser->has_cap($role) ) {
mp-wp_genesis 250 $selected = ' selected="selected"';
mp-wp_genesis 251 $user_has_role = true;
mp-wp_genesis 252 } else {
mp-wp_genesis 253 $selected = '';
mp-wp_genesis 254 }
mp-wp_genesis 255 $role_list .= "<option value=\"{$role}\"{$selected}>{$name}</option>";
mp-wp_genesis 256 }
mp-wp_genesis 257 if ( $user_has_role )
mp-wp_genesis 258 $role_list .= '<option value="">' . __('&mdash; No role for this blog &mdash;') . '</option>';
mp-wp_genesis 259 else
mp-wp_genesis 260 $role_list .= '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;') . '</option>';
mp-wp_genesis 261 echo $role_list . '</select></td></tr>';
mp-wp_genesis 262 ?>
mp-wp_genesis 263 <?php endif; ?>
mp-wp_genesis 264
mp-wp_genesis 265 <tr>
mp-wp_genesis 266 <th><label for="first_name"><?php _e('First name') ?></label></th>
mp-wp_genesis 267 <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" class="regular-text" /></td>
mp-wp_genesis 268 </tr>
mp-wp_genesis 269
mp-wp_genesis 270 <tr>
mp-wp_genesis 271 <th><label for="last_name"><?php _e('Last name') ?></label></th>
mp-wp_genesis 272 <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" class="regular-text" /></td>
mp-wp_genesis 273 </tr>
mp-wp_genesis 274
mp-wp_genesis 275 <tr>
mp-wp_genesis 276 <th><label for="nickname"><?php _e('Nickname') ?></label></th>
mp-wp_genesis 277 <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" class="regular-text" /></td>
mp-wp_genesis 278 </tr>
mp-wp_genesis 279
mp-wp_genesis 280 <tr>
mp-wp_genesis 281 <th><label for="display_name"><?php _e('Display name publicly&nbsp;as') ?></label></th>
mp-wp_genesis 282 <td>
mp-wp_genesis 283 <select name="display_name" id="display_name">
mp-wp_genesis 284 <?php
mp-wp_genesis 285 $public_display = array();
mp-wp_genesis 286 $public_display['display_displayname'] = $profileuser->display_name;
mp-wp_genesis 287 $public_display['display_nickname'] = $profileuser->nickname;
mp-wp_genesis 288 $public_display['display_username'] = $profileuser->user_login;
mp-wp_genesis 289 $public_display['display_firstname'] = $profileuser->first_name;
mp-wp_genesis 290 $public_display['display_firstlast'] = $profileuser->first_name.' '.$profileuser->last_name;
mp-wp_genesis 291 $public_display['display_lastfirst'] = $profileuser->last_name.' '.$profileuser->first_name;
mp-wp_genesis 292 $public_display = array_unique(array_filter(array_map('trim', $public_display)));
mp-wp_genesis 293 foreach($public_display as $id => $item) {
mp-wp_genesis 294 ?>
mp-wp_genesis 295 <option id="<?php echo $id; ?>" value="<?php echo $item; ?>"><?php echo $item; ?></option>
mp-wp_genesis 296 <?php
mp-wp_genesis 297 }
mp-wp_genesis 298 ?>
mp-wp_genesis 299 </select>
mp-wp_genesis 300 </td>
mp-wp_genesis 301 </tr>
mp-wp_genesis 302 </table>
mp-wp_genesis 303
mp-wp_genesis 304 <h3><?php _e('Contact Info') ?></h3>
mp-wp_genesis 305
mp-wp_genesis 306 <table class="form-table">
mp-wp_genesis 307 <tr>
mp-wp_genesis 308 <th><label for="email"><?php _e('E-mail') ?></label></th>
mp-wp_genesis 309 <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" class="regular-text" /> <?php _e('Required.');?></td>
mp-wp_genesis 310 </tr>
mp-wp_genesis 311
mp-wp_genesis 312 <tr>
mp-wp_genesis 313 <th><label for="url"><?php _e('Website') ?></label></th>
mp-wp_genesis 314 <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text" /></td>
mp-wp_genesis 315 </tr>
mp-wp_genesis 316
mp-wp_genesis 317 <tr>
mp-wp_genesis 318 <th><label for="aim"><?php _e('AIM') ?></label></th>
mp-wp_genesis 319 <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" class="regular-text" /></td>
mp-wp_genesis 320 </tr>
mp-wp_genesis 321
mp-wp_genesis 322 <tr>
mp-wp_genesis 323 <th><label for="yim"><?php _e('Yahoo IM') ?></label></th>
mp-wp_genesis 324 <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" class="regular-text" /></td>
mp-wp_genesis 325 </tr>
mp-wp_genesis 326
mp-wp_genesis 327 <tr>
mp-wp_genesis 328 <th><label for="jabber"><?php _e('Jabber / Google Talk') ?></label></th>
mp-wp_genesis 329 <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" class="regular-text" /></td>
mp-wp_genesis 330 </tr>
mp-wp_genesis 331 </table>
mp-wp_genesis 332
mp-wp_genesis 333 <h3><?php $is_profile_page? _e('About Yourself') : _e('About the user'); ?></h3>
mp-wp_genesis 334
mp-wp_genesis 335 <table class="form-table">
mp-wp_genesis 336 <tr>
mp-wp_genesis 337 <th><label for="description"><?php _e('Biographical Info'); ?></label></th>
mp-wp_genesis 338 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea><br /><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></td>
mp-wp_genesis 339 </tr>
mp-wp_genesis 340
mp-wp_genesis 341 <?php
mp-wp_genesis 342 $show_password_fields = apply_filters('show_password_fields', true);
mp-wp_genesis 343 if ( $show_password_fields ) :
mp-wp_genesis 344 ?>
mp-wp_genesis 345 <tr>
mp-wp_genesis 346 <th><label for="pass1"><?php _e('New Password'); ?></label></th>
mp-wp_genesis 347 <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br />
mp-wp_genesis 348 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <?php _e("Type your new password again."); ?><br />
mp-wp_genesis 349 <?php if ( $is_profile_page ): ?>
mp-wp_genesis 350 <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
mp-wp_genesis 351 <p><?php _e('Hint: Your password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
mp-wp_genesis 352 <?php endif; ?>
mp-wp_genesis 353 </td>
mp-wp_genesis 354 </tr>
mp-wp_genesis 355 <?php endif; ?>
mp-wp_genesis 356 </table>
mp-wp_genesis 357
mp-wp_genesis 358 <?php
mp-wp_genesis 359 if ( $is_profile_page ) {
mp-wp_genesis 360 do_action('show_user_profile');
mp-wp_genesis 361 } else {
mp-wp_genesis 362 do_action('edit_user_profile');
mp-wp_genesis 363 }
mp-wp_genesis 364 ?>
mp-wp_genesis 365
mp-wp_genesis 366 <?php if (count($profileuser->caps) > count($profileuser->roles)): ?>
mp-wp_genesis 367 <br class="clear" />
mp-wp_genesis 368 <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform">
mp-wp_genesis 369 <tr>
mp-wp_genesis 370 <th scope="row"><?php _e('Additional Capabilities') ?></th>
mp-wp_genesis 371 <td><?php
mp-wp_genesis 372 $output = '';
mp-wp_genesis 373 foreach($profileuser->caps as $cap => $value) {
mp-wp_genesis 374 if(!$wp_roles->is_role($cap)) {
mp-wp_genesis 375 if($output != '') $output .= ', ';
mp-wp_genesis 376 $output .= $value ? $cap : "Denied: {$cap}";
mp-wp_genesis 377 }
mp-wp_genesis 378 }
mp-wp_genesis 379 echo $output;
mp-wp_genesis 380 ?></td>
mp-wp_genesis 381 </tr>
mp-wp_genesis 382 </table>
mp-wp_genesis 383 <?php endif; ?>
mp-wp_genesis 384
mp-wp_genesis 385 <p class="submit">
mp-wp_genesis 386 <input type="hidden" name="action" value="update" />
mp-wp_genesis 387 <input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id; ?>" />
mp-wp_genesis 388 <input type="submit" class="button-primary" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" />
mp-wp_genesis 389 </p>
mp-wp_genesis 390 </form>
mp-wp_genesis 391 </div>
mp-wp_genesis 392 <?php
mp-wp_genesis 393 break;
mp-wp_genesis 394 }
mp-wp_genesis 395
mp-wp_genesis 396 include('admin-footer.php');
mp-wp_genesis 397 ?>