|
From: <var...@us...> - 2021-08-03 17:18:03
|
Revision: 10418
http://sourceforge.net/p/phpwiki/code/10418
Author: vargenau
Date: 2021-08-03 17:18:02 +0000 (Tue, 03 Aug 2021)
Log Message:
-----------
Allow XHTML dump of pages LdapSearch and UriResolver
Modified Paths:
--------------
trunk/lib/plugin/LdapSearch.php
trunk/lib/plugin/UriResolver.php
Modified: trunk/lib/plugin/LdapSearch.php
===================================================================
--- trunk/lib/plugin/LdapSearch.php 2021-08-03 16:59:09 UTC (rev 10417)
+++ trunk/lib/plugin/LdapSearch.php 2021-08-03 17:18:02 UTC (rev 10418)
@@ -79,6 +79,12 @@
*/
function run($dbi, $argstr, &$request, $basepage)
{
+
+ global $WikiTheme;
+ if ($WikiTheme->DUMP_MODE) {
+ return HTML::p();
+ }
+
$args = $this->getArgs($argstr, $request);
extract($args);
//include_once("lib/WikiUser/LDAP.php");
Modified: trunk/lib/plugin/UriResolver.php
===================================================================
--- trunk/lib/plugin/UriResolver.php 2021-08-03 16:59:09 UTC (rev 10417)
+++ trunk/lib/plugin/UriResolver.php 2021-08-03 17:18:02 UTC (rev 10418)
@@ -59,6 +59,10 @@
*/
function run($dbi, $argstr, &$request, $basepage)
{
+ global $WikiTheme;
+ if ($WikiTheme->DUMP_MODE) {
+ return '';
+ }
$args = $request->getArgs();
unset($args['pagename']);
unset($args['action']);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|