Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27631
Modified Files:
serendipity_config.inc.php
Log Message:
- Don't show permissionlevels as numbers, users don't know what each number does and they could enter something that wasn't valid -- so now we display it as a dropdown
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- serendipity_config.inc.php 29 Jan 2005 11:46:13 -0000 1.140
+++ serendipity_config.inc.php 3 Feb 2005 18:25:12 -0000 1.141
@@ -237,6 +237,13 @@
*/
@define('LANG_CHARSET', 'ISO-8859-1');
+/*
+ * Create array of permission levels, with descriptions
+ */
+$serendipity['permissionLevels'] = array(USERLEVEL_EDITOR => USERLEVEL_EDITOR_DESC,
+ USERLEVEL_CHIEF => USERLEVEL_CHIEF_DESC,
+ USERLEVEL_ADMIN => USERLEVEL_ADMIN_DESC);
+
if ($serendipity['embed'] && ($serendipity['embed'] === 'true' || $serendipity['embed'] === true)) {
$serendipity['baseURL'] = 'http://' . $_SERVER['HTTP_HOST'] . $serendipity['serendipityHTTPPath'];
|