From: <var...@us...> - 2008-08-22 14:47:04
|
Revision: 6192 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6192&view=rev Author: vargenau Date: 2008-08-22 14:47:13 +0000 (Fri, 22 Aug 2008) Log Message: ----------- Description page begins with 'Help/' Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2008-08-22 14:37:22 UTC (rev 6191) +++ trunk/lib/plugin/PluginManager.php 2008-08-22 14:47:13 UTC (rev 6192) @@ -165,7 +165,7 @@ // generate table row $tr = HTML::tr(array('class' => $class)); if ($pluginDocPageNamelink) { - // plugin has a description page 'PluginName' . 'Plugin' + // plugin has a description page 'Help/' . 'PluginName' . 'Plugin' $tr->pushContent(HTML::td($pluginNamelink, HTML::br(), $pluginDocPageNamelink)); $pluginDocPageNamelink = false; @@ -187,78 +187,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.19 2005/10/12 06:15:25 rurban -// just aesthetics -// -// Revision 1.18 2005/09/26 06:38:00 rurban -// use the new method -// -// Revision 1.17 2005/01/25 06:58:22 rurban -// reformatting -// -// Revision 1.16 2004/06/04 20:32:54 rurban -// Several locale related improvements suggested by Pierrick Meignen -// LDAP fix by John Cole -// reanable admin check without ENABLE_PAGEPERM in the admin plugins -// -// Revision 1.15 2004/05/25 13:17:12 rurban -// fixed Fatal error: Call to a member function on a non-object in PluginManager.php on line 222 -// -// Revision 1.14 2004/02/17 12:11:36 rurban -// added missing 4th basepage arg at plugin->run() to almost all plugins. This caused no harm so far, because it was silently dropped on normal usage. However on plugin internal ->run invocations it failed. (InterWikiSearch, IncludeSiteMap, ...) -// -// Revision 1.13 2004/01/25 03:58:44 rurban -// use stdlib:isWikiWord() -// -// Revision 1.12 2004/01/04 18:14:49 wainstead -// Added "Description:" to the beginning of the description string, so -// the plugin plays nice with surrounding text. -// -// Revision 1.11 2003/12/10 01:01:24 carstenklapp -// New features: Also show plugin pages for localized variants. -// Gracefully handle broken plugins in the plugins folder (such as other -// lingering php files). -// -// Bugfix: Cleaned up Php warnings related to oddities of UserPreference -// plugin (whose default value contains an array). -// -// Internal changes: Gave GoodVariableNames to the nightmarish -// ones. Simplified some code with WikiLink 'if_known'. -// -// Revision 1.10 2003/11/30 18:23:48 carstenklapp -// Code housekeeping: PEAR coding standards reformatting only. -// -// Revision 1.9 2003/11/19 00:02:42 carstenklapp -// Include found locale-specific pages for the current (non-English) -// locale. -// -// Revision 1.8 2003/11/15 21:53:53 wainstead -// Minor change: list plugins in asciibetical order. It'd be better if -// they were alphabetical. -// -// Revision 1.7 2003/02/24 01:36:25 dairiki -// Don't use PHPWIKI_DIR unless it's defined. -// (Also typo/bugfix in SystemInfo plugin.) -// -// Revision 1.6 2003/02/24 00:56:53 carstenklapp -// Updated to work with recent changes to WikiLink function (fix -// "==Object(wikipagename)==" for unknown wiki links). -// -// Revision 1.5 2003/02/22 20:49:56 dairiki -// Fixes for "Call-time pass by reference has been deprecated" errors. -// -// Revision 1.4 2003/02/20 18:13:38 carstenklapp -// Workaround for recent changes to WikiPlugin->getPlugin. -// Made admin restriction for viewing this page optional. -// Now defaults to any user may view this page (mainly for PhpWiki Demo site). -// Minor code changes & reformatting. -// -// Revision 1.3 2003/01/04 02:30:12 carstenklapp -// Added 'info' argument to show / hide plugin "Arguments" -// column. Improved row highlighting and error message when viewed by -// non-admin user. Code refactored. Added copyleft. - // Local Variables: // mode: php // tab-width: 8 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2008-09-16 18:37:36
|
Revision: 6263 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6263&view=rev Author: vargenau Date: 2008-09-16 18:37:46 +0000 (Tue, 16 Sep 2008) Log Message: ----------- Simpler description (without "Description:") Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2008-09-15 11:50:14 UTC (rev 6262) +++ trunk/lib/plugin/PluginManager.php 2008-09-16 18:37:46 UTC (rev 6263) @@ -32,7 +32,7 @@ } function getDescription () { - return _("Description: Provides a list of plugins on this wiki."); + return _("List of plugins on this wiki"); } function getVersion() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-25 13:55:48
|
Revision: 6559 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6559&view=rev Author: vargenau Date: 2009-02-25 13:55:44 +0000 (Wed, 25 Feb 2009) Log Message: ----------- Suppress colgroups to have a 100% width table Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2009-02-25 13:38:57 UTC (rev 6558) +++ trunk/lib/plugin/PluginManager.php 2009-02-25 13:55:44 UTC (rev 6559) @@ -54,7 +54,6 @@ $h->pushContent(HTML::h2(_("Plugins"))); $table = HTML::table(array('class' => "pagelist")); - $this->_generateColgroups($info, $table); $this->_generateColheadings($info, $table); $this->_generateTableBody($info, $dbi, $request, $table); $h->pushContent($table); @@ -72,18 +71,6 @@ $html->pushContent(HTML::p($this->getDescription())); } - function _generateColgroups(&$info, &$table) { - // specify last two column widths - $colgroup = HTML::colgroup(); - $colgroup->pushContent(HTML::col(array('width' => '0*'))); - $colgroup->pushContent(HTML::col(array('width' => '0*', - 'align' => 'right'))); - $colgroup->pushContent(HTML::col(array('width' => '9*'))); - if ($info == 'args') - $colgroup->pushContent(HTML::col(array('width' => '2*'))); - $table->pushcontent($colgroup); - } - function _generateColheadings(&$info, &$table) { // table headings $tr = HTML::tr(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-25 14:00:17
|
Revision: 6560 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6560&view=rev Author: vargenau Date: 2009-02-25 14:00:13 +0000 (Wed, 25 Feb 2009) Log Message: ----------- Let us use th for the table header Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2009-02-25 13:55:44 UTC (rev 6559) +++ trunk/lib/plugin/PluginManager.php 2009-02-25 14:00:13 UTC (rev 6560) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /** Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -78,7 +79,7 @@ if ($info == 'args') $headings []= _("Arguments"); foreach ($headings as $title) { - $tr->pushContent(HTML::td($title)); + $tr->pushContent(HTML::th($title)); } $table->pushContent(HTML::thead($tr)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-25 14:11:32
|
Revision: 6561 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6561&view=rev Author: vargenau Date: 2009-02-25 14:11:28 +0000 (Wed, 25 Feb 2009) Log Message: ----------- Handle multiple wikis in Gforge Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2009-02-25 14:00:13 UTC (rev 6560) +++ trunk/lib/plugin/PluginManager.php 2009-02-25 14:11:28 UTC (rev 6561) @@ -85,6 +85,9 @@ } function _generateTableBody(&$info, &$dbi, &$request, &$table) { + + global $WikiTheme; + $plugin_dir = 'lib/plugin'; if (defined('PHPWIKI_DIR')) $plugin_dir = PHPWIKI_DIR . "/$plugin_dir"; @@ -121,6 +124,9 @@ // make a link if an actionpage exists $pluginNamelink = $pluginName; $pluginDocPageName = _("Help")."/" . $pluginName . "Plugin"; + if (isa($WikiTheme, 'WikiTheme_gforge')) { + $pluginDocPageName = _("Help").":" . $pluginName . "Plugin"; + } $pluginDocPageNamelink = false; $localizedPluginName = ''; @@ -146,6 +152,10 @@ $pluginDocPageNamelink = WikiLink($pluginDocPageName,'if_known'); } + if (isa($WikiTheme, 'WikiTheme_gforge')) { + $pluginDocPageNamelink = WikiLink($pluginDocPageName, 'known'); + } + // highlight alternate rows $row_no++; $group = (int)($row_no / 1); //_group_rows This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-08-31 11:38:31
|
Revision: 8277 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8277&view=rev Author: vargenau Date: 2012-08-31 11:38:22 +0000 (Fri, 31 Aug 2012) Log Message: ----------- short_tag [PSR-1] Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2012-08-31 11:29:16 UTC (rev 8276) +++ trunk/lib/plugin/PluginManager.php 2012-08-31 11:38:22 UTC (rev 8277) @@ -101,7 +101,7 @@ continue; } // instantiate a plugin - $temppluginclass = "<? plugin $pluginName ?>"; // hackish + $temppluginclass = '<'."? plugin $pluginName ?>"; // hackish $p = $w->getPlugin($pluginName, false); // second arg? // trap php files which aren't WikiPlugin~s if (!strtolower(substr(get_parent_class($p), 0, 10)) == 'wikiplugin') { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-12-17 09:58:51
|
Revision: 8664 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8664&view=rev Author: vargenau Date: 2012-12-17 09:58:45 +0000 (Mon, 17 Dec 2012) Log Message: ----------- No need for <h2> Modified Paths: -------------- trunk/lib/plugin/PluginManager.php Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2012-12-17 09:53:22 UTC (rev 8663) +++ trunk/lib/plugin/PluginManager.php 2012-12-17 09:58:45 UTC (rev 8664) @@ -51,8 +51,6 @@ $this->_generatePageheader($info, $h); if (!REQUIRE_ADMIN || $request->_user->isadmin()) { - $h->pushContent(HTML::h2(_("Plugins"))); - $table = HTML::table(array('class' => "pagelist")); $this->_generateColheadings($info, $table); $this->_generateTableBody($info, $dbi, $request, $table); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |