From ada2d983520de61840cd1bc1804ba0aab40be18a Mon Sep 17 00:00:00 2001 From: rurban Date: Fri, 17 Dec 2004 16:39:03 +0000 Subject: [PATCH] minor reformatting git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4299 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/editpage.php | 9 ++++++--- lib/plugin/LinkDatabase.php | 22 +++++++++++++++------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/lib/editpage.php b/lib/editpage.php index 15e8a6165..58182dc83 100644 --- a/lib/editpage.php +++ b/lib/editpage.php @@ -1,5 +1,5 @@ _initialEdit = true; // The edit request has specified some initial content from a template - if ( ($template = $request->getArg('template')) and - $request->_dbi->isWikiPage($template)) { + if ( ($template = $request->getArg('template')) + and $request->_dbi->isWikiPage($template)) { $page = $request->_dbi->getPage($template); $current = $page->getCurrentRevision(); $this->_content = $current->getPackedContent(); @@ -907,6 +907,9 @@ extends PageEditor /** $Log: not supported by cvs2svn $ + Revision 1.87 2004/12/16 18:28:05 rurban + keep wikiblog summary = page title + Revision 1.86 2004/12/11 14:50:15 rurban new edit_convert button, to get rid of old markup eventually diff --git a/lib/plugin/LinkDatabase.php b/lib/plugin/LinkDatabase.php index 78908ab53..c76e18709 100644 --- a/lib/plugin/LinkDatabase.php +++ b/lib/plugin/LinkDatabase.php @@ -1,5 +1,5 @@ checkValidators(); - echo "\n"; + echo ""; // As applet it prefers only "GraphXML.dtd", but then we must copy it to the webroot. - $dtd = SERVER_URL . $WikiTheme->_findData("GraphXML.dtd"); + $dtd = $WikiTheme->_findData("GraphXML.dtd"); echo "\n"; echo "\n"; - echo "\n"; - echo '',"\n"; + echo "\n"; + echo '',"\n\n"; while ($page = $pages->next()) { $pageid = MangleXmlIdentifier($page->getName()); $pagename = $page->getName(); @@ -157,7 +157,7 @@ extends WikiPluginCached echo "\n"; } echo "\n"; - echo "\n\n"; + echo "\n"; unset($GLOBALS['ErrorManager']->_postponed_errors); $request->finish(); } else { @@ -178,6 +178,14 @@ class _PageList_Column_LinkDatabase_links extends _PageList_Column { } // $Log: not supported by cvs2svn $ +// Revision 1.4 2004/12/06 19:50:05 rurban +// enable action=remove which is undoable and seeable in RecentChanges: ADODB ony for now. +// renamed delete_page to purge_page. +// enable action=edit&version=-1 to force creation of a new version. +// added BABYCART_PATH config +// fixed magiqc in adodb.inc.php +// and some more docs +// // Revision 1.3 2004/11/30 23:44:00 rurban // some comments // -- 2.45.0