Changeset 54
- Timestamp:
- Feb 1, 2006 10:23:33 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DB.inc.php
r53 r54 142 142 // Select database 143 143 mysql_select_db($this->getParam('db_name'), $this->dbh); 144 } else {145 App::logMsg(sprintf('mysql_connect failed.', null), LOG_ERR, __FILE__, __LINE__);146 144 } 147 145 -
trunk/services/templates/admin_list.ihtml
r53 r54 20 20 <th><?php echo $so->printSortHeader('admin_tbl.username', _("Username"), 'ASC'); ?></th> 21 21 <th><?php echo $so->printSortHeader('admin_tbl.first_name', _("First"), 'ASC'); ?> <?php echo $so->printSortHeader('admin_tbl.last_name', _("Last name"), 'ASC'); ?></th> 22 <th><?php echo $so->printSortHeader('admin_tbl.email', _("Email"), 'ASC'); ?></th>23 22 <th><?php echo $so->printSortHeader('admin_tbl.user_type', _("User type"), 'ASC'); ?></th> 24 23 <th><?php echo $so->printSortHeader('admin_tbl.seconds_online', _("Min online"), 'ASC'); ?></th> … … 37 36 <td class="nowrap"><?php echo oTxt($list[$i]['username'], true); ?> </td> 38 37 <td class="nowrap"><?php echo oTxt($list[$i]['first_name'], true); ?> <?php echo oTxt($list[$i]['last_name'], true); ?> </td> 39 <td class="nowrap"><?php echo oTxt($list[$i]['email'], true); ?> </td>40 38 <td class="nowrap"><?php echo oTxt($list[$i]['user_type'], true); ?> </td> 41 39 <td class="nowrap"><?php echo round($list[$i]['seconds_online'] / 60); ?> </td> 42 <td class="nowrap"><?php echo '0000-00-00 00:00:00' == $list[$i]['last_login_datetime'] ? '' : date(App::getParam('date_format'), strtotime($list[$i]['last_login_datetime'])); ?> </td> 40 <td class="nowrap"><?php 41 if ($auth->isLoggedIn($list[$i]['admin_id'])) { 42 ?><strong><?php echo date(App::getParam('date_format'), strtotime($list[$i]['last_login_datetime'])) ?></strong><?php 43 } else { 44 echo '0000-00-00 00:00:00' == $list[$i]['last_login_datetime'] ? '' : date(App::getParam('date_format'), strtotime($list[$i]['last_login_datetime'])); 45 } 46 ?> </td> 43 47 <td class="nowrap"><?php echo gethostbyaddr($list[$i]['last_login_ip']); ?> </td> 44 48 <td class="nowrap"><?php echo '0000-00-00 00:00:00' == $list[$i]['added_datetime'] ? '' : date(App::getParam('date_format'), strtotime($list[$i]['added_datetime'])); ?> </td>
Note: See TracChangeset
for help on using the changeset viewer.