Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv26451
Modified Files:
WikiUser.php prepend.php
Log Message:
some xhtml, fixed error with no admin password
Index: WikiUser.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiUser.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** WikiUser.php 2001/12/11 18:42:12 1.6
--- WikiUser.php 2001/12/21 00:50:51 1.7
***************
*** 177,184 ****
if (!defined('ADMIN_USER') || !defined('ADMIN_PASSWD')
|| ADMIN_USER == '' || ADMIN_PASSWD =='') {
! return
! "<p><b>"
! . gettext("You must set the administrator account and password before you can log in.")
! . "</b></p>\n";
}
--- 177,182 ----
if (!defined('ADMIN_USER') || !defined('ADMIN_PASSWD')
|| ADMIN_USER == '' || ADMIN_PASSWD =='') {
! echo '<html><body>';
! ExitWiki(gettext("You must set the administrator account and password before you can log in."));
}
Index: prepend.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/prepend.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** prepend.php 2001/11/21 19:46:50 1.5
--- prepend.php 2001/12/21 00:50:51 1.6
***************
*** 29,33 ****
if(!empty($errormsg)) {
! print "<p><hr noshade><h2>" . gettext("WikiFatalError") . "</h2>\n";
if (is_string($errormsg))
--- 29,33 ----
if(!empty($errormsg)) {
! print "<p /><hr /><h2>" . gettext("WikiFatalError") . "</h2>\n";
if (is_string($errormsg))
|