plugins/admin/UserManager.php
changeset 1081 745200a9cc2a
parent 966 2db0975aa31a
child 1086 6a59951b70e4
equal deleted inserted replaced
1080:6358f769ecb1 1081:745200a9cc2a
     1 <?php
     1 <?php
     2 
     2 
     3 /*
     3 /*
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     5  * Version 1.1.6 (Caoineag beta 1)
     5  * Copyright (C) 2006-2009 Dan Fuhry
     6  * Copyright (C) 2006-2008 Dan Fuhry
       
     7  *
     6  *
     8  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     7  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     9  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
     8  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    10  *
     9  *
    11  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
    10  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
   678       {
   677       {
   679         if($cls == 'row2') $cls = 'row1';
   678         if($cls == 'row2') $cls = 'row1';
   680         else $cls = 'row2';
   679         else $cls = 'row2';
   681         $coppa = ( $row['user_coppa'] == '1' ) ? '<b>' . $lang->get('acpum_coppauser_yes') . '</b>' : $lang->get('acpum_coppauser_no');
   680         $coppa = ( $row['user_coppa'] == '1' ) ? '<b>' . $lang->get('acpum_coppauser_yes') . '</b>' : $lang->get('acpum_coppauser_no');
   682         echo '<tr>
   681         echo '<tr>
   683                 <td class="'.$cls.'">'.enano_date('F d, Y h:i a', $row['time_id']).'</td>
   682                 <td class="'.$cls.'">'.enano_date(ED_DATE | ED_TIME, $row['time_id']).'</td>
   684                 <td class="'.$cls.'">'.$row['author'].'</td>
   683                 <td class="'.$cls.'">'.$row['author'].'</td>
   685                 <td class="'.$cls.'">'.$row['edit_summary'].'</td>
   684                 <td class="'.$cls.'">'.$row['edit_summary'].'</td>
   686                 <td style="text-align: center;" class="' . $cls . '">' . $coppa . '</td>
   685                 <td style="text-align: center;" class="' . $cls . '">' . $coppa . '</td>
   687                 <td class="'.$cls.'" style="text-align: center;">
   686                 <td class="'.$cls.'" style="text-align: center;">
   688                   <a href="'.makeUrlNS('Special', 'Administration', 'module='.$paths->nslist['Admin'].'UserManager&action=activate&user='.rawurlencode($row['edit_summary']).'&logid='.$row['time_id'], true).'">' . $lang->get('acpum_btn_activate_now') . '</a>
   687                   <a href="'.makeUrlNS('Special', 'Administration', 'module='.$paths->nslist['Admin'].'UserManager&action=activate&user='.rawurlencode($row['edit_summary']).'&logid='.$row['time_id'], true).'">' . $lang->get('acpum_btn_activate_now') . '</a>