Changeset 8163

Show
Ignore:
Timestamp:
06/22/08 16:17:15 (5 months ago)
Author:
hansengel
Message:

'Add' buttons for Users and Link Categories

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/crazyhorse/wp-admin/edit-link-categories.php

    r8157 r8163  
    5757 
    5858<form id="posts-filter" action="" method="get"> 
     59    <h2><?php _e('Manage Link Categories') ?> </h2> 
     60 
    5961<?php if ( current_user_can('manage_categories') ) : ?> 
    60    <h2><?php printf(__('Manage Link Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2
    61 <?php else : ?
    62    <h2><?php _e('Manage Link Categories') ?> </h2
     62<p id="big-add-button"
     63   <a href="#addcat" class="button"><?php _e('Add New Category'); ?></a
     64</p
    6365<?php endif; ?> 
    6466 
  • branches/crazyhorse/wp-admin/users.php

    r8157 r8163  
    285285?> 
    286286</ul> 
     287 
     288<?php if ( current_user_can('create_users') ) : ?> 
     289<p id="big-add-button"> 
     290    <a href="#add-new-user" class="button"><?php _e('Add New User'); ?></a> 
     291</p> 
     292<?php endif; ?> 
     293 
    287294    <p id="post-search"> 
    288295    <label class="hidden" for="post-search-input"><?php _e( 'Search Users' ); ?>:</label>