[Phpfreechat-svn] SF.net SVN: phpfreechat: [1236] trunk/index.php
Status: Beta
Brought to you by:
kerphi
|
From: <ke...@us...> - 2008-03-27 16:03:02
|
Revision: 1236
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1236&view=rev
Author: kerphi
Date: 2008-03-27 09:03:04 -0700 (Thu, 27 Mar 2008)
Log Message:
-----------
do not show the warning message when isadmin parameter is removed
Modified Paths:
--------------
trunk/index.php
Modified: trunk/index.php
===================================================================
--- trunk/index.php 2008-03-27 09:33:51 UTC (rev 1235)
+++ trunk/index.php 2008-03-27 16:03:04 UTC (rev 1236)
@@ -107,7 +107,9 @@
<div class="content">
<?php $chat->printChat(); ?>
- <p style="color:red;font-weight:bold;">Warning: because of "isadmin" parameter, everybody is admin. Please modify this script before using it on production servers !</p>
+ <?php if (isset($params["isadmin"]) && $params["isadmin"]) { ?>
+ <p style="color:red;font-weight:bold;">Warning: because of "isadmin" parameter, everybody is admin. Please modify this script before using it on production servers !</p>
+ <?php } ?>
</div>
</body></html>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|