Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3423
Modified Files:
main.php
Log Message:
force string hash
Index: main.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/main.php,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -2 -b -p -d -r1.170 -r1.171
--- main.php 25 Jun 2004 14:29:20 -0000 1.170
+++ main.php 29 Jun 2004 09:30:42 -0000 1.171
@@ -334,11 +334,11 @@ $this->version = phpwiki_version();
static $levels = false;
if (!$levels)
- $levels = array('-1' => _("FORBIDDEN"),
- '0' => _("ANON"),
- '1' => _("BOGO"),
- '2' => _("USER"),
- '10' => _("ADMIN"),
- '100'=> _("UNOBTAINABLE"));
- return $levels[$level];
+ $levels = array('x-1' => _("FORBIDDEN"),
+ 'x0' => _("ANON"),
+ 'x1' => _("BOGO"),
+ 'x2' => _("USER"),
+ 'x10' => _("ADMIN"),
+ 'x100'=> _("UNOBTAINABLE"));
+ return $levels["x".$level];
}
@@ -1071,4 +1071,7 @@ main();
// $Log$
+// Revision 1.171 2004/06/29 09:30:42 rurban
+// force string hash
+//
// Revision 1.170 2004/06/25 14:29:20 rurban
// WikiGroup refactoring:
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
|
|