logo       


CVS: phpwiki/lib main.php,1.170,1.171: msg#00410

Subject: CVS: phpwiki/lib main.php,1.170,1.171
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


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe