Log in with username/password: lyceum/lyceum

Changeset 101

Show
Ignore:
Timestamp:
10/26/05 12:30:46 (3 years ago)
Author:
john
Message:

now they are sorted reverse alphabetically, which will _always_ achieve having the no-privileges at the very bottom, but the roles are in a weird order.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/0.6RC/src/lyceum/wp-admin/users.php

    r100 r101  
    173173   <table cellpadding="3" cellspacing="3" width="100%"> 
    174174   <?php 
     175   krsort($roleclasses); 
    175176   foreach($roleclasses as $role => $roleclass) { 
    176177      ksort($roleclass); 
     
    179180   <tr> 
    180181   <th colspan="8" align="left"> 
    181    <h3><?php echo $wp_roles->role_names[$role]; ?></h3> 
     182   <h3><?php echo $wp_roles->role_names[$role]?$wp_roles->role_names[$role]:"No Privileges"; ?></h3> 
    182183   </th></tr> 
    183184 
Log in with username/password: lyceum/lyceum