plugins/SpecialGroups.php
changeset 1081 745200a9cc2a
parent 960 e74741b8360b
child 1227 bdac73ed481e
equal deleted inserted replaced
1080:6358f769ecb1 1081:745200a9cc2a
    10 }
    10 }
    11 **!*/
    11 **!*/
    12 
    12 
    13 /*
    13 /*
    14  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
    14  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
    15  * Version 1.1.6 (Caoineag beta 1)
       
    16  * Copyright (C) 2007 Dan Fuhry
    15  * Copyright (C) 2007 Dan Fuhry
    17  *
    16  *
    18  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    17  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    19  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    18  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    20  *
    19  *
   375               </tr>';
   374               </tr>';
   376       $cls = 'row2';
   375       $cls = 'row2';
   377       foreach ( $pending as $member )
   376       foreach ( $pending as $member )
   378       {
   377       {
   379         
   378         
   380         $date = enano_date('F d, Y', $member['reg_time']);
   379         $date = enano_date(ED_DATE, $member['reg_time']);
   381         $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   380         $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   382         $addy = $email->encryptEmail($member['email']);
   381         $addy = $email->encryptEmail($member['email']);
   383         
   382         
   384         echo "<tr>
   383         echo "<tr>
   385                 <td class='{$cls}'>{$member['username']}</td>
   384                 <td class='{$cls}'>{$member['username']}</td>
   421     foreach ( $members as $member )
   420     foreach ( $members as $member )
   422     {
   421     {
   423       if ( $member['is_mod'] != 1 )
   422       if ( $member['is_mod'] != 1 )
   424         break;
   423         break;
   425       
   424       
   426       $date = enano_date('F d, Y', $member['reg_time']);
   425       $date = enano_date(ED_DATE, $member['reg_time']);
   427       $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   426       $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   428       $addy = $email->encryptEmail($member['email']);
   427       $addy = $email->encryptEmail($member['email']);
   429       
   428       
   430       $mod_printed = true;
   429       $mod_printed = true;
   431       
   430       
   445     foreach ( $members as $member )
   444     foreach ( $members as $member )
   446     {
   445     {
   447       if ( $member['is_mod'] == 1 )
   446       if ( $member['is_mod'] == 1 )
   448         continue;
   447         continue;
   449       
   448       
   450       $date = enano_date('F d, Y', $member['reg_time']);
   449       $date = enano_date(ED_DATE, $member['reg_time']);
   451       $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   450       $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   452       $addy = $email->encryptEmail($member['email']);
   451       $addy = $email->encryptEmail($member['email']);
   453       
   452       
   454       $mem_printed = true;
   453       $mem_printed = true;
   455       
   454