[Fusionforge-commits] r10912 - in trunk/src/plugins/wiki: common www/lib/plugin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Oct 8 18:31:24 CEST 2010


Author: aljeux
Date: 2010-10-08 18:31:23 +0200 (Fri, 08 Oct 2010)
New Revision: 10912

Modified:
   trunk/src/plugins/wiki/common/WikiPlugin.class.php
   trunk/src/plugins/wiki/www/lib/plugin/CreateToc.php
Log:
wiki url is /wiki, fixing wrong path.

Modified: trunk/src/plugins/wiki/common/WikiPlugin.class.php
===================================================================
--- trunk/src/plugins/wiki/common/WikiPlugin.class.php	2010-10-08 16:31:16 UTC (rev 10911)
+++ trunk/src/plugins/wiki/common/WikiPlugin.class.php	2010-10-08 16:31:23 UTC (rev 10912)
@@ -59,7 +59,7 @@
 			} else {
 				$this->hooks["groupmenu"] = "";
 				//$params['TITLES'][]=$this->text." [Off]";
-				//$params['DIRS'][]='/plugins/wiki/index.php?off=true';
+				//$params['DIRS'][]='/wiki/index.php?off=true';
 			}
 
 			if (isset($params['toptab'])) {
@@ -70,7 +70,7 @@
 			$group_id = $params['group_id'];
 			$group = &group_get_object($group_id);
 			if ( $group->usesPlugin ( $this->name ) ) {
-				echo '<p><a href="/plugins/wiki/wikiadmin.php?id=' . $group->getID() . '&amp;type=admin&amp;pluginname=' . $this->name . '">' . _('Wiki Admin') . '</a></p>';
+				echo '<p><a href="/wiki/wikiadmin.php?id=' . $group->getID() . '&amp;type=admin&amp;pluginname=' . $this->name . '">' . _('Wiki Admin') . '</a></p>';
 			}
 		} elseif ($hookname == 'search_engines') {
 			// FIXME: when the hook is called, the group_id is not set.

Modified: trunk/src/plugins/wiki/www/lib/plugin/CreateToc.php
===================================================================
--- trunk/src/plugins/wiki/www/lib/plugin/CreateToc.php	2010-10-08 16:31:16 UTC (rev 10911)
+++ trunk/src/plugins/wiki/www/lib/plugin/CreateToc.php	2010-10-08 16:31:23 UTC (rev 10912)
@@ -1,5 +1,5 @@
 <?php // -*-php-*-
-// rcs_id('$Id: CreateToc.php 7689 2010-09-17 08:41:10Z vargenau $');
+// rcs_id('$Id: CreateToc.php 7709 2010-09-30 15:48:54Z vargenau $');
 /*
  * Copyright 2004,2005 $ThePhpWikiProgrammingTeam
  * Copyright 2008-2010 Marc-Etienne Vargenau, Alcatel-Lucent




More information about the Fusionforge-commits mailing list