CVS update: /cowiki/includes/cowiki/plugin/

[email protected] 29 Apr 2005 22:47:50 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/04/29 15:47:50

Modified:
   cowiki/includes/cowiki/plugin/class.PrivateAdminMenuDefaultDisplay.php

Log:
 (Re-)Activate link to the setup routine

File Changes:

Directory: /cowiki/includes/cowiki/plugin/
==========================================

File [changed]: class.PrivateAdminMenuDefaultDisplay.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/plugin/class.PrivateAdminMenuDefaultDisplay.php?r1=1.12&r2=1.13
Delta lines:  +14 -8
--------------------
--- class.PrivateAdminMenuDefaultDisplay.php	12 Apr 2005 19:12:21 -0000	1.12
+++ class.PrivateAdminMenuDefaultDisplay.php	29 Apr 2005 22:47:48 -0000	1.13
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.PrivateAdminMenuDefaultDisplay.php,v 1.12 2005/04/12 19:12:21 dgorski Exp $
+ * $Id: class.PrivateAdminMenuDefaultDisplay.php,v 1.13 2005/04/29 22:47:48 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -16,7 +16,7 @@
  * #param:     none
  * #caching:   not used
  * #comment:   none
- * #version:   1.1
+ * #version:   1.2
  * #date:      01. November 2002
  * #author:    Daniel T. Gorski <[email protected]>
  *
@@ -31,7 +31,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.12 $
+ * @version     $Revision: 1.13 $
  *
  */
 
@@ -90,7 +90,13 @@
 
         // Check if we are able to edit users defined by the AuthDAO
         $bCanEditMySqlUser = false;
-        $aSchema = array('mysql', 'mysql+innodb', 'mysqli', 'mysqli+innodb');
+
+        $aSchema = array(
+            'mysql',
+            'mysql+innodb',
+            'mysqli',
+            'mysqli+innodb'
+        );
 
         if (in_array($UriInfo->get('scheme'), $aSchema)) {
 
@@ -119,10 +125,10 @@
 
         $aMenu = array();
 
-#        $aMenu[]= array(
-#            'label' => __('I18N_ADMIN_MENU_LABEL_SETUP'),
-#            'link'  => $sSelf.'?module=setup'
-#        );
+        $aMenu[]= array(
+            'label' => __('I18N_ADMIN_MENU_LABEL_SETUP').' '.COWIKI_FULL_NAME,
+            'link'  => $sSelf.'?module=setup'
+        );
 
         $aMenu[]= array(
             'label' => __('I18N_ADMIN_MENU_LABEL_STRUCT'),