Update of /cvsroot/openfirst/news
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12329/news
Modified Files:
index.php
Log Message:
More porting work (holly ****)
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/news/index.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** index.php 6 Feb 2006 01:42:54 -0000 1.12
--- index.php 6 Feb 2006 01:52:07 -0000 1.13
***************
*** 32,39 ****
Here are the most recent news outbreaks.<br><br>
<?php
! $admin=false;
! if (isset($user->membertype)) {
! $admin=($user->membertype == "administrator");
! }
if (isset($_GET['show'])) {
shownews(99999,$admin);
--- 32,36 ----
Here are the most recent news outbreaks.<br><br>
<?php
! $admin= $ogUser->isAdmin();
if (isset($_GET['show'])) {
shownews(99999,$admin);
|