1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 15:31:42 +02:00

Modified header comments

git-svn-id: file:///svn/phpbb/trunk@932 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-08-26 13:53:41 +00:00
parent 1330d26720
commit 54b29cc125
17 changed files with 11 additions and 180 deletions

View File

@@ -1,6 +1,6 @@
<?php
/***************************************************************************
* viewonline.php
* viewonline.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
@@ -11,16 +11,6 @@
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
***************************************************************************/
$phpbb_root_path = "./";
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
@@ -122,7 +112,7 @@ if( count($onlinerow_reg) )
{
if( !eregi("," . $onlinerow_reg[$i]['user_id'], $displayed_userid_list) )
{
if( $onlinerow_reg[$i]['user_allow_viewonline'] )
if( $onlinerow_reg[$i]['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$displayed_userid_list .= "," . $onlinerow_reg[$i]['user_id'];