From: <var...@us...> - 2008-08-22 11:40:21
|
Revision: 6185 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6185&view=rev Author: vargenau Date: 2008-08-22 11:40:14 +0000 (Fri, 22 Aug 2008) Log Message: ----------- Activated Revision substitution for Subversion Modified Paths: -------------- trunk/lib/plugin/AddComment.php trunk/lib/plugin/AllPages.php trunk/lib/plugin/AllUsers.php trunk/lib/plugin/AnalyseAccessLogSql.php trunk/lib/plugin/AppendText.php trunk/lib/plugin/AsciiMath.php trunk/lib/plugin/AsciiSVG.php trunk/lib/plugin/AuthorHistory.php trunk/lib/plugin/BackLinks.php trunk/lib/plugin/BlogArchives.php trunk/lib/plugin/BlogJournal.php trunk/lib/plugin/BoxRight.php trunk/lib/plugin/CacheTest.php trunk/lib/plugin/Calendar.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CategoryPage.php trunk/lib/plugin/Comment.php trunk/lib/plugin/CreateBib.php trunk/lib/plugin/CreatePage.php trunk/lib/plugin/CreateToc.php trunk/lib/plugin/Diff.php trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/FileInfo.php trunk/lib/plugin/FoafViewer.php trunk/lib/plugin/FrameInclude.php trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/FuzzyPages.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/GoogleMaps.php trunk/lib/plugin/GooglePlugin.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/HelloWorld.php trunk/lib/plugin/HtmlConverter.php trunk/lib/plugin/Imdb.php trunk/lib/plugin/IncludePage.php trunk/lib/plugin/IncludePages.php trunk/lib/plugin/InterWikiSearch.php trunk/lib/plugin/JabberPresence.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/LikePages.php trunk/lib/plugin/LinkDatabase.php trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/ListRelations.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/MediawikiTable.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/MostPopular.php trunk/lib/plugin/NewPagesPerUser.php trunk/lib/plugin/NoCache.php trunk/lib/plugin/OldStyleTable.php trunk/lib/plugin/OrphanedPages.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/PageGroup.php trunk/lib/plugin/PageHistory.php trunk/lib/plugin/PageInfo.php trunk/lib/plugin/PageTrail.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/PhpHighlight.php trunk/lib/plugin/PhpWeather.php trunk/lib/plugin/Ploticus.php trunk/lib/plugin/PluginManager.php trunk/lib/plugin/PopUp.php trunk/lib/plugin/PopularNearby.php trunk/lib/plugin/PopularTags.php trunk/lib/plugin/PreferenceApp.php trunk/lib/plugin/PrevNext.php trunk/lib/plugin/RandomPage.php trunk/lib/plugin/RateIt.php trunk/lib/plugin/RawHtml.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RecentChangesCached.php trunk/lib/plugin/RecentComments.php trunk/lib/plugin/RecentEdits.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/RedirectTo.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/RichTable.php trunk/lib/plugin/RssFeed.php trunk/lib/plugin/SearchHighlight.php trunk/lib/plugin/SemanticRelations.php trunk/lib/plugin/SemanticSearch.php trunk/lib/plugin/SemanticSearchAdvanced.php trunk/lib/plugin/SiteMap.php trunk/lib/plugin/SpellCheck.php trunk/lib/plugin/SqlResult.php trunk/lib/plugin/SyncWiki.php trunk/lib/plugin/SyntaxHighlighter.php trunk/lib/plugin/SystemInfo.php trunk/lib/plugin/TeX2png.php trunk/lib/plugin/Template.php trunk/lib/plugin/TexToPng.php trunk/lib/plugin/TitleSearch.php trunk/lib/plugin/Transclude.php trunk/lib/plugin/TranslateText.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/UpLoad.php trunk/lib/plugin/UriResolver.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/UserRatings.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WantedPages.php trunk/lib/plugin/WantedPagesOld.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WhoIsOnline.php trunk/lib/plugin/WikiAdminChmod.php trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSelect.php trunk/lib/plugin/WikiAdminSetAcl.php trunk/lib/plugin/WikiAdminUtils.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiForm.php trunk/lib/plugin/WikiFormRich.php trunk/lib/plugin/WikiForum.php trunk/lib/plugin/WikiPoll.php trunk/lib/plugin/WikicreoleTable.php trunk/lib/plugin/YouTube.php trunk/lib/plugin/_AuthInfo.php trunk/lib/plugin/_BackendInfo.php trunk/lib/plugin/_GroupInfo.php trunk/lib/plugin/_PreferencesInfo.php trunk/lib/plugin/_Retransform.php trunk/lib/plugin/_WikiTranslation.php trunk/lib/plugin/text2png.php Property Changed: ---------------- trunk/lib/plugin/AddComment.php trunk/lib/plugin/AllPages.php trunk/lib/plugin/AllUsers.php trunk/lib/plugin/AnalyseAccessLogSql.php trunk/lib/plugin/AppendText.php trunk/lib/plugin/AsciiMath.php trunk/lib/plugin/AsciiSVG.php trunk/lib/plugin/AuthorHistory.php trunk/lib/plugin/BackLinks.php trunk/lib/plugin/BlogArchives.php trunk/lib/plugin/BlogJournal.php trunk/lib/plugin/BoxRight.php trunk/lib/plugin/CacheTest.php trunk/lib/plugin/Calendar.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CategoryPage.php trunk/lib/plugin/Comment.php trunk/lib/plugin/CreateBib.php trunk/lib/plugin/CreatePage.php trunk/lib/plugin/CreateToc.php trunk/lib/plugin/DeadEndPages.php trunk/lib/plugin/Diff.php trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/FileInfo.php trunk/lib/plugin/FoafViewer.php trunk/lib/plugin/FrameInclude.php trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/FuzzyPages.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/GoogleMaps.php trunk/lib/plugin/GooglePlugin.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/HelloWorld.php trunk/lib/plugin/HtmlConverter.php trunk/lib/plugin/Imdb.php trunk/lib/plugin/IncludePage.php trunk/lib/plugin/IncludePages.php trunk/lib/plugin/IncludeSiteMap.php trunk/lib/plugin/InterWikiSearch.php trunk/lib/plugin/JabberPresence.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/LikePages.php trunk/lib/plugin/LinkDatabase.php trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/ListRelations.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/MediawikiTable.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/MostPopular.php trunk/lib/plugin/NewPagesPerUser.php trunk/lib/plugin/NoCache.php trunk/lib/plugin/OldStyleTable.php trunk/lib/plugin/OrphanedPages.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/PageGroup.php trunk/lib/plugin/PageHistory.php trunk/lib/plugin/PageInfo.php trunk/lib/plugin/PageTrail.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/PhpHighlight.php trunk/lib/plugin/PhpWeather.php trunk/lib/plugin/Ploticus.php trunk/lib/plugin/PluginManager.php trunk/lib/plugin/PopUp.php trunk/lib/plugin/PopularNearby.php trunk/lib/plugin/PopularTags.php trunk/lib/plugin/PreferenceApp.php trunk/lib/plugin/PrevNext.php trunk/lib/plugin/RandomPage.php trunk/lib/plugin/RateIt.php trunk/lib/plugin/RawHtml.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RecentChangesCached.php trunk/lib/plugin/RecentComments.php trunk/lib/plugin/RecentEdits.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/RedirectTo.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/RichTable.php trunk/lib/plugin/RssFeed.php trunk/lib/plugin/SearchHighlight.php trunk/lib/plugin/SemanticRelations.php trunk/lib/plugin/SemanticSearch.php trunk/lib/plugin/SemanticSearchAdvanced.php trunk/lib/plugin/SiteMap.php trunk/lib/plugin/SpellCheck.php trunk/lib/plugin/SqlResult.php trunk/lib/plugin/SyncWiki.php trunk/lib/plugin/SyntaxHighlighter.php trunk/lib/plugin/SystemInfo.php trunk/lib/plugin/TeX2png.php trunk/lib/plugin/Template.php trunk/lib/plugin/TexToPng.php trunk/lib/plugin/TitleSearch.php trunk/lib/plugin/Transclude.php trunk/lib/plugin/TranslateText.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/UpLoad.php trunk/lib/plugin/UriResolver.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/UserRatings.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WantedPages.php trunk/lib/plugin/WantedPagesOld.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WhoIsOnline.php trunk/lib/plugin/WikiAdminChmod.php trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSelect.php trunk/lib/plugin/WikiAdminSetAcl.php trunk/lib/plugin/WikiAdminUtils.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiForm.php trunk/lib/plugin/WikiFormRich.php trunk/lib/plugin/WikiForum.php trunk/lib/plugin/WikiPoll.php trunk/lib/plugin/WikicreoleTable.php trunk/lib/plugin/YouTube.php trunk/lib/plugin/_AuthInfo.php trunk/lib/plugin/_BackendInfo.php trunk/lib/plugin/_GroupInfo.php trunk/lib/plugin/_PreferencesInfo.php trunk/lib/plugin/_Retransform.php trunk/lib/plugin/_WikiTranslation.php trunk/lib/plugin/text2png.php Modified: trunk/lib/plugin/AddComment.php =================================================================== --- trunk/lib/plugin/AddComment.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AddComment.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -45,7 +45,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } // Arguments: Property changes on: trunk/lib/plugin/AddComment.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AllPages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -40,7 +40,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.37 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/AllPages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AllUsers.php =================================================================== --- trunk/lib/plugin/AllUsers.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AllUsers.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -43,7 +43,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.19 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/AllUsers.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AnalyseAccessLogSql.php =================================================================== --- trunk/lib/plugin/AnalyseAccessLogSql.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AnalyseAccessLogSql.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -258,7 +258,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } function run($dbi, $argstr, &$request, $basepage) { Property changes on: trunk/lib/plugin/AnalyseAccessLogSql.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AppendText.php =================================================================== --- trunk/lib/plugin/AppendText.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AppendText.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -43,7 +43,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.8 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/AppendText.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AsciiMath.php =================================================================== --- trunk/lib/plugin/AsciiMath.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AsciiMath.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -50,7 +50,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/AsciiMath.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AsciiSVG.php =================================================================== --- trunk/lib/plugin/AsciiSVG.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AsciiSVG.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -38,7 +38,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/AsciiSVG.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/AuthorHistory.php =================================================================== --- trunk/lib/plugin/AuthorHistory.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/AuthorHistory.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -76,7 +76,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.6 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/AuthorHistory.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/BackLinks.php =================================================================== --- trunk/lib/plugin/BackLinks.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/BackLinks.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -37,7 +37,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.35 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/BackLinks.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/BlogArchives.php =================================================================== --- trunk/lib/plugin/BlogArchives.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/BlogArchives.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -30,7 +30,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.6 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/BlogArchives.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/BlogJournal.php =================================================================== --- trunk/lib/plugin/BlogJournal.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/BlogJournal.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -28,7 +28,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/BlogJournal.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/BoxRight.php =================================================================== --- trunk/lib/plugin/BoxRight.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/BoxRight.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -36,7 +36,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.1 $"); + "\$Revision$"); } function managesValidators() { Property changes on: trunk/lib/plugin/BoxRight.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CacheTest.php =================================================================== --- trunk/lib/plugin/CacheTest.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/CacheTest.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -51,7 +51,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/CacheTest.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/Calendar.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -47,7 +47,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.35 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/Calendar.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/CalendarList.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -60,7 +60,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.13 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/CalendarList.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CategoryPage.php =================================================================== --- trunk/lib/plugin/CategoryPage.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/CategoryPage.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -50,7 +50,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.3 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/CategoryPage.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/Comment.php =================================================================== --- trunk/lib/plugin/Comment.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/Comment.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -29,7 +29,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } // No arguments here. Property changes on: trunk/lib/plugin/Comment.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CreateBib.php =================================================================== --- trunk/lib/plugin/CreateBib.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/CreateBib.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -42,7 +42,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.1 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/CreateBib.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CreatePage.php =================================================================== --- trunk/lib/plugin/CreatePage.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/CreatePage.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -48,7 +48,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.13 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/CreatePage.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/CreateToc.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -53,7 +53,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.44 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/CreateToc.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Property changes on: trunk/lib/plugin/DeadEndPages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/Diff.php =================================================================== --- trunk/lib/plugin/Diff.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/Diff.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -43,7 +43,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.4 $"); + "\$Revision$"); } // Establish default values for each of this plugin's arguments. Property changes on: trunk/lib/plugin/Diff.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/EditMetaData.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -54,7 +54,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.14 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/EditMetaData.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/ExternalSearch.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -47,7 +47,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.13 $"); + "\$Revision$"); } function _getInterWikiUrl(&$request) { Property changes on: trunk/lib/plugin/ExternalSearch.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/FileInfo.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -45,7 +45,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/FileInfo.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/FoafViewer.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -58,7 +58,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.4 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/FoafViewer.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/FrameInclude.php =================================================================== --- trunk/lib/plugin/FrameInclude.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/FrameInclude.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -58,7 +58,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.10 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/FrameInclude.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/FullTextSearch.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -51,7 +51,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.29 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/FullTextSearch.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/FuzzyPages.php =================================================================== --- trunk/lib/plugin/FuzzyPages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/FuzzyPages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -47,7 +47,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.12 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/FuzzyPages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/GoTo.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -24,7 +24,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/GoTo.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/GoogleMaps.php =================================================================== --- trunk/lib/plugin/GoogleMaps.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/GoogleMaps.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -69,7 +69,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.3 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/GoogleMaps.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/GooglePlugin.php =================================================================== --- trunk/lib/plugin/GooglePlugin.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/GooglePlugin.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -49,7 +49,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/GooglePlugin.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/GraphViz.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -122,7 +122,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } function getDefaultArguments() { return array( Property changes on: trunk/lib/plugin/GraphViz.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/HelloWorld.php =================================================================== --- trunk/lib/plugin/HelloWorld.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/HelloWorld.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -53,7 +53,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.13 $"); + "\$Revision$"); } // Establish default values for each of this plugin's arguments. Property changes on: trunk/lib/plugin/HelloWorld.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/HtmlConverter.php =================================================================== --- trunk/lib/plugin/HtmlConverter.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/HtmlConverter.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -43,7 +43,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/HtmlConverter.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/Imdb.php =================================================================== --- trunk/lib/plugin/Imdb.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/Imdb.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -57,7 +57,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.1 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/Imdb.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/IncludePage.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -40,7 +40,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.31 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/IncludePage.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/IncludePages.php =================================================================== --- trunk/lib/plugin/IncludePages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/IncludePages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -43,7 +43,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.4 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/IncludePages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Property changes on: trunk/lib/plugin/IncludeSiteMap.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/InterWikiSearch.php =================================================================== --- trunk/lib/plugin/InterWikiSearch.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/InterWikiSearch.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -37,7 +37,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/InterWikiSearch.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/JabberPresence.php =================================================================== --- trunk/lib/plugin/JabberPresence.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/JabberPresence.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -30,7 +30,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.3 $"); + "\$Revision$"); } // Establish default values for each of this plugin's arguments. Property changes on: trunk/lib/plugin/JabberPresence.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/LdapSearch.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -59,7 +59,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.7 $"); + "\$Revision$"); } function getDefaultArguments() { return array('host' => "", // default: LDAP_AUTH_HOST Property changes on: trunk/lib/plugin/LdapSearch.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/LikePages.php =================================================================== --- trunk/lib/plugin/LikePages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/LikePages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -39,7 +39,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.22 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/LikePages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/LinkDatabase.php =================================================================== --- trunk/lib/plugin/LinkDatabase.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/LinkDatabase.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -49,7 +49,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.8 $"); + "\$Revision$"); } function getExpire($dbi, $argarray, $request) { return '+900'; // 15 minutes Property changes on: trunk/lib/plugin/LinkDatabase.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/LinkSearch.php =================================================================== --- trunk/lib/plugin/LinkSearch.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/LinkSearch.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -39,7 +39,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.1 $"); + "\$Revision$"); } function getDefaultArguments() { return array_merge Property changes on: trunk/lib/plugin/LinkSearch.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/ListPages.php =================================================================== --- trunk/lib/plugin/ListPages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/ListPages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -44,7 +44,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.10 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/ListPages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/ListRelations.php =================================================================== --- trunk/lib/plugin/ListRelations.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/ListRelations.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -38,7 +38,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } function getDefaultArguments() { return array_merge Property changes on: trunk/lib/plugin/ListRelations.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/ListSubpages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -40,7 +40,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.7 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/ListSubpages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/MediawikiTable.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -66,7 +66,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.3 $"); + "\$Revision$"); } function run($dbi, $argstr, &$request, $basepage) { Property changes on: trunk/lib/plugin/MediawikiTable.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/ModeratedPage.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -45,7 +45,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.7 $"); + "\$Revision$"); } function getDefaultArguments() { return array('page' => '[pagename]', Property changes on: trunk/lib/plugin/ModeratedPage.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/MostPopular.php =================================================================== --- trunk/lib/plugin/MostPopular.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/MostPopular.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -38,7 +38,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.32 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/MostPopular.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/NewPagesPerUser.php =================================================================== --- trunk/lib/plugin/NewPagesPerUser.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/NewPagesPerUser.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -25,7 +25,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.1 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/NewPagesPerUser.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/NoCache.php =================================================================== --- trunk/lib/plugin/NoCache.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/NoCache.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -45,7 +45,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.3 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/NoCache.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/OldStyleTable.php =================================================================== --- trunk/lib/plugin/OldStyleTable.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/OldStyleTable.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -55,7 +55,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.11 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/OldStyleTable.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/OrphanedPages.php =================================================================== --- trunk/lib/plugin/OrphanedPages.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/OrphanedPages.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -42,7 +42,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.10 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/OrphanedPages.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PageDump.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -41,7 +41,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.20 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PageDump.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PageGroup.php =================================================================== --- trunk/lib/plugin/PageGroup.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PageGroup.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -50,7 +50,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PageGroup.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PageHistory.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -275,7 +275,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.34 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PageHistory.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PageInfo.php =================================================================== --- trunk/lib/plugin/PageInfo.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PageInfo.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -39,7 +39,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PageInfo.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PageTrail.php =================================================================== --- trunk/lib/plugin/PageTrail.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PageTrail.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -52,7 +52,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } // default values Property changes on: trunk/lib/plugin/PageTrail.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PasswordReset.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -44,7 +44,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.4 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PasswordReset.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PhotoAlbum.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -103,7 +103,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.15 $"); + "\$Revision$"); } // Avoid nameclash, so it's disabled. We allow any url. Property changes on: trunk/lib/plugin/PhotoAlbum.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PhpHighlight.php =================================================================== --- trunk/lib/plugin/PhpHighlight.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PhpHighlight.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -68,7 +68,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.9 $"); + "\$Revision$"); } // Establish default values for each of this plugin's arguments. Property changes on: trunk/lib/plugin/PhpHighlight.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PhpWeather.php =================================================================== --- trunk/lib/plugin/PhpWeather.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PhpWeather.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -69,7 +69,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.12 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PhpWeather.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/Ploticus.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -100,7 +100,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.14 $"); + "\$Revision$"); } function getDefaultArguments() { return array( Property changes on: trunk/lib/plugin/Ploticus.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PluginManager.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -37,7 +37,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.20 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PluginManager.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PopUp.php =================================================================== --- trunk/lib/plugin/PopUp.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PopUp.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -54,7 +54,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.1 $"); + "\$Revision$"); } function getDefaultArguments() { return array('link' => "HomePage", Property changes on: trunk/lib/plugin/PopUp.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PopularNearby.php =================================================================== --- trunk/lib/plugin/PopularNearby.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PopularNearby.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -50,7 +50,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PopularNearby.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PopularTags.php =================================================================== --- trunk/lib/plugin/PopularTags.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PopularTags.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -40,7 +40,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.2 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PopularTags.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PreferenceApp.php =================================================================== --- trunk/lib/plugin/PreferenceApp.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PreferenceApp.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -43,7 +43,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PreferenceApp.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/PrevNext.php =================================================================== --- trunk/lib/plugin/PrevNext.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/PrevNext.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -38,7 +38,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.4 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/PrevNext.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/RandomPage.php =================================================================== --- trunk/lib/plugin/RandomPage.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/RandomPage.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -39,7 +39,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.13 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/RandomPage.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/RateIt.php =================================================================== --- trunk/lib/plugin/RateIt.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/RateIt.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -92,7 +92,7 @@ } function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.25 $"); + "\$Revision$"); } function RatingWidgetJavascript() { Property changes on: trunk/lib/plugin/RateIt.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/RawHtml.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -59,7 +59,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.11 $"); + "\$Revision$"); } function managesValidators() { Property changes on: trunk/lib/plugin/RawHtml.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/RecentChanges.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -1127,7 +1127,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.123 $"); + "\$Revision$"); } function managesValidators() { Property changes on: trunk/lib/plugin/RecentChanges.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/RecentChangesCached.php =================================================================== --- trunk/lib/plugin/RecentChangesCached.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/RecentChangesCached.php 2008-08-22 11:40:14 UTC (rev 6185) @@ -56,7 +56,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 1.5 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/RecentChangesCached.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/RecentComments.php =================================================================== --- trunk/lib/plugin/RecentComments.php 2008-08-22 10:33:41 UTC (rev 6184) +++ trunk/lib/plugin/Rece... [truncated message content] |
From: <var...@us...> - 2008-09-02 16:17:46
|
Revision: 6229 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6229&view=rev Author: vargenau Date: 2008-09-02 15:21:42 +0000 (Tue, 02 Sep 2008) Log Message: ----------- Link in the last cell of a table was not displayed as a link Modified Paths: -------------- trunk/lib/plugin/MediawikiTable.php trunk/lib/plugin/RichTable.php Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2008-09-02 14:03:40 UTC (rev 6228) +++ trunk/lib/plugin/MediawikiTable.php 2008-09-02 15:21:42 UTC (rev 6229) @@ -138,7 +138,7 @@ $line = substr($line,2); $pospipe = strpos($line, "|"); $posbracket = strpos($line, "["); - if (($pospipe) && ((!$posbracket) || ($posbracket > $pospipe))) { + if (($pospipe !== false) && (($posbracket === false) || ($posbracket > $pospipe))) { $attrs = $this->_parse_attr(substr($line, 0, $pospipe)); foreach ($attrs as $key => $value) { if (in_array ($key, array("id", "class", "title", "style", @@ -206,7 +206,7 @@ if (isset($row)) { if (isset($cell)) { if (isset($content)) - $cell->pushContent(TransformText(trim($content))); + $cell->pushContent(TransformText(trim($content), $markup, $basepage)); $row->pushContent($cell); } $tbody->pushContent($row); @@ -233,15 +233,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.2 2008/04/04 18:13:49 vargenau -// Add tbody to table -// -// Revision 1.1 2008/01/31 20:40:10 vargenau -// Implemented Mediawiki-like syntax for tables -// -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/RichTable.php =================================================================== --- trunk/lib/plugin/RichTable.php 2008-09-02 14:03:40 UTC (rev 6228) +++ trunk/lib/plugin/RichTable.php 2008-09-02 15:21:42 UTC (rev 6229) @@ -9,6 +9,7 @@ /* * Copyright (C) 2003 Sameer D. Sahasrabuddhe * Copyright (C) 2005 $ThePhpWikiProgrammingTeam + * Copyright (C) 2008 Marc-Etienne Vargenau, Alcatel-Lucent * * This file is part of PhpWiki. * @@ -126,7 +127,7 @@ if (isset($row)) { if (isset($cell)) { if (isset($content)) - $cell->pushContent(TransformText($content)); + $cell->pushContent(TransformText($content, $markup, $basepage)); $row->pushContent($cell); } $table->pushContent($row); @@ -152,26 +153,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.7 2005/05/06 17:44:24 rurban -// silence undefined offset 1 msg -// -// Revision 1.6 2005/04/09 08:16:00 rurban -// fix RichTablePlugin embedded plugin invocation. Bug #1044245 -// -// Revision 1.5 2004/06/14 11:31:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// inherit PageList default options from PageList -// default sortby=pagename -// use options in PageList_Selectable (limit, sortby, ...) -// added action revert, with button at action=diff -// added option regex to WikiAdminSearchReplace -// -// Revision 1.4 2004/03/09 13:08:40 rurban -// fix undefined TransformText error: load BlockParser, -// get rid of warnings -// - // For emacs users // Local Variables: // mode: php 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:39:03
|
Revision: 6264 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6264&view=rev Author: vargenau Date: 2008-09-16 18:39:14 +0000 (Tue, 16 Sep 2008) Log Message: ----------- Provide getDefaultArguments() function Modified Paths: -------------- trunk/lib/plugin/BoxRight.php trunk/lib/plugin/RawHtml.php trunk/lib/plugin/SystemInfo.php Modified: trunk/lib/plugin/BoxRight.php =================================================================== --- trunk/lib/plugin/BoxRight.php 2008-09-16 18:37:46 UTC (rev 6263) +++ trunk/lib/plugin/BoxRight.php 2008-09-16 18:39:14 UTC (rev 6264) @@ -39,6 +39,10 @@ "\$Revision$"); } + function getDefaultArguments() { + return array(); + } + function managesValidators() { // The plugin output will only change if the plugin // invocation (page text) changes --- so the necessary @@ -57,8 +61,6 @@ } -// $Log: not supported by cvs2svn $ - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2008-09-16 18:37:46 UTC (rev 6263) +++ trunk/lib/plugin/RawHtml.php 2008-09-16 18:39:14 UTC (rev 6264) @@ -62,6 +62,10 @@ "\$Revision$"); } + function getDefaultArguments() { + return array(); + } + function managesValidators() { // The plugin output will only change if the plugin // invocation (page text) changes --- so the necessary @@ -227,34 +231,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.10 2004/07/05 13:09:37 rurban -// ENABLE_RAW_HTML_LOCKEDONLY, ENABLE_RAW_HTML_SAFE -// -// Revision 1.9 2004/07/05 13:04:47 rurban -// new RawHtml policies: ENABLE_RAW_HTML_LOCKEDONLY, ENABLE_RAW_HTML_SAFE -// -// Revision 1.8 2003/11/22 17:50:32 carstenklapp -// Minor internal change: Removed redundant call to gettext within -// fmt(). (locale make: RawHtml.php:65: warning: keyword nested in -// keyword arg) -// -// Revision 1.7 2003/03/17 22:32:26 dairiki -// Minor HTTP caching fix. -// -// Revision 1.6 2003/03/17 21:24:53 dairiki -// Fix security bugs in the RawHtml plugin. -// -// Change the default configuration to allow use of plugin, since -// I believe the plugin is now safe for general use. (Raw HTML will only -// work on locked pages.) -// -// Revision 1.5 2003/01/18 22:01:43 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/SystemInfo.php =================================================================== --- trunk/lib/plugin/SystemInfo.php 2008-09-16 18:37:46 UTC (rev 6263) +++ trunk/lib/plugin/SystemInfo.php 2008-09-16 18:39:14 UTC (rev 6264) @@ -59,6 +59,7 @@ return preg_replace("/[Revision: $]/", '', "\$Revision$"); } + /* From lib/WikiPlugin.php: * If the plugin can deduce a modification time, or equivalent * sort of tag for it's content, then the plugin should @@ -77,13 +78,12 @@ . WikiPluginCached::glueArgs($argarray) // all . ' ?>', $request, $this, $basepage); } - /* + function getDefaultArguments() { return array( - 'seperator' => ' ', // on multiple args + // 'seperator' => ' ', // on multiple args ); } - */ function database() { global $request; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2008-10-02 10:01:39
|
Revision: 6286 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6286&view=rev Author: vargenau Date: 2008-10-02 10:01:29 +0000 (Thu, 02 Oct 2008) Log Message: ----------- Put buttons at the top so that they are always visible Modified Paths: -------------- trunk/lib/plugin/WikiAdminChmod.php trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php Modified: trunk/lib/plugin/WikiAdminChmod.php =================================================================== --- trunk/lib/plugin/WikiAdminChmod.php 2008-10-02 09:01:37 UTC (rev 6285) +++ trunk/lib/plugin/WikiAdminChmod.php 2008-10-02 10:01:29 UTC (rev 6286) @@ -2,8 +2,9 @@ rcs_id('$Id$'); /* Copyright 2004 $ThePhpWikiProgrammingTeam + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent - This file is not yet part of PhpWiki. It doesn't work yet. + This file is part of PhpWiki. PhpWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -161,6 +162,7 @@ return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, + $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, @@ -168,8 +170,7 @@ HiddenInputs(array('admin_chmod[action]' => $next_action)), ENABLE_PAGEPERM ? '' - : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN)), - $buttons); + : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN))); } function chmodForm(&$header, $post_args) { @@ -204,75 +205,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.13 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.12 2004/11/23 15:17:19 rurban -// better support for case_exact search (not caseexact for consistency), -// plugin args simplification: -// handle and explode exclude and pages argument in WikiPlugin::getArgs -// and exclude in advance (at the sql level if possible) -// handle sortby and limit from request override in WikiPlugin::getArgs -// ListSubpages: renamed pages to maxpages -// -// Revision 1.11 2004/06/16 10:38:59 rurban -// Disallow refernces in calls if the declaration is a reference -// ("allow_call_time_pass_reference clean"). -// PhpWiki is now allow_call_time_pass_reference = Off clean, -// but several external libraries may not. -// In detail these libs look to be affected (not tested): -// * Pear_DB odbc -// * adodb oracle -// -// Revision 1.10 2004/06/14 11:31:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// inherit PageList default options from PageList -// default sortby=pagename -// use options in PageList_Selectable (limit, sortby, ...) -// added action revert, with button at action=diff -// added option regex to WikiAdminSearchReplace -// -// Revision 1.9 2004/06/13 15:33:20 rurban -// new support for arguments owner, author, creator in most relevant -// PageList plugins. in WikiAdmin* via preSelectS() -// -// Revision 1.8 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.7 2004/06/03 22:24:42 rurban -// reenable admin check on !ENABLE_PAGEPERM, honor s=Wildcard arg, fix warning after Remove -// -// Revision 1.6 2004/03/17 20:23:44 rurban -// fixed p[] pagehash passing from WikiAdminSelect, fixed problem removing pages with [] in the pagename -// -// Revision 1.5 2004/03/12 13:31:43 rurban -// enforce PagePermissions, errormsg if not Admin -// -// Revision 1.4 2004/02/24 15:20:06 rurban -// fixed minor warnings: unchecked args, POST => Get urls for sortby e.g. -// -// Revision 1.3 2004/02/24 04:02:06 rurban -// Better warning messages -// -// Revision 1.2 2004/02/24 03:21:40 rurban -// enabled require_all check in WikiPoll -// better handling of <20 min visiting client: display results so far -// -// Revision 1.1 2004/02/23 21:30:25 rurban -// more PagePerm stuff: (working against 1.4.0) -// ACL editing and simplification of ACL's to simple rwx------ string -// not yet working. -// -// - // Local Variables: // mode: php // tab-width: 8 @@ -280,4 +212,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/WikiAdminChown.php =================================================================== --- trunk/lib/plugin/WikiAdminChown.php 2008-10-02 09:01:37 UTC (rev 6285) +++ trunk/lib/plugin/WikiAdminChown.php 2008-10-02 10:01:29 UTC (rev 6286) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /* Copyright 2004 $ThePhpWikiProgrammingTeam + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -168,6 +169,7 @@ return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, + $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, @@ -175,8 +177,7 @@ HiddenInputs(array('admin_chown[action]' => $next_action)), ENABLE_PAGEPERM ? '' - : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN)), - $buttons); + : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN))); } function chownForm(&$header, $post_args) { @@ -189,50 +190,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.8 2005/01/29 19:48:14 rurban -// reformatting -// -// Revision 1.7 2004/11/23 15:17:19 rurban -// better support for case_exact search (not caseexact for consistency), -// plugin args simplification: -// handle and explode exclude and pages argument in WikiPlugin::getArgs -// and exclude in advance (at the sql level if possible) -// handle sortby and limit from request override in WikiPlugin::getArgs -// ListSubpages: renamed pages to maxpages -// -// Revision 1.6 2004/06/16 10:38:59 rurban -// Disallow refernces in calls if the declaration is a reference -// ("allow_call_time_pass_reference clean"). -// PhpWiki is now allow_call_time_pass_reference = Off clean, -// but several external libraries may not. -// In detail these libs look to be affected (not tested): -// * Pear_DB odbc -// * adodb oracle -// -// Revision 1.5 2004/06/14 11:31:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// inherit PageList default options from PageList -// default sortby=pagename -// use options in PageList_Selectable (limit, sortby, ...) -// added action revert, with button at action=diff -// added option regex to WikiAdminSearchReplace -// -// Revision 1.4 2004/06/13 15:33:20 rurban -// new support for arguments owner, author, creator in most relevant -// PageList plugins. in WikiAdmin* via preSelectS() -// -// Revision 1.3 2004/06/08 10:05:11 rurban -// simplified admin action shortcuts -// -// Revision 1.2 2004/06/07 18:59:42 rurban -// added Chown link to Owner in statusbar -// -// Revision 1.1 2004/06/07 17:58:58 rurban -// new chown plugin -// -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/WikiAdminMarkup.php =================================================================== --- trunk/lib/plugin/WikiAdminMarkup.php 2008-10-02 09:01:37 UTC (rev 6285) +++ trunk/lib/plugin/WikiAdminMarkup.php 2008-10-02 10:01:29 UTC (rev 6286) @@ -2,8 +2,9 @@ rcs_id('$Id$'); /* Copyright 2005 $ThePhpWikiProgrammingTeam + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent - This file is not yet part of PhpWiki. + This file is part of PhpWiki. PhpWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -164,6 +165,7 @@ return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, + $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, @@ -171,8 +173,7 @@ HiddenInputs(array('admin_markup[action]' => $next_action)), ENABLE_PAGEPERM ? '' - : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN)), - $buttons); + : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN))); } function chmarkupForm(&$header, $post_args) { @@ -185,9 +186,6 @@ } } -// $Log: not supported by cvs2svn $ -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/WikiAdminRemove.php =================================================================== --- trunk/lib/plugin/WikiAdminRemove.php 2008-10-02 09:01:37 UTC (rev 6285) +++ trunk/lib/plugin/WikiAdminRemove.php 2008-10-02 10:01:29 UTC (rev 6286) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /* Copyright 2002,2004 $ThePhpWikiProgrammingTeam + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -217,13 +218,13 @@ return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, + $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, array('admin_remove')), HiddenInputs(array('admin_remove[action]' => $next_action, - 'require_authority_for_post' => WIKIAUTH_ADMIN)), - $buttons); + 'require_authority_for_post' => WIKIAUTH_ADMIN))); } } Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2008-10-02 09:01:37 UTC (rev 6285) +++ trunk/lib/plugin/WikiAdminRename.php 2008-10-02 10:01:29 UTC (rev 6286) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /* Copyright 2004,2005,2007 $ThePhpWikiProgrammingTeam + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -186,6 +187,7 @@ return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, + $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, @@ -193,8 +195,7 @@ HiddenInputs(array('admin_rename[action]' => $next_action)), ENABLE_PAGEPERM ? '' - : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN)), - $buttons); + : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN))); } function checkBox (&$post_args, $name, $msg) { Modified: trunk/lib/plugin/WikiAdminSearchReplace.php =================================================================== --- trunk/lib/plugin/WikiAdminSearchReplace.php 2008-10-02 09:01:37 UTC (rev 6285) +++ trunk/lib/plugin/WikiAdminSearchReplace.php 2008-10-02 10:01:29 UTC (rev 6286) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /* Copyright 2004,2007 $ThePhpWikiProgrammingTeam + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -202,6 +203,7 @@ return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, + $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, @@ -209,8 +211,7 @@ HiddenInputs(array('admin_replace[action]' => $next_action)), ENABLE_PAGEPERM ? '' - : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN)), - $buttons); + : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN))); } function checkBox (&$post_args, $name, $msg) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-24 15:43:59
|
Revision: 6548 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6548&view=rev Author: vargenau Date: 2009-02-24 15:43:52 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Display error message if no argument provided Modified Paths: -------------- trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/PageGroup.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/TitleSearch.php Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2009-02-24 15:42:01 UTC (rev 6547) +++ trunk/lib/plugin/FullTextSearch.php 2009-02-24 15:43:52 UTC (rev 6548) @@ -71,8 +71,9 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); - if (empty($args['s'])) - return ''; + if (empty($args['s'])) { + return HTML::div(array('class' => "error"), "Please provide 's' argument to the plugin."); + } extract($args); $query = new TextSearchQuery($s, $case_exact, $regex); @@ -166,68 +167,6 @@ } } - -// $Log: not supported by cvs2svn $ -// Revision 1.28 2007/06/07 17:02:42 rurban -// fix display of pagenames containing ":" in certain lists -// -// Revision 1.27 2007/01/04 16:46:40 rurban -// Only notes -// -// Revision 1.26 2005/11/14 22:33:04 rurban -// print ignored stoplist words -// -// Revision 1.25 2005/09/11 14:55:05 rurban -// implement fulltext stoplist -// -// Revision 1.24 2004/11/26 18:39:02 rurban -// new regex search parser and SQL backends (90% complete, glob and pcre backends missing) -// -// Revision 1.23 2004/11/23 15:17:19 rurban -// better support for case_exact search (not caseexact for consistency), -// plugin args simplification: -// handle and explode exclude and pages argument in WikiPlugin::getArgs -// and exclude in advance (at the sql level if possible) -// handle sortby and limit from request override in WikiPlugin::getArgs -// ListSubpages: renamed pages to maxpages -// -// Revision 1.22 2004/05/28 11:01:58 rurban -// support to disable highlighting -// example: s=ReiniUrban&hilight=0&noheader=1 -// -// Revision 1.21 2004/04/18 01:11:52 rurban -// more numeric pagename fixes. -// fixed action=upload with merge conflict warnings. -// charset changed from constant to global (dynamic utf-8 switching) -// -// Revision 1.20 2004/02/28 21:14:08 rurban -// generally more PHPDOC docs -// see http://xarch.tu-graz.ac.at/home/rurban/phpwiki/xref/ -// fxied WikiUserNew pref handling: empty theme not stored, save only -// changed prefs, sql prefs improved, fixed password update, -// removed REPLACE sql (dangerous) -// moved gettext init after the locale was guessed -// + some minor changes -// -// Revision 1.19 2004/02/26 04:27:39 rurban -// wrong limit notification -// -// Revision 1.18 2004/02/26 04:24:03 rurban -// simplify quiet handling by using PageList -// -// Revision 1.17 2004/02/26 04:03:39 rurban -// added quiet, limit and exclude to FullTextSearch, -// fixed explodePageList with previously unloaded PageList -// -// Revision 1.16 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.15 2003/01/18 21:41:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/PageGroup.php =================================================================== --- trunk/lib/plugin/PageGroup.php 2009-02-24 15:42:01 UTC (rev 6547) +++ trunk/lib/plugin/PageGroup.php 2009-02-24 15:43:52 UTC (rev 6548) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /** Copyright 1999,2000,2001,2002,2004 $ThePhpWikiProgrammingTeam + Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -95,15 +96,13 @@ $args = $this->getArgs($argstr, $request); extract($args); - $html=""; if (empty($parent)) { // FIXME: WikiPlugin has no way to report when // required args are missing? $error_text = fmt("%s: %s", "WikiPlugin_" .$this->getName(), $error_text); $error_text .= " " . sprintf(_("A required argument '%s' is missing."), 'parent'); - $html = $error_text; - return $html; + return HTML::div(array('class' => "error"), $error_text); } $directions = array ('next' => _("Next"), 'previous' => _("Previous"), @@ -209,28 +208,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.8 2004/06/14 11:31:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// inherit PageList default options from PageList -// default sortby=pagename -// use options in PageList_Selectable (limit, sortby, ...) -// added action revert, with button at action=diff -// added option regex to WikiAdminSearchReplace -// -// Revision 1.7 2004/05/03 15:53:20 rurban -// Support [] links, but no [name|page] links yet -// Support subpages -// -// Revision 1.6 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.5 2003/01/18 21:49:00 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2009-02-24 15:42:01 UTC (rev 6547) +++ trunk/lib/plugin/RecentReferrers.php 2009-02-24 15:43:52 UTC (rev 6548) @@ -31,7 +31,9 @@ } function run($dbi, $argstr, &$request, $basepage) { - if (!ACCESS_LOG) return; + if (!ACCESS_LOG) { + return HTML::div(array('class' => "error"), "Error: no ACCESS_LOG"); + } $args = $this->getArgs($argstr, $request); $table = HTML::table(array('cellpadding' => 1, 'cellspacing' => 2, @@ -71,4 +73,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/TitleSearch.php =================================================================== --- trunk/lib/plugin/TitleSearch.php 2009-02-24 15:42:01 UTC (rev 6547) +++ trunk/lib/plugin/TitleSearch.php 2009-02-24 15:43:52 UTC (rev 6548) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /** Copyright 1999,2000,2001,2002,2004,2005 $ThePhpWikiProgrammingTeam + Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -72,8 +73,9 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); - if (empty($args['s'])) - return ''; + if (empty($args['s'])) { + return HTML::div(array('class' => "error"), "Please provide 's' argument to the plugin."); + } $query = new TextSearchQuery($args['s'], $args['case_exact'], $args['regex']); $pages = $dbi->titleSearch($query,$args['sortby'],$args['limit'],$args['exclude']); @@ -117,64 +119,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.29 2007/01/02 13:23:30 rurban -// note to deprecate livesearch hack -// -// Revision 1.28 2005/09/10 21:33:08 rurban -// support enhanced API -// -// Revision 1.27 2005/02/03 05:09:57 rurban -// livesearch.js support -// -// Revision 1.26 2004/11/27 14:39:05 rurban -// simpified regex search architecture: -// no db specific node methods anymore, -// new sql() method for each node -// parallel to regexp() (which returns pcre) -// regex types bitmasked (op's not yet) -// new regex=sql -// clarified WikiDB::quote() backend methods: -// ->quote() adds surrounsing quotes -// ->qstr() (new method) assumes strings and adds no quotes! (in contrast to ADODB) -// pear and adodb have now unified quote methods for all generic queries. -// -// Revision 1.25 2004/11/26 18:39:02 rurban -// new regex search parser and SQL backends (90% complete, glob and pcre backends missing) -// -// Revision 1.24 2004/11/25 08:30:58 rurban -// dont extract args -// -// Revision 1.23 2004/11/23 15:17:19 rurban -// better support for case_exact search (not caseexact for consistency), -// plugin args simplification: -// handle and explode exclude and pages argument in WikiPlugin::getArgs -// and exclude in advance (at the sql level if possible) -// handle sortby and limit from request override in WikiPlugin::getArgs -// ListSubpages: renamed pages to maxpages -// -// Revision 1.22 2004/11/23 13:35:49 rurban -// add case_exact search -// -// Revision 1.21 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.20 2003/11/02 20:42:35 carstenklapp -// Allow for easy page creation when search returns no matches. -// Based on cuthbertcat's patch, SF#655090 2002-12-17. -// -// Revision 1.19 2003/03/07 02:50:16 dairiki -// Fixes for new javascript redirect. -// -// Revision 1.18 2003/02/21 04:16:51 dairiki -// Don't NORETURN from redirect. -// -// Revision 1.17 2003/01/18 22:08:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // 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...> - 2009-02-25 15:27:24
|
Revision: 6564 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6564&view=rev Author: vargenau Date: 2009-02-25 15:27:19 +0000 (Wed, 25 Feb 2009) Log Message: ----------- Add svn:keywords Revision Modified Paths: -------------- trunk/lib/plugin/Chart.php trunk/lib/plugin/CurrentTime.php Property Changed: ---------------- trunk/lib/plugin/Chart.php trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/Chart.php =================================================================== --- trunk/lib/plugin/Chart.php 2009-02-25 15:13:50 UTC (rev 6563) +++ trunk/lib/plugin/Chart.php 2009-02-25 15:27:19 UTC (rev 6564) @@ -56,7 +56,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 6185 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/Chart.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2009-02-25 15:13:50 UTC (rev 6563) +++ trunk/lib/plugin/CurrentTime.php 2009-02-25 15:27:19 UTC (rev 6564) @@ -66,7 +66,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 6185 $"); + "\$Revision$"); } // Establish default values for each of this plugin's arguments. Property changes on: trunk/lib/plugin/CurrentTime.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-09 18:38:57
|
Revision: 6671 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6671&view=rev Author: vargenau Date: 2009-03-09 18:38:33 +0000 (Mon, 09 Mar 2009) Log Message: ----------- Remove also empty span tags. Modified Paths: -------------- trunk/lib/plugin/PhpHighlight.php trunk/lib/plugin/RandomPage.php trunk/lib/plugin/RateIt.php Modified: trunk/lib/plugin/PhpHighlight.php =================================================================== --- trunk/lib/plugin/PhpHighlight.php 2009-03-09 17:35:35 UTC (rev 6670) +++ trunk/lib/plugin/PhpHighlight.php 2009-03-09 18:38:33 UTC (rev 6671) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /** Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -115,15 +116,16 @@ /* Remove "<?php\n" and "\n?>" again: */ $str = str_replace(array('<?php<br />', '?>'), '', $str); - /** - * We might have made some empty font tags. (The following - * str_replace string does not produce results on my system, - * maybe a php bug? '<font color="$color"></font>') - */ + /* We might have made some empty font tags. */ foreach (array($string, $comment, $keyword, $bg, $default, $html) as $color) { $search = "<font color=\"$color\"></font>"; $str = str_replace($search, '', $str); } + /* Remove also empty span tags. */ + foreach (array($string, $comment, $keyword, $bg, $default, $html) as $color) { + $search = "<span style=\"color: $color\"></span>"; + $str = str_replace($search, '', $str); + } /* restore default colors in case of multiple invocations of this plugin on one page */ @@ -187,16 +189,6 @@ }; -// $Log: not supported by cvs2svn $ -// Revision 1.8 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.7 2003/01/18 22:01:43 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/RandomPage.php =================================================================== --- trunk/lib/plugin/RandomPage.php 2009-03-09 17:35:35 UTC (rev 6670) +++ trunk/lib/plugin/RandomPage.php 2009-03-09 18:38:33 UTC (rev 6671) @@ -107,27 +107,6 @@ } }; - -// $Log: not supported by cvs2svn $ -// Revision 1.12 2004/11/25 08:30:15 rurban -// dont mess around with spaces -// -// Revision 1.11 2004/10/04 23:42:42 rurban -// fix for pages=1 -// -// Revision 1.10 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.9 2003/01/18 22:01:43 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// -// Revision 1.8 2003/01/04 02:25:41 carstenklapp -// Added copyleft and plugin description & version, tweaked default -// exclude list code to allow spaces (a cosmetic workaround for -// PluginManager plugin). - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/RateIt.php =================================================================== --- trunk/lib/plugin/RateIt.php 2009-03-09 17:35:35 UTC (rev 6670) +++ trunk/lib/plugin/RateIt.php 2009-03-09 18:38:33 UTC (rev 6671) @@ -253,9 +253,13 @@ //$this->_dbi = & $dbi; $user = $request->getUser(); //FIXME: fails on test with DumpHtml:RateIt - if (!is_object($user)) return HTML(); + if (!is_object($user)) { + return HTML::raw(''); + } $this->userid = $user->getId(); - if (!$this->userid) return HTML(); + if (!$this->userid) { + return HTML::raw(''); + } $args = $this->getArgs($argstr, $request); $this->dimension = $args['dimension']; $this->imgPrefix = $args['imgPrefix']; @@ -483,116 +487,6 @@ }; - -// $Log: not supported by cvs2svn $ -// Revision 1.24 2008/03/17 19:14:43 rurban -// add mode=text: just text, no widget, for dumps -// -// Revision 1.23 2008/01/24 19:19:35 rurban -// support multiple plugins per page (e.g. in plugin lists), added show=top, fixed RATING_STORAGE=WIKIPAGE, fixes smart caching -// -// Revision 1.22 2007/02/17 14:15:14 rurban -// noborder for the recycle bin -// -// Revision 1.21 2007/01/22 23:50:48 rurban -// Do not display if not signed in -// -// Revision 1.20 2006/03/04 13:57:28 rurban -// rename hash for php-5.1 -// -// Revision 1.19 2004/11/15 16:00:01 rurban -// enable RateIt imgPrefix: '' or 'Star' or 'BStar', -// enable blue prediction icons, -// enable buddy predictions. -// -// Revision 1.18 2004/11/01 10:43:59 rurban -// seperate PassUser methods into seperate dir (memory usage) -// fix WikiUser (old) overlarge data session -// remove wikidb arg from various page class methods, use global ->_dbi instead -// ... -// -// Revision 1.17 2004/08/05 17:31:52 rurban -// more xhtml conformance fixes -// -// Revision 1.16 2004/08/05 17:23:54 rurban -// add alt tag for xhtml conformance -// -// Revision 1.15 2004/07/09 12:50:50 rurban -// references are declared, not enforced -// -// Revision 1.14 2004/07/08 20:30:07 rurban -// plugin->run consistency: request as reference, added basepage. -// encountered strange bug in AllPages (and the test) which destroys ->_dbi -// -// Revision 1.12 2004/06/30 19:59:07 dfrankow -// Make changes suitable so that wikilens theme (and wikilens.org) work properly. -// + Remove predictions (for now) -// + Use new RatingsDb singleton. -// + Change RatingWidgetHtml() to use parameters like a normal PHP function -// so we can have PHP check that we are passing the right # of them. -// + Change RatingWidgetHtml() to be callable static-ally -// (without a plugin object) -// + Remove the "RateIt" button for now, because we don't use it on wikilens.org. -// Maybe if someone wants the button, there can be an arg or flag for it. -// + Always show the cancel button, because UI widgets should not hide. -// + Remove the "No opinion" button for now, because we don't yet store that. -// This is a useful thing, tho, for the future. -// -// Revision 1.11 2004/06/19 10:22:41 rurban -// outcomment the pear specific methods to let all pages load -// -// Revision 1.10 2004/06/18 14:42:17 rurban -// added wikilens libs (not yet merged good enough, some work for DanFr) -// -// Revision 1.9 2004/06/14 11:31:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// inherit PageList default options from PageList -// default sortby=pagename -// use options in PageList_Selectable (limit, sortby, ...) -// added action revert, with button at action=diff -// added option regex to WikiAdminSearchReplace -// -// Revision 1.8 2004/06/01 15:28:01 rurban -// AdminUser only ADMIN_USER not member of Administrators -// some RateIt improvements by dfrankow -// edit_toolbar buttons -// -// Revision _1.2 2004/04/29 17:55:03 dfrankow -// Check in escape() changes to protect against leading spaces in pagename. -// This is untested with Reini's _("RateIt") additions to this plugin. -// -// Revision 1.7 2004/04/21 04:29:50 rurban -// write WikiURL consistently (not WikiUrl) -// -// Revision 1.6 2004/04/12 14:07:12 rurban -// more docs -// -// Revision 1.5 2004/04/11 10:42:02 rurban -// pgsrc/CreatePagePlugin -// -// Revision 1.4 2004/04/06 20:00:11 rurban -// Cleanup of special PageList column types -// Added support of plugin and theme specific Pagelist Types -// Added support for theme specific UserPreferences -// Added session support for ip-based throttling -// sql table schema change: ALTER TABLE session ADD sess_ip CHAR(15); -// Enhanced postgres schema -// Added DB_Session_dba support -// -// Revision 1.3 2004/04/01 06:29:51 rurban -// better wording -// RateIt also for ADODB -// -// Revision 1.2 2004/03/31 06:22:22 rurban -// shorter javascript, -// added prediction buttons and display logic, -// empty HTML if not signed in. -// fixed deleting (empty dimension => 0) -// -// Revision 1.1 2004/03/30 02:38:06 rurban -// RateIt support (currently no recommendation engine yet) -// - // For emacs users // Local Variables: // mode: php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-31 12:03:14
|
Revision: 6743 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6743&view=rev Author: vargenau Date: 2009-03-31 12:02:55 +0000 (Tue, 31 Mar 2009) Log Message: ----------- Remove history Modified Paths: -------------- trunk/lib/plugin/AddComment.php trunk/lib/plugin/AnalyseAccessLogSql.php trunk/lib/plugin/AppendText.php trunk/lib/plugin/AsciiSVG.php trunk/lib/plugin/BlogArchives.php trunk/lib/plugin/BlogJournal.php trunk/lib/plugin/Calendar.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CreatePage.php trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/FoafViewer.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/GoogleMaps.php trunk/lib/plugin/GooglePlugin.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/HelloWorld.php trunk/lib/plugin/IncludePages.php trunk/lib/plugin/IncludeSiteMap.php trunk/lib/plugin/InterWikiSearch.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/LikePages.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/ListRelations.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/OrphanedPages.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/PageInfo.php trunk/lib/plugin/PageTrail.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/PhpWeather.php trunk/lib/plugin/Ploticus.php trunk/lib/plugin/PopularNearby.php trunk/lib/plugin/PopularTags.php trunk/lib/plugin/RecentChangesCached.php trunk/lib/plugin/RecentComments.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/RedirectTo.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/SearchHighlight.php trunk/lib/plugin/SemanticRelations.php trunk/lib/plugin/SemanticSearchAdvanced.php trunk/lib/plugin/SiteMap.php trunk/lib/plugin/SpellCheck.php trunk/lib/plugin/SqlResult.php trunk/lib/plugin/SyncWiki.php trunk/lib/plugin/TeX2png.php trunk/lib/plugin/TexToPng.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WantedPages.php trunk/lib/plugin/WantedPagesOld.php trunk/lib/plugin/WhoIsOnline.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiForm.php trunk/lib/plugin/WikiFormRich.php trunk/lib/plugin/WikiForum.php trunk/lib/plugin/_AuthInfo.php trunk/lib/plugin/_BackendInfo.php trunk/lib/plugin/_PreferencesInfo.php trunk/lib/plugin/_WikiTranslation.php trunk/lib/plugin/text2png.php Modified: trunk/lib/plugin/AddComment.php =================================================================== --- trunk/lib/plugin/AddComment.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/AddComment.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -142,38 +142,6 @@ }; -// $Log: not supported by cvs2svn $ -// Revision 1.8 2004/06/13 09:45:23 rurban -// display bug workaround for MacIE browsers, jshide: 0 -// -// Revision 1.7 2004/03/29 21:33:32 rurban -// possible fix for problem reported by Whit Blauvelt -// Message-ID: <200...@fr...> -// create intermediate redirect subpages for blog/comment/forum -// -// Revision 1.6 2004/03/16 15:44:34 rurban -// jshide not default as in CreateToc -// -// Revision 1.5 2004/03/15 09:52:59 rurban -// jshide button: dynamic titles -// -// Revision 1.4 2004/03/14 20:30:21 rurban -// jshide button -// -// Revision 1.3 2004/03/14 16:26:21 rurban -// copyright line -// -// Revision 1.2 2004/03/12 20:59:18 rurban -// important cookie fix by Konstantin Zadorozhny -// new editpage feature: JS_SEARCHREPLACE -// -// Revision 1.1 2004/03/12 17:32:41 rurban -// new base class PageType_attach as base class for WikiBlog, Comment, and WikiForum. -// new plugin AddComment, which is a WikiBlog with different pagetype and template, -// based on WikiBlog. WikiForum comes later. -// -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/AnalyseAccessLogSql.php =================================================================== --- trunk/lib/plugin/AnalyseAccessLogSql.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/AnalyseAccessLogSql.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -387,14 +387,6 @@ } -// $Log: not supported by cvs2svn $ -// Revision 1.1 2005/02/12 17:26:24 rurban -// renamed to Sql. Added translations (inc not yet) -// -// Revision 1.1 2005/02/02 20:41:02 rurban -// Accesslog sql queries -// - // For emacs users // Local Variables: // mode: php @@ -403,4 +395,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/AppendText.php =================================================================== --- trunk/lib/plugin/AppendText.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/AppendText.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -151,45 +151,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.7 2005/04/02 03:05:43 uckelman -// Removed & from vars passed by reference (not needed, causes PHP to complain). -// -// Revision 1.6 2005/02/12 17:24:23 rurban -// locale update: missing . : fixed. unified strings -// proper linebreaks -// -// Revision 1.5 2004/11/26 18:39:02 rurban -// new regex search parser and SQL backends (90% complete, glob and pcre backends missing) -// -// Revision ext-1.4 2004/11/25 15:39:40 Pascal Giard <evi...@gm...> -// * Directly including modified page when AppendText got called from -// the page to be modified. -// * Translatable link to page. -// -// Revision ext-1.3 2004/11/25 9:44:45 Pascal Giard <evi...@gm...> -// * text modified to s to workaround mozilla bug. -// * Added redirect parameter allowing you to be redirected to the modified page. -// -// Revision 1.4 2004/11/25 17:20:52 rurban -// and again a couple of more native db args: backlinks -// -// Revision 1.3 2004/11/25 13:56:23 rurban -// renamed text to s because of nasty mozilla radio button bug -// -// Revision 1.2 2004/11/25 08:29:43 rurban -// update from Pascal -// -// Revision ext-1.2 2004/11/24 11:22:30 Pascal Giard <evi...@gm...> -// * Integrated rurban's modifications. -// -// Revision 1.1 2004/11/24 09:25:35 rurban -// simple plugin by Pascal Giard (QC/EMC) -// -// Revision 1.0 2004/11/23 09:43:35 epasgia -// * Initial version. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/AsciiSVG.php =================================================================== --- trunk/lib/plugin/AsciiSVG.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/AsciiSVG.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -108,11 +108,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.1 2007/01/21 23:14:55 rurban -// new plugin. see license in the .js -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/BlogArchives.php =================================================================== --- trunk/lib/plugin/BlogArchives.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/BlogArchives.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -135,24 +135,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.5 2005/10/29 09:06:37 rurban -// move common blog methods to WikiBlog -// -// Revision 1.4 2004/12/16 18:29:00 rurban -// allow empty Blog prefix -// -// Revision 1.3 2004/12/15 17:45:08 rurban -// fix box method -// -// Revision 1.2 2004/12/14 21:35:15 rurban -// support new BLOG_EMPTY_DEFAULT_PREFIX -// -// Revision 1.1 2004/12/13 13:22:57 rurban -// new BlogArchives plugin for the new blog theme. enable default box method -// for all plugins. Minor search improvement. -// - // Local Variables: // mode: php // tab-width: 8 @@ -160,4 +142,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/BlogJournal.php =================================================================== --- trunk/lib/plugin/BlogJournal.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/BlogJournal.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -92,24 +92,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.4 2005/11/21 20:56:23 rurban -// no duplicate headline and no direct page link anymore -// -// Revision 1.3 2005/11/21 20:47:21 rurban -// fix count error -// -// Revision 1.2 2005/10/29 09:06:37 rurban -// move common blog methods to WikiBlog -// -// Revision 1.1 2005/10/29 09:03:17 rurban -// Include the latest blog entries for the current users blog if signed, -// or the ADMIN_USER's Blog if not. -// UnfoldSubpages for blogs. -// Rui called this plugin "JournalLast", but this was written completely -// independently, without having seen the src (yet). -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/Calendar.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -249,37 +249,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.34 2007/08/25 18:52:21 rurban -// Calendar weekday: change from Sunday to start now with Monday -// -// Revision 1.33 2007/01/22 23:48:54 rurban -// Fix Calendar %U: weeknum starting with 1 -// -// Revision 1.32 2007/01/03 21:23:24 rurban -// add display_weeknum support. -// -// Revision 1.31 2006/03/19 14:26:29 rurban -// sf.net patch by Matt Brown: Add rel=nofollow to more actions -// -// Revision 1.30 2005/04/02 03:05:44 uckelman -// Removed & from vars passed by reference (not needed, causes PHP to complain). -// -// Revision 1.29 2004/12/06 19:15:04 rurban -// save edit-time links as requested in #946679 -// -// Revision 1.28 2004/05/08 14:06:13 rurban -// new support for inlined image attributes: [image.jpg size=50x30 align=right] -// minor stability and portability fixes -// -// Revision 1.27 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.26 2003/01/18 21:19:25 carstenklapp -// Code cleanup: -// Reformatting; added copyleft, getVersion, getDescription -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/CalendarList.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -230,61 +230,6 @@ } }; - -// $Log: not supported by cvs2svn $ -// Revision 1.12 2008/08/17 07:45:03 vargenau -// No comma in default -// -// Revision 1.11 2008/02/14 18:58:15 rurban -// provide mday default -// -// Revision 1.10 2007/09/01 13:39:46 rurban -// CalendarList pages now in parallel with Calendar: year + month args as start base, The behaviour before 2007 with last/next_n_days was to start now. -// -// Revision 1.9 2006/05/14 17:40:31 rurban -// Patch #1232730 by banjo -// -// Revision 1.8 2005/10/12 06:18:31 rurban -// dont overdo constants -// -// Revision 1.7 2005/07/21 18:55:55 rurban -// applied mpullen patch (Revised to work on all date range combinations...), -// but still does not work as documented. -// -// Revision 1.6.2 2005/06/24 12:00:00 mpullen -// Corrected bug in the main WHILE loop to detect proper termination point in time -// {it was stopping one day too soon in either direction}. -// -// Revision 1.6.1 2005/06/23 12:00:00 mpullen -// Revised to work on all date range combinations (past and future, by days or count of events) -// Externalized five control parameter constants to the config.ini file (new section 8 for PLUGINs) -// -// Revision 1.6 2005/04/02 03:05:44 uckelman -// Removed & from vars passed by reference (not needed, causes PHP to complain). -// -// Revision 1.5 2004/12/06 19:15:04 rurban -// save edit-time links as requested in #946679 -// -// Revision 1.4 2004/12/06 18:32:39 rurban -// added order=reverse: feature request from #981109 -// -// Revision 1.3 2004/09/22 13:36:45 rurban -// Support ranges, based on a simple patch by JoshWand -// next_n_days, last_n_days, next_n -// last_n not yet -// -// Revision 1.2 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.1 2003/11/18 19:06:03 carstenklapp -// New plugin to be used in conjunction with the Calendar plugin. -// Upgraded to use SUBPAGE_SEPARATOR for subpages. SF patch tracker -// submission 565369. -// - - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/CreatePage.php =================================================================== --- trunk/lib/plugin/CreatePage.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/CreatePage.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -127,62 +127,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.12 2007/08/10 22:03:34 rurban -// Cannot create page with empty name -// -// Revision 1.11 2007/01/27 21:36:52 rurban -// Overwrite empty or deleted pages -// -// Revision 1.10 2007/01/25 07:42:16 rurban -// Changed doVariableExpansion API. -// -// Revision 1.9 2007/01/04 16:42:23 rurban -// Expand even if no vars are given. They may be defaults, i.e %%pagename%% -// -// Revision 1.8 2007/01/03 21:23:32 rurban -// Derive from Template. Use same variable expansion. Support <noinclude> as in Template. -// -// Revision 1.7 2004/09/06 10:22:15 rurban -// oops, forgot global request -// -// Revision 1.6 2004/09/06 08:35:32 rurban -// support template variables (not yet working) -// -// Revision 1.5 2004/07/08 20:30:07 rurban -// plugin->run consistency: request as reference, added basepage. -// encountered strange bug in AllPages (and the test) which destroys ->_dbi -// -// Revision 1.4 2004/04/21 16:14:50 zorloc -// Prevent spaces at the start and end of a created page name -- submitted by Dan Frankowski (dfrankow). -// -// Revision 1.3 2004/03/24 19:41:04 rurban -// fixed the name -// -// Revision 1.2 2004/03/17 15:37:41 rurban -// properly support initial_content and template with URI length overflow workaround -// -// Revision 1.3 2004/03/16 16:25:05 dfrankow -// Support initial_content parameter -// -// Revision 1.2 2004/03/09 16:28:45 dfrankow -// Merge the RATING branch onto the main line -// -// Revision 1.1 2004/03/08 18:57:59 rurban -// Allow WikiForm overrides, such as method => POST, targetpage => [pagename] -// in the plugin definition. -// New simple CreatePage plugin by dfrankow. -// -// Revision 1.1.2.2 2004/02/23 21:22:29 dfrankow -// Add a little doc -// -// Revision 1.1.2.1 2004/02/21 15:29:19 dfrankow -// Allow a CreatePage edit box, as GUI syntactic sugar -// -// Revision 1.1.1.1 2004/01/29 14:30:28 dfrankow -// Right out of the 1.3.7 package -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/EditMetaData.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -195,45 +195,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.13 2007/05/15 16:32:25 rurban -// Recursive array editing: support global_data -// -// Revision 1.12 2007/01/04 16:46:31 rurban -// Make the header a h3 -// -// Revision 1.11 2004/06/01 16:48:11 rurban -// dbi->touch -// security fix to allow post admin only. -// -// Revision 1.10 2004/04/18 01:11:52 rurban -// more numeric pagename fixes. -// fixed action=upload with merge conflict warnings. -// charset changed from constant to global (dynamic utf-8 switching) -// -// Revision 1.9 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.8 2003/11/27 17:05:41 carstenklapp -// Update: Omit page cache object ('_cached_html') from metadata display. -// -// Revision 1.7 2003/11/22 17:41:42 carstenklapp -// Minor internal change: Removed redundant call to gettext within -// fmt(). (locale make: EditMetaData.php:113: warning: keyword nested in -// keyword arg) -// -// Revision 1.6 2003/02/26 01:56:52 dairiki -// Tuning/fixing of POST action URLs and hidden inputs. -// -// Revision 1.5 2003/02/21 04:17:13 dairiki -// Delete now irrelevant comment. -// -// Revision 1.4 2003/01/18 21:41:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/ExternalSearch.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -154,51 +154,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.12 2004/11/28 20:42:33 rurban -// Optimize PearDB _extract_version_data and _extract_page_data. -// -// Revision 1.11 2004/09/17 14:25:45 rurban -// update comments -// -// Revision 1.10 2004/05/17 13:36:49 rurban -// Apply RFE #952323 "ExternalSearchPlugin improvement", but -// with <button><img></button> -// -// Revision 1.9 2004/04/19 18:27:46 rurban -// Prevent from some PHP5 warnings (ref args, no :: object init) -// php5 runs now through, just one wrong XmlElement object init missing -// Removed unneccesary UpgradeUser lines -// Changed WikiLink to omit version if current (RecentChanges) -// -// Revision 1.8 2004/04/18 01:11:52 rurban -// more numeric pagename fixes. -// fixed action=upload with merge conflict warnings. -// charset changed from constant to global (dynamic utf-8 switching) -// -// Revision 1.7 2004/02/22 23:20:33 rurban -// fixed DumpHtmlToDir, -// enhanced sortby handling in PageList -// new button_heading th style (enabled), -// added sortby and limit support to the db backends and plugins -// for paging support (<<prev, next>> links on long lists) -// -// Revision 1.6 2004/02/19 22:06:53 rurban -// use new class, to be able to get rid of lib/interwiki.php -// -// Revision 1.5 2003/02/26 01:56:52 dairiki -// Tuning/fixing of POST action URLs and hidden inputs. -// -// Revision 1.4 2003/01/30 02:46:46 carstenklapp -// Bugfix: Plugin was redirecting to nonexistant local wiki page named -// "ExternalSearch" instead of the invoked url. Reported by Arthur Chereau. -// -// Revision 1.3 2003/01/18 21:41:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/FoafViewer.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -216,28 +216,6 @@ } } - -// $Log: not supported by cvs2svn $ -// Revision 1.3 2004/06/16 10:38:59 rurban -// Disallow refernces in calls if the declaration is a reference -// ("allow_call_time_pass_reference clean"). -// PhpWiki is now allow_call_time_pass_reference = Off clean, -// but several external libraries may not. -// In detail these libs look to be affected (not tested): -// * Pear_DB odbc -// * adodb oracle -// -// Revision 1.2 2004/06/13 13:54:25 rurban -// Catch fatals on the four dump calls (as file and zip, as html and mimified) -// FoafViewer: Check against external requirements, instead of fatal. -// Change output for xhtmldumps: using file:// urls to the local fs. -// Catch SOAP fatal by checking for GOOGLE_LICENSE_KEY -// Import GOOGLE_LICENSE_KEY and FORTUNE_DIR from config.ini. -// -// Revision 1.1 2004/06/08 21:38:21 rurban -// based on dans version 0.0.2 - simplified -// - // For emacs users // Local Variables: // mode: php @@ -246,4 +224,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/GoTo.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -70,20 +70,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.4 2004/07/08 20:30:07 rurban -// plugin->run consistency: request as reference, added basepage. -// encountered strange bug in AllPages (and the test) which destroys ->_dbi -// -// Revision 1.3 2004/04/18 01:11:52 rurban -// more numeric pagename fixes. -// fixed action=upload with merge conflict warnings. -// charset changed from constant to global (dynamic utf-8 switching) -// -// Revision 1.2 2004/04/12 16:21:01 rurban -// fix lib/plugin/RssFeed.php:81: Notice[8]: Undefined variable: th -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/GoogleMaps.php =================================================================== --- trunk/lib/plugin/GoogleMaps.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/GoogleMaps.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -153,15 +153,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.2 2005/09/11 13:29:56 rurban -// remove InfoLink, wiki parse Infotext instead -// -// Revision 1.1 2005/09/07 16:53:46 rurban -// initial version, idea from http://www.giswiki.de/index.php/Google_Maps_Extensions -// -// - // (c-file-style: "gnu") // Local Variables: // mode: php Modified: trunk/lib/plugin/GooglePlugin.php =================================================================== --- trunk/lib/plugin/GooglePlugin.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/GooglePlugin.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -122,50 +122,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.4 2004/06/13 14:15:28 rurban -// GooglePlugin now actually works (templated result missing) -// -// Revision 1.3 2004/06/13 13:54:25 rurban -// Catch fatals on the four dump calls (as file and zip, as html and mimified) -// FoafViewer: Check against external requirements, instead of fatal. -// Change output for xhtmldumps: using file:// urls to the local fs. -// Catch SOAP fatal by checking for GOOGLE_LICENSE_KEY -// Import GOOGLE_LICENSE_KEY and FORTUNE_DIR from config.ini. -// -// Revision 1.2 2004/04/18 01:11:52 rurban -// more numeric pagename fixes. -// fixed action=upload with merge conflict warnings. -// charset changed from constant to global (dynamic utf-8 switching) -// -// Revision 1.1 2004/02/29 01:37:59 rurban -// New experimental feature: use the Google API directly -// Needs a free license key and the soap library nosoap, -// Todo: templates for search and results, some proxy debugging -// -// Revision 1.7 2004/02/22 23:20:33 rurban -// fixed DumpHtmlToDir, -// enhanced sortby handling in PageList -// new button_heading th style (enabled), -// added sortby and limit support to the db backends and plugins -// for paging support (<<prev, next>> links on long lists) -// -// Revision 1.6 2004/02/19 22:06:53 rurban -// use new class, to be able to get rid of lib/interwiki.php -// -// Revision 1.5 2003/02/26 01:56:52 dairiki -// Tuning/fixing of POST action URLs and hidden inputs. -// -// Revision 1.4 2003/01/30 02:46:46 carstenklapp -// Bugfix: Plugin was redirecting to nonexistant local wiki page named -// "ExternalSearch" instead of the invoked url. Reported by Arthur Chereau. -// -// Revision 1.3 2003/01/18 21:41:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/GraphViz.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -444,32 +444,6 @@ }; -// $Log: not supported by cvs2svn $ -// Revision 1.8 2007/01/10 22:28:43 rurban -// use temp dotfile on windows -// -// Revision 1.7 2006/12/22 17:55:06 rurban -// fix source handling -// -// Revision 1.6 2005/10/12 06:19:07 rurban -// protect unsafe calls -// -// Revision 1.5 2005/09/26 06:39:14 rurban -// use cached img and map - again. Remove execute from here -// -// Revision 1.4 2005/05/06 16:54:59 rurban -// add failing cmdline for .map -// -// Revision 1.3 2004/12/17 16:49:52 rurban -// avoid Invalid username message on Sign In button click -// -// Revision 1.2 2004/12/14 21:34:22 rurban -// fix syntax error -// -// Revision 1.1 2004/12/13 14:45:33 rurban -// new generic GraphViz plugin: similar to Ploticus -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/HelloWorld.php =================================================================== --- trunk/lib/plugin/HelloWorld.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/HelloWorld.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -73,13 +73,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.12 2003/01/18 21:41:02 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/IncludePages.php =================================================================== --- trunk/lib/plugin/IncludePages.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/IncludePages.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -83,17 +83,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.3 2007/07/14 12:04:32 rurban -// todo comment -// -// Revision 1.2 2005/09/30 18:41:39 uckelman -// Fixed more passes-by-reference. -// -// Revision 1.1 2004/09/06 08:37:31 rurban -// plugin-list support for pages and exclude args -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/IncludeSiteMap.php =================================================================== --- trunk/lib/plugin/IncludeSiteMap.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/IncludeSiteMap.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -82,11 +82,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.1 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, ...) -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/InterWikiSearch.php =================================================================== --- trunk/lib/plugin/InterWikiSearch.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/InterWikiSearch.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -121,34 +121,6 @@ }; } - -// $Log: not supported by cvs2svn $ -// Revision 1.8 2004/06/28 12:51:41 rurban -// improved dumphtml and virgin setup -// -// Revision 1.7 2004/06/15 14:56:37 rurban -// more allow_call_time_pass_reference false fixes -// -// Revision 1.6 2004/04/19 23:13:03 zorloc -// Connect the rest of PhpWiki to the IniConfig system. Also the keyword regular expression is not a config setting -// -// Revision 1.5 2004/02/19 22:06:53 rurban -// use new class, to be able to get rid of lib/interwiki.php -// -// Revision 1.4 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.3 2003/02/23 20:10:48 dairiki -// Disable currently broken plugin to prevent fatal PHP errors. -// (Sorry.) -// -// Revision 1.2 2003/02/22 20:49:56 dairiki -// Fixes for "Call-time pass by reference has been deprecated" errors. -// -// Revision 1.1 2003/01/31 22:56:21 carstenklapp -// New plugin which provides entry forms to search any site listed in the InterWikiMap. -// - // (c-file-style: "gnu") // Local Variables: // mode: php Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/LdapSearch.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -200,27 +200,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.6 2007/08/25 18:06:46 rurban -// use default basedn -// -// Revision 1.5 2007/01/22 23:50:00 rurban -// Improve Table for no attributes -// -// Revision 1.4 2007/01/21 23:23:49 rurban -// Improve LdapSearch -// -// Revision 1.3 2004/12/20 16:05:14 rurban -// gettext msg unification -// -// Revision 1.2 2004/10/04 23:39:34 rurban -// just aesthetics -// -// Revision 1.1 2004/09/23 12:28:12 rurban -// initial checkin from http://phpwiki.org/LdapSearchPlugin -// by John Lines -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/LikePages.php =================================================================== --- trunk/lib/plugin/LikePages.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/LikePages.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -118,22 +118,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.21 2004/09/25 16:33:52 rurban -// add support for all PageList options -// -// Revision 1.20 2004/05/18 16:23:40 rurban -// rename split_pagename to SplitPagename -// -// Revision 1.19 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.18 2003/01/18 21:48:52 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/ListPages.php =================================================================== --- trunk/lib/plugin/ListPages.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/ListPages.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -145,42 +145,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.9 2004/11/23 15:17:19 rurban -// better support for case_exact search (not caseexact for consistency), -// plugin args simplification: -// handle and explode exclude and pages argument in WikiPlugin::getArgs -// and exclude in advance (at the sql level if possible) -// handle sortby and limit from request override in WikiPlugin::getArgs -// ListSubpages: renamed pages to maxpages -// -// Revision 1.8 2004/10/14 19:19:34 rurban -// loadsave: check if the dumped file will be accessible from outside. -// and some other minor fixes. (cvsclient native not yet ready) -// -// Revision 1.7 2004/09/25 16:33:52 rurban -// add support for all PageList options -// -// Revision 1.6 2004/09/14 10:33:39 rurban -// simplify exclude, add numbacklinks+numpagelinks -// -// Revision 1.5 2004/09/06 08:37:31 rurban -// plugin-list support for pages and exclude args -// -// Revision 1.4 2004/07/08 20:30:07 rurban -// plugin->run consistency: request as reference, added basepage. -// encountered strange bug in AllPages (and the test) which destroys ->_dbi -// -// Revision 1.3 2004/06/28 18:58:18 rurban -// fixed another pass-by-reference -// -// Revision 1.2 2004/06/18 14:42:17 rurban -// added wikilens libs (not yet merged good enough, some work for DanFr) -// -// Revision 1.1 2004/06/08 13:49:43 rurban -// List pages that are explicitly given as the pages argument, by DanFr -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/ListRelations.php =================================================================== --- trunk/lib/plugin/ListRelations.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/ListRelations.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -59,11 +59,6 @@ }; -// $Log: not supported by cvs2svn $ -// Revision 1.1 2007/01/02 13:23:22 rurban -// simple lister for relations and/or attributes -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/ListSubpages.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -122,34 +122,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.6 2004/11/23 15:17:19 rurban -// better support for case_exact search (not caseexact for consistency), -// plugin args simplification: -// handle and explode exclude and pages argument in WikiPlugin::getArgs -// and exclude in advance (at the sql level if possible) -// handle sortby and limit from request override in WikiPlugin::getArgs -// ListSubpages: renamed pages to maxpages -// -// Revision 1.5 2004/09/13 14:59:56 rurban -// info=count: number of backlinks for this subpage -// -// Revision 1.4 2004/08/18 11:15:11 rurban -// added basepage argument. Default current -// -// Revision 1.3 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.2 2003/11/30 18:23:48 carstenklapp -// Code housekeeping: PEAR coding standards reformatting only. -// -// Revision 1.1 2003/11/23 16:33:02 carstenklapp -// New plugin to list names of SubPages of the currrent -// page. (Unfortunately this plugin reveals a bug in -// stdlib/explodePageList(), the function doesn't seem to work as -// expected when there are no subpages (see also UnfoldSubPages plugin). -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/OrphanedPages.php =================================================================== --- trunk/lib/plugin/OrphanedPages.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/OrphanedPages.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -99,28 +99,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.9 2004/07/09 12:49:46 rurban -// no limit, no sorting -// -// Revision 1.8 2004/04/20 00:56:00 rurban -// more paging support and paging fix for shorter lists -// -// Revision 1.7 2004/04/20 00:34:15 rurban -// more paging support -// -// Revision 1.6 2004/04/18 01:44:02 rurban -// more sortby+limit support -// -// Revision 1.5 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.4 2003/01/18 21:49:00 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PageDump.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -290,91 +290,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.19 2007/01/03 21:23:40 rurban -// fix Content-Type header to application/octet-stream to avoid pesty .txt suffixes on windows clients -// -// Revision 1.18 2004/10/14 19:19:34 rurban -// loadsave: check if the dumped file will be accessible from outside. -// and some other minor fixes. (cvsclient native not yet ready) -// -// Revision 1.17 2004/09/16 07:49:01 rurban -// use the page charset instead if the global one on download -// (need to clarify header order, since we print the same header type 3 times!) -// wordwrap workaround (security concern) -// -// Revision 1.16 2004/07/01 06:31:23 rurban -// doc upcase only -// -// Revision 1.15 2004/06/29 10:09:06 rurban -// better desc -// -// Revision 1.14 2004/06/29 10:07:40 rurban -// added dump of all revisions by format=backup (screen and download) -// -// Revision 1.13 2004/06/17 10:39:18 rurban -// fix reverse translation of possible actionpage -// -// Revision 1.12 2004/06/16 13:32:43 rurban -// fix urlencoding of pagename in PageDump buttons -// -// Revision 1.11 2004/06/14 11:31:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// inherit PageList default options from PageList -// default sortby=pagename -// use options in PageList_Selectable (limit, sortby, ...) -// added action revert, with button at action=diff -// added option regex to WikiAdminSearchReplace -// -// Revision 1.10 2004/06/07 22:28:05 rurban -// add acl field to mimified dump -// -// Revision 1.9 2004/06/07 19:50:41 rurban -// add owner field to mimified dump -// -// Revision 1.8 2004/05/25 12:43:29 rurban -// ViewSource link, better actionpage usage -// -// Revision 1.7 2004/05/04 17:21:06 rurban -// revert previous patch -// -// Revision 1.6 2004/05/03 20:44:55 rurban -// fixed gettext strings -// new SqlResult plugin -// _WikiTranslation: fixed init_locale -// -// Revision 1.5 2004/05/03 17:42:44 rurban -// fix cvs tags: "$tag$" => "$tag: $" -// -// Revision 1.4 2004/04/18 01:11:52 rurban -// more numeric pagename fixes. -// fixed action=upload with merge conflict warnings. -// charset changed from constant to global (dynamic utf-8 switching) -// -// Revision 1.3 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.2 2003/12/12 01:08:30 carstenklapp -// QuickFix for invalid Message-Id header format. -// -// Revision 1.1 2003/12/12 00:52:55 carstenklapp -// New feature: Plugin to download page dumps of individual pages. In the -// future this could be used as a rudimentary way to sync pages between -// wikis. -// Internal changes: enhanced and renamed from the experimental -// _MailifyPage plugin. -// -// Revision 1.3 2003/11/16 00:11:25 carstenklapp -// Fixed previous Log comment interfering with PHP (sorry). -// Improved error handling. -// -// Revision 1.2 2003/11/15 23:37:51 carstenklapp -// Enhanced plugin to allow invocation with \<\?plugin-form PageDump\?\>. -// -// Revision 1.1 2003/02/20 18:03:04 carstenklapp -// New experimental WikiPlugin for internal use only by PhpWiki developers. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/PageInfo.php =================================================================== --- trunk/lib/plugin/PageInfo.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PageInfo.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -73,23 +73,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.4 2003/02/17 02:18:30 dairiki -// Fix so that PageInfo will work when current version of page -// has been "deleted". -// -// Fix so that PageInfo will work on an old version of a page. -// -// Revision 1.3 2003/01/18 21:49:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// -// Revision 1.2 2003/01/04 23:27:39 carstenklapp -// New: Gracefully handle non-existant pages. Added copyleft; -// getVersion() for PluginManager. -// - // (c-file-style: "gnu") // Local Variables: // mode: php Modified: trunk/lib/plugin/PageTrail.php =================================================================== --- trunk/lib/plugin/PageTrail.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PageTrail.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -94,29 +94,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.8 2005/08/06 13:23:14 rurban -// improved empty cookie -// -// Revision 1.7 2005/02/28 21:24:34 rurban -// ignore forbidden ini_set warnings. Bug #1117254 by Xavier Roche -// -// Revision 1.6 2005/02/27 21:34:10 rurban -// Fix error with : in pagenames. Thanks to Dan Frankowski. bug #1115479 -// -// Revision 1.5 2005/02/02 19:38:42 rurban -// shorter default trail -// -// Revision 1.4 2004/02/27 02:49:40 rurban -// patch #680562 "PageTrail Duplicates Patch (1.3.4)" -// -// Revision 1.3 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.2 2003/01/18 22:22:36 carstenklapp -// defined constant for arrow, eliminate use of fmt() -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PasswordReset.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -188,17 +188,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.3 2006/08/25 22:13:56 rurban -// display init form -// -// Revision 1.2 2006/06/18 11:04:50 rurban -// unify gettext msg -// -// Revision 1.1 2006/03/19 16:31:57 rurban -// I would have needed that very often -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/PhpWeather.php =================================================================== --- trunk/lib/plugin/PhpWeather.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PhpWeather.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -198,25 +198,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.11 2004/05/01 15:59:29 rurban -// more php-4.0.6 compatibility: superglobals -// -// Revision 1.10 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.9 2003/01/28 21:10:38 zorloc -// Better error messages from PhpWeather Plugin -- Martin Geisler -// -// Revision 1.8 2003/01/18 22:01:43 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// -// Revision 1.7 2002/12/31 20:53:40 carstenklapp -// Bugfixes: Fixed menu language selection (incorrect parameters to -// $w->get_languages_select() & form input 'language' instead of 'lang'). - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/Ploticus.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -283,54 +283,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.13 2007/01/02 13:22:33 rurban -// support PLOTICUS_PREFABS config.ini setting -// -// Revision 1.12 2004/12/13 14:37:22 rurban -// simplify msg for new GraphViz plugin -// -// Revision 1.11 2004/10/14 13:48:07 rurban -// wait for fs and print failing cmdline -// -// Revision 1.10 2004/10/04 23:43:35 rurban -// honor _ENV PLOTICUS_PREFABS -// -// Revision 1.9 2004/09/26 17:09:23 rurban -// add SVG support for Ploticus (and hopefully all WikiPluginCached types) -// SWF not yet. -// -// Revision 1.8 2004/09/22 15:23:56 rurban -// support <!plugin-list !> pagelist data -// add -prefab arg support -// -// Revision 1.7 2004/09/22 13:46:26 rurban -// centralize upload paths. -// major WikiPluginCached feature enhancement: -// support _STATIC pages in uploads/ instead of dynamic getimg.php? subrequests. -// mainly for debugging, cache problems and action=pdf -// -// Revision 1.6 2004/09/07 13:26:31 rurban -// new WikiPluginCached option debug=static and some more sf.net defaults for VisualWiki -// -// Revision 1.5 2004/06/28 16:35:12 rurban -// prevent from shell commands -// -// Revision 1.4 2004/06/19 10:06:38 rurban -// Moved lib/plugincache-config.php to config/*.ini -// use PLUGIN_CACHED_* constants instead of global $CacheParams -// -// Revision 1.3 2004/06/03 09:40:57 rurban -// WikiPluginCache improvements -// -// Revision 1.2 2004/06/02 19:37:07 rurban -// extended description -// -// Revision 1.1 2004/06/02 19:12:42 rurban -// new Ploticus plugin -// -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/PopularNearby.php =================================================================== --- trunk/lib/plugin/PopularNearby.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PopularNearby.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -156,22 +156,6 @@ } -// $Log: not supported by cvs2svn $ -// Revision 1.4 2004/05/01 18:02:41 rurban -// 4.0.6 obviously cannot use methods as cmp function. so it must be a global func -// -// Revision 1.2 2004/04/29 23:25:12 rurban -// re-ordered locale init (as in 1.3.9) -// fixed loadfile with subpages, and merge/restore anyway -// (sf.net bug #844188) -// -// Revision 1.1 2004/04/29 18:32:38 rurban -// Re-implement the classic phpwiki-1.2 feature of the -// * 5 best incoming links: xx, xx, xx, ... -// * 5 best outgoing links: xx, xx, xx, ... -// * 5 most popular nearby: xx, xx, xx, ... -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/PopularTags.php =================================================================== --- trunk/lib/plugin/PopularTags.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/PopularTags.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -91,12 +91,6 @@ return $a['count'] < $b['count'] ? 1 : -1; } - -// $Log: not supported by cvs2svn $ -// Revision 1.1 2007/03/10 18:30:51 rurban -// Most popular list of Categories -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/RecentChangesCached.php =================================================================== --- trunk/lib/plugin/RecentChangesCached.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/RecentChangesCached.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -144,21 +144,6 @@ } // WikiPlugin_RecentChangesCached -// $Log: not supported by cvs2svn $ -// Revision 1.4 2004/03/08 18:17:10 rurban -// added more WikiGroup::getMembersOf methods, esp. for special groups -// fixed $LDAP_SET_OPTIONS -// fixed _AuthInfo group methods -// -// Revision 1.3 2003/02/21 23:01:10 dairiki -// Fixes to support new $basepage argument of WikiPlugin::run(). -// -// Revision 1.2 2003/01/18 22:01:44 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/RecentComments.php =================================================================== --- trunk/lib/plugin/RecentComments.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/RecentComments.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -136,11 +136,6 @@ } -// $Log: not supported by cvs2svn $ -// Revision 1.3 2004/05/14 20:55:03 rurban -// simplified RecentComments -// - // (c-file-style: "gnu") // Local Variables: // mode: php Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/RecentReferrers.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -60,11 +60,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.1 2004/11/06 04:52:29 rurban -// simple version at first -// - // (c-file-style: "gnu") // Local Variables: // mode: php Modified: trunk/lib/plugin/RedirectTo.php =================================================================== --- trunk/lib/plugin/RedirectTo.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/RedirectTo.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -115,71 +115,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.12 2004/02/03 09:45:39 rurban -// LDAP cleanup, start of new Pref classes -// -// Revision 1.11 2003/11/22 17:54:50 carstenklapp -// Minor internal change: Removed redundant call to gettext within -// fmt(). (locale make: RedirectTo.php:81: warning: keyword nested in -// keyword arg) -// -// Revision 1.10 2003/02/24 00:40:09 carstenklapp -// PHP's closing tag \?\> within // cvs log comments caused the trailing comments to display as literal text on the PluginManager page. -// -// Revision 1.9 2003/02/21 22:59:00 dairiki -// Add new argument $basepage to WikiPlugin::run() and WikiPluginLoader::expandPI(). -// Plugins need to know what page they were invoked from so that they can handle -// relative page links (like [/Subpage]) correctly. ($request->getArg('pagename') -// is not always the right page to use --- think included pages...) -// -// Many plugins don't need the $basepage, in which case, I think they can just ignore -// the extra argument. (I don't think PHP will generate any warnings.) -// -// -// Also: deleted <?plugin-head? > code. It's not needed any more, now that -// we always cache output. -// -// The FrameInclude plugin seems broken now, though I'm not convinced it's -// my fault. If it is, sorry... (I'll try to look at it a bit more -// within a few days, to see if I can figure out the problem.) -// -// Revision 1.8 2003/02/16 19:49:18 dairiki -// When redirecting to a page, use an absolute URL. -// This fixes a bug when redirecting from a sub-page (since, -// in that case the redirect happens before the <base> element gets -// sent.) -// -// Revision 1.7 2003/02/15 23:32:56 dairiki -// Usability improvements for the RedirectTo plugin. -// -// (Mostly this applies when using RedirectTo with a page=OtherPage -// argument to redirect to another page in the same wiki.) -// -// (Most of these ideas are stolen verbatim from UseModWiki.) -// -// o Multiple redirects (PageOne -> PageTwo -> PageThree) not allowed. -// -// o Redirects are not activated except when action == 'browse'. -// -// o When redirections are disabled, (hopefully understandable) -// diagnostics are displayed. -// -// o A link to the redirecting page is displayed after the title -// of the target page. If the user follows this link, redirects -// are disabled. This allows for easy editing of the redirecting -// page. -// -// FIXME: Stylesheets, and perhaps templates other than the defaults -// will probably have to be updated before this works well in other -// styles and/or themes. -// -// Revision 1.6 2003/01/18 22:01:44 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/RelatedChanges.php =================================================================== --- trunk/lib/plugin/RelatedChanges.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/RelatedChanges.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -129,24 +129,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.4 2005/01/24 23:15:27 uckelman -// The extra description for RelatedChanges was appearing in RecentChanges -// and PageHistory due to a bad test in _RecentChanges_HtmlFormatter. Fixed. -// -// Revision 1.3 2004/06/03 18:58:27 rurban -// days links requires action=RelatedChanges arg -// -// Revision 1.2 2004/05/08 14:06:13 rurban -// new support for inlined image attributes: [image.jpg size=50x30 align=right] -// minor stability and portability fixes -// -// Revision 1.1 2004/04/21 04:29:10 rurban -// Two convenient RecentChanges extensions -// RelatedChanges (only links from current page) -// RecentEdits (just change the default args) -// - // (c-file-style: "gnu") // Local Variables: // mode: php Modified: trunk/lib/plugin/SearchHighlight.php =================================================================== --- trunk/lib/plugin/SearchHighlight.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SearchHighlight.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -109,15 +109,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.2 2007/01/20 15:53:51 rurban -// Rewrite of SearchHighlight: through ActionPage and InlineParser -// -// Revision 1.1 2004/09/26 14:58:36 rurban -// naive SearchHighLight implementation -// -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/SemanticRelations.php =================================================================== --- trunk/lib/plugin/SemanticRelations.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SemanticRelations.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -140,23 +140,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.4 2007/01/25 07:42:22 rurban -// Use CSS formatting for ::= -// -// Revision 1.3 2007/01/03 21:23:06 rurban -// Clarify description: "on this page". -// -// Revision 1.2 2007/01/02 13:22:41 rurban -// default pagename: current. improve output: class, linked attributes. switch to SemanticSearch argument s -// -// Revision 1.1 2005/11/21 20:14:20 rurban -// Plugin to display the list of SemanticRelations - list of relations and -// attributes of given page(s). -// Relations are stored in the link table. -// Attributes as simple page meta-data. -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/SemanticSearchAdvanced.php =================================================================== --- trunk/lib/plugin/SemanticSearchAdvanced.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SemanticSearchAdvanced.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -215,11 +215,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.1 2007/05/24 18:40:43 rurban -// new plugin -// - // Local Variables: // mode: php // tab-width: 8 Modified: trunk/lib/plugin/SiteMap.php =================================================================== --- trunk/lib/plugin/SiteMap.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SiteMap.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -222,50 +222,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.13 2004/12/14 21:36:06 rurban -// exclude is already handled by getArgs -// -// Revision 1.12 2004/11/01 09:14:25 rurban -// avoid ConvertOldMarkup step, using markup=2 (memory problems) -// -// Revision 1.11 2004/03/24 19:39:03 rurban -// php5 workaround code (plus some interim debugging code in XmlElement) -// php5 doesn't work yet with the current XmlElement class constructors, -// WikiUserNew does work better than php4. -// rewrote WikiUserNew user upgrading to ease php5 update -// fixed pref handling in WikiUserNew -// added Email Notification -// added simple Email verification -// removed emailVerify userpref subclass: just a email property -// changed pref binary storage layout: numarray => hash of non default values -// print optimize message only if really done. -// forced new cookie policy: delete pref cookies, use only WIKI_ID as plain string. -// prefs should be stored in db or homepage, besides the current session. -// -// Revision 1.10 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.9 2004/02/12 13:05:50 rurban -// Rename functional for PearDB backend -// some other minor changes -// SiteMap comes with a not yet functional feature request: includepages (tbd) -// -// Revision 1.8 2004/01/24 23:24:07 rurban -// Patch by Alec Thomas, allows Perl regular expressions in SiteMap exclude lists. -// exclude=WikiWikiWeb,(?:Category|Topic).* -// It is backwards compatible unless old exclude lists, and therefore Wiki -// page names, contain regular expression characters. -// -// Revision 1.7 2003/02/21 04:12:06 dairiki -// Minor fixes for new cached markup. -// -// Revision 1.6 2003/01/18 22:08:01 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // For emacs users // Local Variables: // mode: php @@ -274,4 +230,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/SpellCheck.php =================================================================== --- trunk/lib/plugin/SpellCheck.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SpellCheck.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -186,12 +186,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.1 2007/01/20 11:23:26 rurban -// New plugin and ActionPage -// -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/SqlResult.php =================================================================== --- trunk/lib/plugin/SqlResult.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SqlResult.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -219,34 +219,6 @@ }; -// $Log: not supported by cvs2svn $ -// Revision 1.7 2005/02/27 12:37:14 rurban -// update comments -// -// Revision 1.6 2005/02/27 12:24:25 rurban -// prevent SqlResult.ini from being imported -// -// Revision 1.5 2004/09/24 18:50:46 rurban -// fix paging of SqlResult -// -// Revision 1.4 2004/09/17 14:23:21 rurban -// support paging, force limit 50 -// -// Revision 1.3 2004/09/06 08:36:28 rurban -// support templates, with some vars -// -// Revision 1.2 2004/05/03 21:57:47 rurban -// locale updates: we previously lost some words because of wrong strings in -// PhotoAlbum, german rewording. -// fixed $_SESSION registering (lost session vars, esp. prefs) -// fixed ending slash in listAvailableLanguages/Themes -// -// Revision 1.1 2004/05/03 20:44:58 rurban -// fixed gettext strings -// new SqlResult plugin -// _WikiTranslation: fixed init_locale -// - // For emacs users // Local Variables: // mode: php @@ -255,4 +227,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/SyncWiki.php =================================================================== --- trunk/lib/plugin/SyncWiki.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/SyncWiki.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -357,14 +357,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.2 2007/01/20 11:24:46 rurban -// Be more strict: link to merge conflicts (not yet handled) -// -// Revision 1.1 2007/01/02 13:22:57 rurban -// add SyncWiki -// - // For emacs users // Local Variables: // mode: php Modified: trunk/lib/plugin/TeX2png.php =================================================================== --- trunk/lib/plugin/TeX2png.php 2009-03-31 11:50:16 UTC (rev 6742) +++ trunk/lib/plugin/TeX2png.php 2009-03-31 12:02:55 UTC (rev 6743) @@ -220,14 +220,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.3 2004/11/01 10:43:59 rurban -// seperate PassUser methods into seperate dir (memory usage) -// fix WikiUser (old) overlarge data session -// remove wikidb arg from various page class methods, use global ->_dbi instead ... [truncated message content] |
From: <var...@us...> - 2009-04-09 16:07:28
|
Revision: 6776 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6776&view=rev Author: vargenau Date: 2009-04-09 16:06:54 +0000 (Thu, 09 Apr 2009) Log Message: ----------- Critical security fix: it was possible to see the content of pages protected by ACLs with no read access by using plugins Modified Paths: -------------- trunk/lib/plugin/CreateToc.php trunk/lib/plugin/Diff.php trunk/lib/plugin/IncludePage.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/Template.php trunk/lib/plugin/UnfoldSubpages.php Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2009-04-09 15:57:46 UTC (rev 6775) +++ trunk/lib/plugin/CreateToc.php 2009-04-09 16:06:54 UTC (rev 6776) @@ -361,6 +361,13 @@ if (($notoc) or ($liststyle == 'ol')) { $with_counter = 1; } + + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $pagename)) { + return $this->error(sprintf(_("Illegal access to page %s: no read access"), + $pagename)); + } + $page = $dbi->getPage($pagename); $current = $page->getCurrentRevision(); //FIXME: I suspect this only to crash with Apache2 Modified: trunk/lib/plugin/Diff.php =================================================================== --- trunk/lib/plugin/Diff.php 2009-04-09 15:57:46 UTC (rev 6775) +++ trunk/lib/plugin/Diff.php 2009-04-09 16:06:54 UTC (rev 6776) @@ -87,6 +87,12 @@ list ($version, $previous) = $versions; } + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $pagename)) { + return $this->error(sprintf(_("Illegal access to page %s: no read access"), + $pagename)); + } + // abort if page doesn't exist $page = $request->getPage($pagename); $current = $page->getCurrentRevision(); Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2009-04-09 15:57:46 UTC (rev 6775) +++ trunk/lib/plugin/IncludePage.php 2009-04-09 16:06:54 UTC (rev 6776) @@ -88,6 +88,12 @@ $page)); } + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $page)) { + return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), + $page)); + } + $p = $dbi->getPage($page); if ($rev) { $r = $p->getRevision($rev); Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2009-04-09 15:57:46 UTC (rev 6775) +++ trunk/lib/plugin/PageDump.php 2009-04-09 16:06:54 UTC (rev 6776) @@ -65,6 +65,12 @@ return fmt("Page %s not found.", WikiLink($page, 'unknown')); + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $page)) { + return $this->error(sprintf(_("Illegal access to page %s: no read access"), + $page)); + } + $p = $dbi->getPage($page); include_once("lib/loadsave.php"); $mailified = MailifyPage($p, ($format == 'backup') ? 99 : 1); Modified: trunk/lib/plugin/Template.php =================================================================== --- trunk/lib/plugin/Template.php 2009-04-09 15:57:46 UTC (rev 6775) +++ trunk/lib/plugin/Template.php 2009-04-09 16:06:54 UTC (rev 6776) @@ -102,8 +102,8 @@ function run($dbi, $argstr, &$request, $basepage) { $this->vars = array(); $args = $this->getArgs($argstr, $request); - $vars = $args['vars'] ? $args['vars'] : $this->vars; - $page = $args['page']; + $vars = $args['vars'] ? $args['vars'] : $this->vars; + $page = $args['page']; if ($page) { // Expand relative page names. $page = new WikiPageName($page, $basepage); @@ -120,6 +120,12 @@ $page)); } + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $page)) { + return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), + $page)); + } + $p = $dbi->getPage($page); if ($args['rev']) { $r = $p->getRevision($args['rev']); Modified: trunk/lib/plugin/UnfoldSubpages.php =================================================================== --- trunk/lib/plugin/UnfoldSubpages.php 2009-04-09 15:57:46 UTC (rev 6775) +++ trunk/lib/plugin/UnfoldSubpages.php 2009-04-09 16:06:54 UTC (rev 6776) @@ -108,6 +108,13 @@ $cpagename))); continue; } + + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $cpagename)) { + return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), + $cpagename)); + } + // trap any remaining nonexistant subpages if ($page->exists()) { $r = $page->getCurrentRevision(); @@ -124,8 +131,15 @@ $cpagename.' => '.$m[1]))); continue; } - $cpagename = $m[1]; - $page = $dbi->getPage($cpagename); + $cpagename = $m[1]; + + // Check if user is allowed to get the Page. + if (!mayAccessPage ('view', $cpagename)) { + return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), + $cpagename)); + } + + $page = $dbi->getPage($cpagename); $r = $page->getCurrentRevision(); $c = $r->getContent(); // array of lines } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ru...@us...> - 2009-04-22 10:40:47
|
Revision: 6800 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6800&view=rev Author: rurban Date: 2009-04-22 10:40:44 +0000 (Wed, 22 Apr 2009) Log Message: ----------- Silence on empty s argument. s= is a common case. Modified Paths: -------------- trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/TitleSearch.php Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2009-04-22 09:38:47 UTC (rev 6799) +++ trunk/lib/plugin/FullTextSearch.php 2009-04-22 10:40:44 UTC (rev 6800) @@ -1,7 +1,7 @@ <?php // -*-php-*- rcs_id('$Id$'); /* -Copyright 1999,2000,2001,2002,2004,2005 $ThePhpWikiProgrammingTeam +Copyright 1999,2000,2001,2002,2004,2005,2007 $ThePhpWikiProgrammingTeam This file is part of PhpWiki. @@ -28,15 +28,16 @@ * Options: case_exact, regex, hilight * Stoplist * - * TODO: Hooks to search in external documents: ExternalTextSearch + * See also: + * Hooks to search in external documents: ExternalTextSearch * Only uploaded: textfiles, PDF, HTML, DOC, XLS, ... or - * External apps: xapian-omages seems to be the best, over lucene.net, - * swish, nakamazu, ... + * External apps: xapian-omages seems to be the better than lucene, + * lucene.net, swish, nakamazu, ... * * See http://sf.net/tracker/index.php?aid=927395&group_id=6121&atid=106121 * Wordaround to let the dead locks occur somewhat later: - * increased the memory limit of PHP4 from 8 MB to 32 MB - * php.ini: memory_limit = 32 MB + * Increase the memory limit of PHP from 8 MB to 32 MB + * php.ini: memory_limit = 32 MB */ class WikiPlugin_FullTextSearch extends WikiPlugin @@ -72,7 +73,7 @@ $args = $this->getArgs($argstr, $request); if (empty($args['s'])) { - return HTML::div(array('class' => "error"), "Please provide 's' argument to the plugin."); + return HTML(); } extract($args); Modified: trunk/lib/plugin/TitleSearch.php =================================================================== --- trunk/lib/plugin/TitleSearch.php 2009-04-22 09:38:47 UTC (rev 6799) +++ trunk/lib/plugin/TitleSearch.php 2009-04-22 10:40:44 UTC (rev 6800) @@ -74,7 +74,7 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); if (empty($args['s'])) { - return HTML::div(array('class' => "error"), "Please provide 's' argument to the plugin."); + return HTML(); } $query = new TextSearchQuery($args['s'], $args['case_exact'], $args['regex']); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-05-29 10:58:06
|
Revision: 6822 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6822&view=rev Author: vargenau Date: 2009-05-29 10:58:02 +0000 (Fri, 29 May 2009) Log Message: ----------- Add getDescription function Modified Paths: -------------- trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RecentComments.php trunk/lib/plugin/RecentEdits.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/PasswordReset.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -28,7 +28,7 @@ * => "No email stored for user %s. * You need to ask an Administrator to reset this password." * Problem: How to contact Admin? Present a link to ADMIN_USER - + * * If no email exists but is not verified, * => "Warning: This users email address is unverified!" * @@ -42,6 +42,10 @@ return _("PasswordReset"); } + function getDescription () { + return _("Allow admin to reset any users password, allow user to request his password by e-mail."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/RecentChanges.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -23,8 +23,6 @@ include_once("lib/WikiPlugin.php"); -/** - */ class _RecentChanges_Formatter { var $_absurls = false; @@ -1144,6 +1142,10 @@ return _("RecentChanges"); } + function getDescription () { + return _("List all recent changes in this wiki."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); Modified: trunk/lib/plugin/RecentComments.php =================================================================== --- trunk/lib/plugin/RecentComments.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/RecentComments.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -16,10 +16,16 @@ function getName () { return _("RecentComments"); } + + function getDescription () { + return _("List basepages with recently added comments."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); } + function getDefaultArguments() { //php-4.0.4pl1 breaks at the parent:: line even if the // code doesn't reach this line Modified: trunk/lib/plugin/RecentEdits.php =================================================================== --- trunk/lib/plugin/RecentEdits.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/RecentEdits.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -10,6 +10,10 @@ return _("RecentEdits"); } + function getDescription () { + return _("List all recent edits in this wiki."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); @@ -48,4 +52,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/RecentReferrers.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -14,6 +14,10 @@ return _("RecentReferrers"); } + function getDescription () { + return _("Analyse access log."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); Modified: trunk/lib/plugin/RelatedChanges.php =================================================================== --- trunk/lib/plugin/RelatedChanges.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/RelatedChanges.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -27,6 +27,10 @@ return _("RecentEdits"); } + function getDescription () { + return _("List of changes on all pages which are linked to from this page."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); Modified: trunk/lib/plugin/UserPreferences.php =================================================================== --- trunk/lib/plugin/UserPreferences.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/UserPreferences.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -38,6 +38,10 @@ return _("UserPreferences"); } + function getDescription () { + return _("Allow any user to adjust his own preferences."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/WatchPage.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -36,6 +36,10 @@ return _("WatchPage"); } + function getDescription () { + return _("Manage notifications emails per page."); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2009-05-29 10:12:15 UTC (rev 6821) +++ trunk/lib/plugin/WikiForm.php 2009-05-29 10:58:02 UTC (rev 6822) @@ -34,6 +34,10 @@ return _("WikiForm"); } + function getDescription () { + return _("Provide generic WikiForm input buttons"); + } + function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision$"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ru...@us...> - 2009-06-04 11:41:43
|
Revision: 6873 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6873&view=rev Author: rurban Date: 2009-06-04 11:40:42 +0000 (Thu, 04 Jun 2009) Log Message: ----------- support InlcudeTree with dtree Modified Paths: -------------- trunk/lib/plugin/SiteMap.php Added Paths: ----------- trunk/lib/plugin/IncludeTree.php Added: trunk/lib/plugin/IncludeTree.php =================================================================== --- trunk/lib/plugin/IncludeTree.php (rev 0) +++ trunk/lib/plugin/IncludeTree.php 2009-06-04 11:40:42 UTC (rev 6873) @@ -0,0 +1,81 @@ +<?php // -*-php-*- +rcs_id('$Id: IncludeTree.php 6186 2008-08-22 11:50:25Z vargenau $'); +/** + Copyright 2003,2004,2009 $ThePhpWikiProgrammingTeam + + This file is part of PhpWiki. + + PhpWiki is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + PhpWiki is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with PhpWiki; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/** + * Dynamic version of the IncludeSiteMap by Cuthbert Cat (cuthbertcat) + * with a category filter. + * + * Display an initially closed tree of all pages within certain categories. dhtml. + * On [+] open the subtree, on leaves (how to decide?) transclude parts of the page. + * Leave detection: more content than just plugins. + */ + +require_once('lib/PageList.php'); +require_once('lib/plugin/SiteMap.php'); + +class WikiPlugin_IncludeTree +extends WikiPlugin_SiteMap +{ + function getName () { + return _("IncludeSiteMap"); + } + + function getDescription () { + return _("Dynamic Category Tree"); + } + + function getVersion() { + return preg_replace("/[Revision: $]/", '', + "\$Revision: 6186 $"); + } + + function getDefaultArguments() { + return array('exclude' => '', + 'include_self' => 0, + 'noheader' => 0, + 'page' => '[pagename]', + 'description' => $this->getDescription(), + 'reclimit' => 2, + 'info' => false, + 'direction' => 'back', + 'firstreversed' => false, + 'excludeunknown' => true, + 'includepages' => 'words=100', + 'category' => '', + 'dtree' => true, + ); + } + + function run($dbi, $argstr, &$request, $basepage) { + return WikiPlugin_SiteMap::run($dbi, $argstr, $request, $basepage); + } +} + +// For emacs users +// Local Variables: +// mode: php +// tab-width: 8 +// c-basic-offset: 4 +// c-hanging-comment-ender-p: nil +// indent-tabs-mode: nil +// End: +?> Modified: trunk/lib/plugin/SiteMap.php =================================================================== --- trunk/lib/plugin/SiteMap.php 2009-06-04 11:39:26 UTC (rev 6872) +++ trunk/lib/plugin/SiteMap.php 2009-06-04 11:40:42 UTC (rev 6873) @@ -71,7 +71,9 @@ 'direction' => 'back', 'firstreversed' => false, 'excludeunknown' => true, - 'includepages' => '' // to be used only from the IncludeSiteMap plugin + 'includepages' => '', // only for IncludeSiteMap and IncludeTree + 'category' => '', // optional category filter (comma-delimited) + 'dtree' => false, // optional for IncludeTree ); } // info arg allows multiple columns @@ -175,8 +177,7 @@ $pagearr = array(); if ($direction == 'back') { - $pagearr = $this->recursivelyGetBackLinks($p, $pagearr, "*", - $limit); + $pagearr = $this->recursivelyGetBackLinks($p, $pagearr, "*", $limit); } else { $this->dbi = $dbi; @@ -189,12 +190,12 @@ reset($pagearr); if (!empty($includepages)) { // disallow direct usage, only via child class IncludeSiteMap - if (!isa($this,"WikiPlugin_IncludeSiteMap")) + if (!isa($this,"WikiPlugin_IncludeSiteMap") and !isa($this,"WikiPlugin_IncludeTree")) $includepages = ''; if (!is_string($includepages)) $includepages = ' '; // avoid plugin loader problems $loader = new WikiPluginLoader(); - $plugin = $loader->getPlugin('IncludePage',false); + $plugin = $loader->getPlugin($dtree ? 'DynamicIncludePage' : 'IncludePage', false); $nothing = ''; } @@ -230,4 +231,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-06-11 19:18:43
|
Revision: 6918 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6918&view=rev Author: vargenau Date: 2009-06-11 19:18:40 +0000 (Thu, 11 Jun 2009) Log Message: ----------- Use feedback banner instead of Alert Modified Paths: -------------- trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/WatchPage.php Modified: trunk/lib/plugin/UserPreferences.php =================================================================== --- trunk/lib/plugin/UserPreferences.php 2009-06-11 18:57:29 UTC (rev 6917) +++ trunk/lib/plugin/UserPreferences.php 2009-06-11 19:18:40 UTC (rev 6918) @@ -105,11 +105,6 @@ $request->_setUser($user); $request->setArg("verify",false); $request->setArg("delete",false); -// Alert message removed, display directly the Preference form with the message. -// $alert = new Alert(_("Message"), -// _("Your UserPreferences have been successfully reset to default.")); -// $alert->show(); -// return; $errmsg .= _("Your UserPreferences have been successfully reset to default."); $args['errmsg'] = HTML::div(array('class' => 'feedback'), HTML::p($errmsg)); return Template('userprefs', $args); Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2009-06-11 18:57:29 UTC (rev 6917) +++ trunk/lib/plugin/WatchPage.php 2009-06-11 19:18:40 UTC (rev 6918) @@ -153,15 +153,9 @@ $request->_setUser($user); $request->setArg("verify",false); $request->setArg("add",false); - // No alert for Gforge - if (isa($WikiTheme, 'WikiTheme_gforge')) { - return; - } - $alert = new Alert( - _("Message"), - _("E-Mail Notification for the current page successfully stored in your preferences.")); - $alert->show(); - return; + $errmsg .= _("E-Mail Notification for the current page successfully stored in your preferences."); + $args['errmsg'] = HTML::div(array('class' => 'feedback'), HTML::p($errmsg)); + return Template('userprefs', $args); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-06-23 17:54:24
|
Revision: 6952 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6952&view=rev Author: vargenau Date: 2009-06-23 17:54:20 +0000 (Tue, 23 Jun 2009) Log Message: ----------- Better user interface and feedback messages Modified Paths: -------------- trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminPurge.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSetAcl.php trunk/lib/plugin/WikiAdminSetExternal.php Modified: trunk/lib/plugin/WikiAdminChown.php =================================================================== --- trunk/lib/plugin/WikiAdminChown.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminChown.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -60,6 +60,7 @@ } function chownPages(&$dbi, &$request, $pages, $newowner) { + $result = HTML::div(); $ul = HTML::ul(); $count = 0; foreach ($pages as $name) { @@ -74,7 +75,7 @@ $version = $current->getVersion(); $meta = $current->_data; $text = $current->getPackedContent(); - $meta['summary'] = sprintf(_("Change page owner from %s to %s"), $owner, $newowner); + $meta['summary'] = "Change page owner from '".$owner."' to '".$newowner."'"; $meta['is_minor_edit'] = 0; $meta['author'] = $request->_user->UserName(); unset($meta['mtime']); // force new date @@ -93,10 +94,18 @@ } if ($count) { $dbi->touch(); - return HTML($ul, HTML::p(fmt("%s pages have been permanently changed.", - $count))); + $result->setAttr('class', 'feedback'); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently changed:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); + } + $result->pushContent($ul); + return $result; } else { - return HTML($ul, HTML::p(fmt("No pages changed."))); + $result->setAttr('class', 'error'); + $result->pushContent(HTML::p("No pages changed.")); + return $result; } } @@ -155,10 +164,14 @@ $args['info'] = "checkbox,pagename,owner,mtime"; } */ - $pagelist = new PageList_Selectable($args['info'], $args['exclude'], $args); + if ($next_action == 'select') { + $pagelist = new PageList_Selectable($args['info'], $args['exclude'], $args); + } else { + $pagelist = new PageList_Unselectable($args['info'], $args['exclude'], $args); + } $pagelist->addPageList($pages); - $header = HTML::div(); + $header = HTML::fieldset(); if ($next_action == 'verify') { $button_label = _("Yes"); $header->pushContent( @@ -168,17 +181,17 @@ } else { $button_label = _("Change owner of selected pages"); - $header->pushContent(HTML::p(_("Select the pages to change the owner:"))); + $header->pushContent(HTML::legend(_("Select the pages to change the owner"))); $header = $this->chownForm($header, $post_args); } $buttons = HTML::p(Button('submit:admin_chown[chown]', $button_label, 'wikiadmin'), Button('submit:admin_chown[cancel]', _("Cancel"), 'button')); + $header->pushContent($buttons); return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, - $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, @@ -193,7 +206,8 @@ $header->pushContent(_("Change owner")." "); $header->pushContent(' '._("to").': '); $header->pushContent(HTML::input(array('name' => 'admin_chown[user]', - 'value' => $post_args['user']))); + 'value' => $post_args['user'], + 'size' => 40))); return $header; } } Modified: trunk/lib/plugin/WikiAdminMarkup.php =================================================================== --- trunk/lib/plugin/WikiAdminMarkup.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminMarkup.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -98,7 +98,11 @@ if ($count) { $dbi->touch(); $result->setAttr('class', 'feedback'); - $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently changed:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); + } $result->pushContent($ul); return $result; } else { Modified: trunk/lib/plugin/WikiAdminPurge.php =================================================================== --- trunk/lib/plugin/WikiAdminPurge.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminPurge.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -55,10 +55,23 @@ } function collectPages(&$list, &$dbi, $sortby, $limit=0) { + + $allPages = $dbi->getAllPages('include_empty',$sortby,$limit); + while ($pagehandle = $allPages->next()) { + $pagename = $pagehandle->getName(); + $current = $pagehandle->getCurrentRevision(); + if ($current->getVersion() < 1) { + continue; // No versions in database + } + if (empty($list[$pagename])) { + $list[$pagename] = false; + } + } return $list; } function purgePages(&$request, $pages) { + $result = HTML::div(); $ul = HTML::ul(); $dbi = $request->getDbh(); $count = 0; foreach ($pages as $name) { @@ -71,11 +84,23 @@ $ul->pushContent(HTML::li(fmt("Didn't purge page '%s'. Access denied.", $name))); } } - if ($count) $dbi->touch(); - return HTML($ul, - HTML::p(fmt("%d pages have been permanently purged.",$count))); + if ($count) { + $dbi->touch(); + $result->setAttr('class', 'feedback'); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently purged:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently purged:", $count))); + } + $result->pushContent($ul); + return $result; + } else { + $result->setAttr('class', 'error'); + $result->pushContent(HTML::p("No pages purged.")); + return $result; + } } - + function run($dbi, $argstr, &$request, $basepage) { if ($request->getArg('action') != 'browse') if ($request->getArg('action') != _("PhpWikiAdministration/Purge")) @@ -126,25 +151,25 @@ $pagelist = new PageList_Selectable($args['info'], $args['exclude'], array()); $pagelist->addPageList($pages); - $header = HTML::p(); + $header = HTML::fieldset(); if ($next_action == 'verify') { $button_label = _("Yes"); - $header->pushContent(HTML::strong( - _("Are you sure you want to permanently purge the following files?"))); + $header->pushContent(HTML::p(HTML::strong( + _("Are you sure you want to permanently purge the following files?")))); } else { - $button_label = _("Purge selected pages"); - $header->pushContent(_("Permanently purge the selected files:"),HTML::br()); + $button_label = _("Permanently purge selected pages"); + $header->pushContent(HTML::legend(_("Select the files to purge"))); } $buttons = HTML::p(Button('submit:admin_purge[purge]', $button_label, 'wikiadmin'), Button('submit:admin_purge[cancel]', _("Cancel"), 'button')); + $header->pushContent($buttons); // TODO: quick select by regex javascript? return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, - $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, Modified: trunk/lib/plugin/WikiAdminRemove.php =================================================================== --- trunk/lib/plugin/WikiAdminRemove.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminRemove.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -2,7 +2,7 @@ rcs_id('$Id$'); /* Copyright 2002,2004 $ThePhpWikiProgrammingTeam - Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent + Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -108,6 +108,7 @@ } function removePages(&$request, $pages) { + $result = HTML::div(); $ul = HTML::ul(); $dbi = $request->getDbh(); $count = 0; foreach ($pages as $name) { @@ -120,9 +121,21 @@ $ul->pushContent(HTML::li(fmt("Didn't remove page '%s'. Access denied.", $name))); } } - if ($count) $dbi->touch(); - return HTML($ul, - HTML::p(fmt("%d pages have been permanently removed.",$count))); + if ($count) { + $dbi->touch(); + $result->setAttr('class', 'feedback'); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently removed:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently removed:", $count))); + } + $result->pushContent($ul); + return $result; + } else { + $result->setAttr('class', 'error'); + $result->pushContent(HTML::p("No pages removed.")); + return $result; + } } function run($dbi, $argstr, &$request, $basepage) { @@ -184,41 +197,37 @@ => new _PageList_Column_remove('remove', _("Remove"))))); $pagelist->addPageList($pages); - $header = HTML::p(); + $header = HTML::fieldset(); if ($next_action == 'verify') { $button_label = _("Yes"); - $header->pushContent(HTML::strong( - _("Are you sure you want to permanently remove the selected files?"))); + $header->pushContent(HTML::p(HTML::strong( + _("Are you sure you want to permanently remove the selected files?")))); } else { $button_label = _("Remove selected pages"); - $header->pushContent(_("Permanently remove the selected files:"),HTML::br()); + $header->pushContent(HTML::legend(_("Select the files to remove"))); if ($args['min_age'] > 0) { $header->pushContent( fmt("Also pages which have been deleted at least %s days.", $args['min_age'])); } - else { - $header->pushContent(_("List all pages.")); - } - + if ($args['max_age'] > 0) { $header->pushContent( " ", - fmt("(Pages which have been deleted at least %s days are already checked.)", + fmt("Pages which have been deleted at least %s days are already checked.", $args['max_age'])); } } - $buttons = HTML::p(Button('submit:admin_remove[remove]', $button_label, 'wikiadmin'), Button('submit:admin_remove[cancel]', _("Cancel"), 'button')); + $header->pushContent($buttons); // TODO: quick select by regex javascript? return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, - $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminRename.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -81,7 +81,7 @@ and $newname != $name ) { if ($dbi->isWikiPage($newname)) - $ul->pushContent(HTML::li(fmt("Page %s already exists. Ignored.", + $ul->pushContent(HTML::li(fmt("Page '%s' already exists. Ignored.", WikiLink($newname)))); elseif (! mayAccessPage('edit', $name)) $ul->pushContent(HTML::li(fmt("Access denied to rename page '%s'.", @@ -121,17 +121,21 @@ if ($count) { $dbi->touch(); $result->setAttr('class', 'feedback'); - $result->pushContent(HTML::p(fmt("%s pages have been permanently renamed:", $count))); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently renamed:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently renamed:", $count))); + } $result->pushContent($ul); return $result; } else { $result->setAttr('class', 'error'); - $result->pushContent(HTML::p(fmt("No pages renamed:"))); + $result->pushContent(HTML::p(fmt("No pages renamed."))); $result->pushContent($ul); return $result; } } - + function run($dbi, $argstr, &$request, $basepage) { $action = $request->getArg('action'); if ($action != 'browse' and $action != 'rename' Modified: trunk/lib/plugin/WikiAdminSearchReplace.php =================================================================== --- trunk/lib/plugin/WikiAdminSearchReplace.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminSearchReplace.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -92,6 +92,7 @@ function searchReplacePages(&$dbi, &$request, $pages, $from, $to) { if (empty($from)) return HTML::p(HTML::strong(fmt("Error: Empty search string."))); + $result = HTML::div(); $ul = HTML::ul(); $count = 0; $post_args = $request->getArg('admin_replace'); @@ -100,8 +101,7 @@ foreach ($pages as $pagename) { if (!mayAccessPage('edit', $pagename)) { $ul->pushContent(HTML::li(fmt("Access denied to change page '%s'.",$pagename))); - } elseif (($result = $this->replaceHelper($dbi, $request, $pagename, $from, $to, - $case_exact, $regex))) + } elseif ($this->replaceHelper($dbi, $request, $pagename, $from, $to, $case_exact, $regex)) { $ul->pushContent(HTML::li(fmt("Replaced '%s' with '%s' in page '%s'.", $from, $to, WikiLink($pagename)))); @@ -113,11 +113,18 @@ } if ($count) { $dbi->touch(); - return HTML($ul, - HTML::p(fmt("%s pages changed.",$count))); + $result->setAttr('class', 'feedback'); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently changed:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); + } + $result->pushContent($ul); + return $result; } else { - return HTML($ul, - HTML::p(fmt("No pages changed."))); + $result->setAttr('class', 'error'); + $result->pushContent(HTML::p("No pages changed.")); + return $result; } } @@ -182,7 +189,7 @@ $pagelist->addPageList($pages); - $header = HTML::div(); + $header = HTML::fieldset(); if (empty($post_args['from'])) $header->pushContent( HTML::p(HTML::em(_("Warning: The search string cannot be empty!")))); @@ -196,7 +203,7 @@ else { $button_label = _("Search & Replace"); $this->replaceForm($header, $post_args); - $header->pushContent(HTML::p(_("Select the pages to search:"))); + $header->pushContent(HTML::legend(_("Select the pages to search and replace"))); } Modified: trunk/lib/plugin/WikiAdminSetAcl.php =================================================================== --- trunk/lib/plugin/WikiAdminSetAcl.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminSetAcl.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /* Copyright 2004 $ThePhpWikiProgrammingTeam + Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -164,7 +165,7 @@ $pages = $p; elseif ($this->_list) $pages = $this->_list; - $header = HTML::div(); + $header = HTML::fieldset(); if ($p && $request->isPost() && !empty($post_args['acl']) && empty($post_args['cancel'])) { // without individual PagePermissions: @@ -174,9 +175,7 @@ } if ($post_args['action'] == 'verify') { // Real action - $header->pushContent( - $this->setaclPages($request, array_keys($p), - $request->getArg('acl'))); + return $this->setaclPages($request, array_keys($p), $request->getArg('acl')); } if ($post_args['action'] == 'select') { if (!empty($post_args['acl'])) @@ -207,21 +206,21 @@ $header = $this->setaclForm($header, $post_args, $pages); $header->pushContent( HTML::p(HTML::strong( - _("Are you sure you want to permanently change access to the selected files?")))); + _("Are you sure you want to permanently change access rights to the selected files?")))); } else { - $button_label = _("SetAcl"); + $button_label = _("Change Access Rights"); $header = $this->setaclForm($header, $post_args, $pages); - $header->pushContent(HTML::p(_("Select the pages to change:"))); + $header->pushContent(HTML::legend(_("Select the pages where to change access rights"))); } $buttons = HTML::p(Button('submit:admin_setacl[acl]', $button_label, 'wikiadmin'), Button('submit:admin_setacl[cancel]', _("Cancel"), 'button')); + $header->pushContent($buttons); return HTML::form(array('action' => $request->getPostURL(), 'method' => 'post'), $header, - $buttons, $pagelist->getContent(), HiddenInputs($request->getArgs(), false, Modified: trunk/lib/plugin/WikiAdminSetExternal.php =================================================================== --- trunk/lib/plugin/WikiAdminSetExternal.php 2009-06-23 09:31:35 UTC (rev 6951) +++ trunk/lib/plugin/WikiAdminSetExternal.php 2009-06-23 17:54:20 UTC (rev 6952) @@ -82,7 +82,11 @@ if ($count) { $dbi->touch(); $result->setAttr('class', 'feedback'); - $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); + if ($count == 1) { + $result->pushContent(HTML::p("One page has been permanently changed:")); + } else { + $result->pushContent(HTML::p(fmt("%s pages have been permanently changed:", $count))); + } $result->pushContent($ul); return $result; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-08-04 15:55:46
|
Revision: 7054 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7054&view=rev Author: vargenau Date: 2009-08-04 15:55:40 +0000 (Tue, 04 Aug 2009) Log Message: ----------- Use WikiPlugin_WikiAdminSelect::getDefaultArguments instead of PageList::supportedArgs for getDefaultArguments Modified Paths: -------------- trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminPurge.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSetAcl.php trunk/lib/plugin/WikiAdminSetExternal.php Modified: trunk/lib/plugin/WikiAdminChown.php =================================================================== --- trunk/lib/plugin/WikiAdminChown.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminChown.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -50,9 +50,8 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( - 's' => false, 'user' => false, /* Columns to include in listing */ 'info' => 'pagename,owner,mtime', Modified: trunk/lib/plugin/WikiAdminMarkup.php =================================================================== --- trunk/lib/plugin/WikiAdminMarkup.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminMarkup.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -50,9 +50,8 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( - 's' => false, 'markup' => 2, /* Columns to include in listing */ 'info' => 'pagename,markup,mtime', Modified: trunk/lib/plugin/WikiAdminPurge.php =================================================================== --- trunk/lib/plugin/WikiAdminPurge.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminPurge.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -43,16 +43,7 @@ "\$Revision$"); } - function getDefaultArguments() { - return array_merge - ( - PageList::supportedArgs(), - array( - 's' => false, - /* Columns to include in listing */ - 'info' => 'most', - )); - } + /* getDefaultArguments() is inherited from WikiAdminSelect class */ function collectPages(&$list, &$dbi, $sortby, $limit=0) { Modified: trunk/lib/plugin/WikiAdminRemove.php =================================================================== --- trunk/lib/plugin/WikiAdminRemove.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminRemove.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -53,9 +53,8 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( - 's' => false, /* * Show only pages which have been 'deleted' this * long (in days). (negative or non-numeric Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminRename.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -50,9 +50,8 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( - 's' => false, /* Columns to include in listing */ 'info' => 'pagename,mtime', 'updatelinks' => 0, Modified: trunk/lib/plugin/WikiAdminSearchReplace.php =================================================================== --- trunk/lib/plugin/WikiAdminSearchReplace.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminSearchReplace.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -50,9 +50,8 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( - 's' => false, /* Columns to include in listing */ 'info' => 'some', )); Modified: trunk/lib/plugin/WikiAdminSetAcl.php =================================================================== --- trunk/lib/plugin/WikiAdminSetAcl.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminSetAcl.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -56,10 +56,9 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( 'p' => "[]", // list of pages - 's' => false, /* select by pagename */ /* Columns to include in listing */ 'info' => 'pagename,perm,mtime,owner,author', )); Modified: trunk/lib/plugin/WikiAdminSetExternal.php =================================================================== --- trunk/lib/plugin/WikiAdminSetExternal.php 2009-08-04 15:54:24 UTC (rev 7053) +++ trunk/lib/plugin/WikiAdminSetExternal.php 2009-08-04 15:55:40 UTC (rev 7054) @@ -47,9 +47,8 @@ function getDefaultArguments() { return array_merge ( - PageList::supportedArgs(), + WikiPlugin_WikiAdminSelect::getDefaultArguments(), array( - 's' => false, 'external' => 1, /* Columns to include in listing */ 'info' => 'pagename,external,mtime', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-08-05 09:49:01
|
Revision: 7057 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7057&view=rev Author: vargenau Date: 2009-08-05 09:48:51 +0000 (Wed, 05 Aug 2009) Log Message: ----------- SetAcl, Chown, Markup and Rename are marked as minor edits Modified Paths: -------------- trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSetAcl.php Modified: trunk/lib/plugin/WikiAdminChown.php =================================================================== --- trunk/lib/plugin/WikiAdminChown.php 2009-08-05 09:27:48 UTC (rev 7056) +++ trunk/lib/plugin/WikiAdminChown.php 2009-08-05 09:48:51 UTC (rev 7057) @@ -75,7 +75,7 @@ $meta = $current->_data; $text = $current->getPackedContent(); $meta['summary'] = "Change page owner from '".$owner."' to '".$newowner."'"; - $meta['is_minor_edit'] = 0; + $meta['is_minor_edit'] = 1; $meta['author'] = $request->_user->UserName(); unset($meta['mtime']); // force new date $page->set('owner', $newowner); Modified: trunk/lib/plugin/WikiAdminMarkup.php =================================================================== --- trunk/lib/plugin/WikiAdminMarkup.php 2009-08-05 09:27:48 UTC (rev 7056) +++ trunk/lib/plugin/WikiAdminMarkup.php 2009-08-05 09:48:51 UTC (rev 7057) @@ -78,7 +78,7 @@ // convert text? $text = $current->getPackedContent(); $meta['summary'] = sprintf(_("Change markup type from %s to %s"), $markup, $newmarkup); - $meta['is_minor_edit'] = 0; + $meta['is_minor_edit'] = 1; $meta['author'] = $request->_user->UserName(); unset($meta['mtime']); // force new date $page->save($text, $version + 1, $meta); Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2009-08-05 09:27:48 UTC (rev 7056) +++ trunk/lib/plugin/WikiAdminRename.php 2009-08-05 09:48:51 UTC (rev 7057) @@ -93,7 +93,7 @@ $meta = $current->_data; $text = $current->getPackedContent(); $meta['summary'] = sprintf(_("Renamed page from '%s' to '%s'"), $name, $newname); - $meta['is_minor_edit'] = 0; + $meta['is_minor_edit'] = 1; $meta['author'] = $request->_user->UserName(); unset($meta['mtime']); // force new date $page->save($text, $version + 1, $meta); Modified: trunk/lib/plugin/WikiAdminSetAcl.php =================================================================== --- trunk/lib/plugin/WikiAdminSetAcl.php 2009-08-05 09:27:48 UTC (rev 7056) +++ trunk/lib/plugin/WikiAdminSetAcl.php 2009-08-05 09:48:51 UTC (rev 7057) @@ -116,7 +116,7 @@ $pagename, $oldperm ? $oldperm->asAclGroupLines() : "None", $perm->asAclGroupLines()); - $meta['is_minor_edit'] = 0; + $meta['is_minor_edit'] = 1; $meta['author'] = $request->_user->UserName(); unset($meta['mtime']); // force new date $page->save($text, $version + 1, $meta); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-09-24 08:42:38
|
Revision: 7152 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7152&view=rev Author: vargenau Date: 2009-09-24 08:42:27 +0000 (Thu, 24 Sep 2009) Log Message: ----------- Add svn:keywords Revision Modified Paths: -------------- trunk/lib/plugin/DynamicIncludePage.php trunk/lib/plugin/IncludeTree.php trunk/lib/plugin/Processing.php Property Changed: ---------------- trunk/lib/plugin/DynamicIncludePage.php trunk/lib/plugin/IncludeTree.php trunk/lib/plugin/Processing.php Modified: trunk/lib/plugin/DynamicIncludePage.php =================================================================== --- trunk/lib/plugin/DynamicIncludePage.php 2009-09-23 08:33:21 UTC (rev 7151) +++ trunk/lib/plugin/DynamicIncludePage.php 2009-09-24 08:42:27 UTC (rev 7152) @@ -41,7 +41,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 6547 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/DynamicIncludePage.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/IncludeTree.php =================================================================== --- trunk/lib/plugin/IncludeTree.php 2009-09-23 08:33:21 UTC (rev 7151) +++ trunk/lib/plugin/IncludeTree.php 2009-09-24 08:42:27 UTC (rev 7152) @@ -45,7 +45,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 6186 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/IncludeTree.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision Modified: trunk/lib/plugin/Processing.php =================================================================== --- trunk/lib/plugin/Processing.php 2009-09-23 08:33:21 UTC (rev 7151) +++ trunk/lib/plugin/Processing.php 2009-09-24 08:42:27 UTC (rev 7152) @@ -37,7 +37,7 @@ function getVersion() { return preg_replace("/[Revision: $]/", '', - "\$Revision: 6185 $"); + "\$Revision$"); } function getDefaultArguments() { Property changes on: trunk/lib/plugin/Processing.php ___________________________________________________________________ Modified: svn:keywords - Id + Id Revision This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-09-28 12:59:07
|
Revision: 7165 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7165&view=rev Author: vargenau Date: 2009-09-28 12:58:52 +0000 (Mon, 28 Sep 2009) Log Message: ----------- Replace DEBUG with EXPERIMENTAL (DEBUG should add only debug, not unstable features) Modified Paths: -------------- trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSetAcl.php Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2009-09-28 12:56:08 UTC (rev 7164) +++ trunk/lib/plugin/WikiAdminRename.php 2009-09-28 12:58:52 UTC (rev 7165) @@ -284,7 +284,7 @@ $this->_tablePush($table, '', $this->checkBox($post_args, 'icase', _("Case insensitive?"))); } - if (DEBUG) // not yet stable + if (defined('EXPERIMENTAL') and EXPERIMENTAL) // not yet stable $this->_tablePush($table, '', $this->checkBox($post_args, 'updatelinks', _("Change pagename in all linked pages also?"))); Modified: trunk/lib/plugin/WikiAdminSetAcl.php =================================================================== --- trunk/lib/plugin/WikiAdminSetAcl.php 2009-09-28 12:56:08 UTC (rev 7164) +++ trunk/lib/plugin/WikiAdminSetAcl.php 2009-09-28 12:58:52 UTC (rev 7165) @@ -271,7 +271,7 @@ //$header->pushContent(HTML::input(array('name' => 'admin_setacl[acl]', // 'value' => $post_args['acl']))); $header->pushContent(HTML::br()); - if (!empty($pages) and DEBUG) { + if (!empty($pages) and defined('EXPERIMENTAL') and EXPERIMENTAL) { $checkbox = HTML::input(array('type' => 'checkbox', 'name' => 'admin_setacl[updatechildren]', 'value' => 1)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-10-06 14:13:56
|
Revision: 7190 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7190&view=rev Author: vargenau Date: 2009-10-06 14:13:48 +0000 (Tue, 06 Oct 2009) Log Message: ----------- Allow "debug" argument only if DEBUG is true Modified Paths: -------------- trunk/lib/plugin/AllPages.php trunk/lib/plugin/AllUsers.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/FuzzyPages.php trunk/lib/plugin/NewPagesPerUser.php Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2009-10-06 14:06:35 UTC (rev 7189) +++ trunk/lib/plugin/AllPages.php 2009-10-06 14:13:48 UTC (rev 7190) @@ -67,8 +67,9 @@ $args = $this->getArgs($argstr, $request); $pages = false; // Todo: extend given _GET args - if ($args['debug']) + if (defined('DEBUG') && DEBUG && $args['debug']) { $timer = new DebugTimer; + } $caption = _("All pages in this wiki ({total} total):"); if ( !empty($args['userpages']) ) { @@ -132,7 +133,7 @@ else $pagelist->addPages( $dbi->getAllPages($args['include_empty'], $args['sortby'], $args['limit']) ); - if ($args['debug']) { + if (defined('DEBUG') && DEBUG && $args['debug']) { return HTML($pagelist, HTML::p(fmt("Elapsed time: %s s", $timer->getStats()))); } else { Modified: trunk/lib/plugin/AllUsers.php =================================================================== --- trunk/lib/plugin/AllUsers.php 2009-10-06 14:06:35 UTC (rev 7189) +++ trunk/lib/plugin/AllUsers.php 2009-10-06 14:13:48 UTC (rev 7190) @@ -67,14 +67,15 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); extract($args); - if ($debug) + if (defined('DEBUG') && DEBUG && $debug) { $timer = new DebugTimer; + } $group = $request->getGroup(); if (method_exists($group,'_allUsers')) { $allusers = $group->_allUsers(); } else { - $allusers = array(); + $allusers = array(); } $args['count'] = count($allusers); // deleted pages show up as version 0. @@ -88,7 +89,7 @@ $pagelist->addPageList($allusers); } else { for ($i=$offset; $i < $offset + $pagesize - 1; $i++) { - if ($i >= $args['count']) break; + if ($i >= $args['count']) break; $pagelist->addPage(trim($allusers[$i])); } } @@ -100,7 +101,7 @@ } */ - if ($debug) { + if (defined('DEBUG') && DEBUG and $debug) { return HTML($pagelist, HTML::p(fmt("Elapsed time: %s s", $timer->getStats()))); } else { Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2009-10-06 14:06:35 UTC (rev 7189) +++ trunk/lib/plugin/ExternalSearch.php 2009-10-06 14:13:48 UTC (rev 7190) @@ -93,7 +93,7 @@ $this->_url = sprintf($this->_url, $s); } else $this->_url .= $s; - if ($debug) { + if (defined('DEBUG') && DEBUG && $debug) { trigger_error("redirect url: " . $this->_url); } else { $request->redirect($this->_url); //no return! Modified: trunk/lib/plugin/FuzzyPages.php =================================================================== --- trunk/lib/plugin/FuzzyPages.php 2009-10-06 14:06:35 UTC (rev 7189) +++ trunk/lib/plugin/FuzzyPages.php 2009-10-06 14:13:48 UTC (rev 7190) @@ -105,8 +105,10 @@ function addTableHead(&$table) { $row = HTML::tr(HTML::th(_("Name")), HTML::th(array('align' => 'right'), _("Score"))); - if ($this->debug) + + if (defined('DEBUG') && DEBUG && $this->debug) { $this->_pushDebugHeadingTDinto($row); + } $table->pushContent(HTML::thead($row)); } @@ -124,8 +126,9 @@ HTML::td(array('align' => 'right'), round($score))); - if ($this->debug) + if (defined('DEBUG') && DEBUG && $this->debug) { $this->_pushDebugTDinto($row, $found_pagename); + } $tbody->pushContent($row); } @@ -151,8 +154,11 @@ if (empty($s)) { return HTML::div(array('class' => "error"), "Please provide 's' argument to the plugin."); } - $this->debug = $debug; + if (defined('DEBUG') && DEBUG) { + $this->debug = $debug; + } + $this->_searchterm = $s; $this->_list = array(); @@ -161,8 +167,6 @@ return $this->formatTable($this->_list, $dbi); } - - function _pushDebugHeadingTDinto(&$row) { $row->pushContent(HTML::td(_("Spelling Score")), HTML::td(_("Sound Score")), Modified: trunk/lib/plugin/NewPagesPerUser.php =================================================================== --- trunk/lib/plugin/NewPagesPerUser.php 2009-10-06 14:06:35 UTC (rev 7189) +++ trunk/lib/plugin/NewPagesPerUser.php 2009-10-06 14:13:48 UTC (rev 7190) @@ -62,7 +62,9 @@ $date = $rev->get('mtime'); //$author = $rev->get('author_id'); $author = $page->getOwner(); - if ($debug) echo "<i>$pagename, ",strftime("%Y-%m-%d %h:%m:%s", $date),", $author</i><br />\n"; + if (defined('DEBUG') && DEBUG && $debug) { + echo "<i>$pagename, ",strftime("%Y-%m-%d %h:%m:%s", $date),", $author</i><br />\n"; + } if ($userid and (!preg_match("/".$userid."/", $author))) continue; if ($since and $date < $since) continue; if ($until and $date > $until) continue; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-10-06 17:20:01
|
Revision: 7194 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7194&view=rev Author: vargenau Date: 2009-10-06 17:19:52 +0000 (Tue, 06 Oct 2009) Log Message: ----------- Test 'limit' argument is numeric to avoid SQL injection Modified Paths: -------------- trunk/lib/plugin/AllPages.php trunk/lib/plugin/AllUsers.php trunk/lib/plugin/BackLinks.php trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/LikePages.php trunk/lib/plugin/LinkDatabase.php trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/ListRelations.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/MostPopular.php trunk/lib/plugin/RandomPage.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/SemanticSearch.php trunk/lib/plugin/SemanticSearchAdvanced.php trunk/lib/plugin/TitleSearch.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/WantedPages.php trunk/lib/plugin/WikiAdminSelect.php Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/AllPages.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -65,6 +65,11 @@ // 2004-07-08 22:05:35 rurban: turned off &$request to prevent from strange bug below function run($dbi, $argstr, $request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + $pages = false; // Todo: extend given _GET args if (defined('DEBUG') && DEBUG && $args['debug']) { Modified: trunk/lib/plugin/AllUsers.php =================================================================== --- trunk/lib/plugin/AllUsers.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/AllUsers.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -66,6 +66,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); if (defined('DEBUG') && DEBUG && $debug) { $timer = new DebugTimer; Modified: trunk/lib/plugin/BackLinks.php =================================================================== --- trunk/lib/plugin/BackLinks.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/BackLinks.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -59,6 +59,11 @@ // page=foo,bar : backlinks to both pages function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); if (empty($page) and $page != '0') return ''; Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/FullTextSearch.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -72,6 +72,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + if (empty($args['s'])) { return HTML(); } Modified: trunk/lib/plugin/LikePages.php =================================================================== --- trunk/lib/plugin/LikePages.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/LikePages.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -58,6 +58,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); if (empty($page) && empty($prefix) && empty($suffix)) return ''; Modified: trunk/lib/plugin/LinkDatabase.php =================================================================== --- trunk/lib/plugin/LinkDatabase.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/LinkDatabase.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -75,6 +75,11 @@ function run($dbi, $argstr, $request, $basepage) { global $WikiTheme; $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + $caption = _("All pages with all links in this wiki (%d total):"); if ( !empty($args['owner']) ) { Modified: trunk/lib/plugin/LinkSearch.php =================================================================== --- trunk/lib/plugin/LinkSearch.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/LinkSearch.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -129,6 +129,11 @@ function run ($dbi, $argstr, &$request, $basepage) { global $WikiTheme; $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + if (empty($args['page'])) $args['page'] = "*"; $form = $this->showForm($dbi, $request, $args); Modified: trunk/lib/plugin/ListPages.php =================================================================== --- trunk/lib/plugin/ListPages.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/ListPages.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -67,6 +67,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); // If the ratings table does not exist, or on dba it will break otherwise. // Check if WikiTheme isa 'wikilens' Modified: trunk/lib/plugin/ListRelations.php =================================================================== --- trunk/lib/plugin/ListRelations.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/ListRelations.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -50,6 +50,11 @@ } function run ($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); $pagelist = new PageList($info, $exclude, $args); // should attributes be listed as pagename here? Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/ListSubpages.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -61,6 +61,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + if ($args['basepage']) $pagename = $args['basepage']; else Modified: trunk/lib/plugin/MostPopular.php =================================================================== --- trunk/lib/plugin/MostPopular.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/MostPopular.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -60,6 +60,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); if (strstr($sortby,'mtime')) { trigger_error(_("sortby=mtime not supported with MostPopular"), Modified: trunk/lib/plugin/RandomPage.php =================================================================== --- trunk/lib/plugin/RandomPage.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/RandomPage.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -56,6 +56,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); // fix deprecated arg Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/RecentReferrers.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -38,6 +38,11 @@ return HTML::div(array('class' => "error"), "Error: no ACCESS_LOG"); } $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + $table = HTML::table(array('cellpadding' => 1, 'cellspacing' => 2, 'border' => 0, Modified: trunk/lib/plugin/SemanticSearch.php =================================================================== --- trunk/lib/plugin/SemanticSearch.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/SemanticSearch.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -276,6 +276,11 @@ $this->_supported_operators = array(':=','<','<=','>','>=','!=','==','=~'); $this->_text_operators = array(':=','==','=~','!='); $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + if (empty($args['page'])) $args['page'] = "*"; if (!isset($args['s'])) // it might be (integer) 0 Modified: trunk/lib/plugin/SemanticSearchAdvanced.php =================================================================== --- trunk/lib/plugin/SemanticSearchAdvanced.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/SemanticSearchAdvanced.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -133,6 +133,11 @@ $this->_supported_operators = array(':=','<','<=','>','>=','!=','==','=~'); $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + $posted = $request->getArg('semsearch'); $request->setArg('semsearch', false); if ($request->isPost() and isset($posted['help'])) { Modified: trunk/lib/plugin/TitleSearch.php =================================================================== --- trunk/lib/plugin/TitleSearch.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/TitleSearch.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -73,6 +73,11 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + if (empty($args['s'])) { return HTML(); } Modified: trunk/lib/plugin/UnfoldSubpages.php =================================================================== --- trunk/lib/plugin/UnfoldSubpages.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/UnfoldSubpages.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -82,6 +82,11 @@ if (!$included_pages) $included_pages = array($basepage); $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + extract($args); $query = new TextSearchQuery($pagename . SUBPAGE_SEPARATOR . '*', true, 'glob'); $subpages = $dbi->titleSearch($query, $sortby, $limit, $exclude); Modified: trunk/lib/plugin/WantedPages.php =================================================================== --- trunk/lib/plugin/WantedPages.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/WantedPages.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -62,6 +62,11 @@ // exclude arg allows multiple pagenames exclude=HomePage,RecentChanges function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + if (!empty($args['exclude_from'])) $args['exclude_from'] = is_string($args['exclude_from']) ? explodePageList($args['exclude_from']) Modified: trunk/lib/plugin/WikiAdminSelect.php =================================================================== --- trunk/lib/plugin/WikiAdminSelect.php 2009-10-06 17:12:20 UTC (rev 7193) +++ trunk/lib/plugin/WikiAdminSelect.php 2009-10-06 17:19:52 UTC (rev 7194) @@ -120,6 +120,11 @@ //if ($request->getArg('action') != 'browse') // return $this->disabled("(action != 'browse')"); $args = $this->getArgs($argstr, $request); + + if (!empty($args['limit']) && !is_numeric($args['limit'])) { + return $this->error(_("Illegal 'limit' argument: must be numeric")); + } + $this->_args = $args; extract($args); $this->preSelectS($args, $request); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-11-01 17:35:22
|
Revision: 7250 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7250&view=rev Author: vargenau Date: 2009-11-01 17:35:13 +0000 (Sun, 01 Nov 2009) Log Message: ----------- Normalize header Modified Paths: -------------- trunk/lib/plugin/BlogJournal.php trunk/lib/plugin/FoafViewer.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/JabberPresence.php trunk/lib/plugin/MediawikiTable.php trunk/lib/plugin/NewPagesPerUser.php trunk/lib/plugin/PreferenceApp.php trunk/lib/plugin/Processing.php trunk/lib/plugin/RecentComments.php trunk/lib/plugin/RecentEdits.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/RichTable.php trunk/lib/plugin/TexToPng.php trunk/lib/plugin/WikicreoleTable.php Modified: trunk/lib/plugin/BlogJournal.php =================================================================== --- trunk/lib/plugin/BlogJournal.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/BlogJournal.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,7 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - * Copyright 2005 $ThePhpWikiProgrammingTeam + * Copyright (C) 2005 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ require_once('lib/plugin/WikiBlog.php'); Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/FoafViewer.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,8 +1,25 @@ <?php rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -//ini_set('include_path','.;C:/php/pear'); - /** * Basic FoafViewPlugin for PHPWiki. * Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/GoTo.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,5 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** * Display a form with text entry box and 'Go' button. Modified: trunk/lib/plugin/JabberPresence.php =================================================================== --- trunk/lib/plugin/JabberPresence.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/JabberPresence.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,5 +1,25 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + /** * A simple Jabber presence WikiPlugin. * http://wiki.crao.net/index.php/JabberPr%E9sence/Source Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/MediawikiTable.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,14 +1,9 @@ <?php // -*-php-*- rcs_id('$Id$'); -/** - MediawikiTablePlugin - A PhpWiki plugin that allows insertion of tables using a Mediawiki-like - syntax. -*/ /* * Copyright (C) 2003 Sameer D. Sahasrabuddhe * Copyright (C) 2005 $ThePhpWikiProgrammingTeam - * Copyright (C) 2008-2009 Alcatel-Lucent + * Copyright (C) 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent * * This file is part of PhpWiki. * @@ -49,6 +44,11 @@ * ALONE BASIS." */ +/** + * MediawikiTablePlugin + * A PhpWiki plugin that allows insertion of tables using a Mediawiki-like + * syntax. +*/ class WikiPlugin_MediawikiTable extends WikiPlugin { Modified: trunk/lib/plugin/NewPagesPerUser.php =================================================================== --- trunk/lib/plugin/NewPagesPerUser.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/NewPagesPerUser.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,7 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2007 AVL + * Copyright (C) 2007 AVL + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/PreferenceApp.php =================================================================== --- trunk/lib/plugin/PreferenceApp.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/PreferenceApp.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,14 +1,25 @@ <?php //-*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -require_once('lib/PageList.php'); -require_once('lib/InlineParser.php'); - -require_once('lib/wikilens/Utils.php'); -require_once('lib/WikiTheme.php'); -require_once('lib/wikilens/Buddy.php'); -require_once('lib/wikilens/RatingsDb.php'); - /** * PreferenceApp is used to analyze a category of items that a group * of people have rated. A user is grouped to be analyzed in the group by @@ -27,6 +38,14 @@ * <<PreferenceApp category="Soda" pageTextLabel="TotalSoda" roundCalc="true" >> */ +require_once('lib/PageList.php'); +require_once('lib/InlineParser.php'); + +require_once('lib/wikilens/Utils.php'); +require_once('lib/WikiTheme.php'); +require_once('lib/wikilens/Buddy.php'); +require_once('lib/wikilens/RatingsDb.php'); + class WikiPlugin_PreferenceApp extends WikiPlugin { Modified: trunk/lib/plugin/Processing.php =================================================================== --- trunk/lib/plugin/Processing.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/Processing.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,26 +1,26 @@ <?php // -*-php-*- rcs_id('$Id$'); -/* -Copyright 2009 $ThePhpWikiProgrammingTeam +/** + * Copyright 2009 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -This file is part of PhpWiki. - -PhpWiki is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -PhpWiki is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with PhpWiki; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -/** +/** * Interface to http://ejohn.org/blog/processingjs/ * Syntax: http://ejohn.org/blog/overview-of-processing/ */ Modified: trunk/lib/plugin/RecentComments.php =================================================================== --- trunk/lib/plugin/RecentComments.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/RecentComments.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,5 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** * List of basepages with recently added comments. Modified: trunk/lib/plugin/RecentEdits.php =================================================================== --- trunk/lib/plugin/RecentEdits.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/RecentEdits.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,5 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ require_once("lib/plugin/RecentChanges.php"); Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/RecentReferrers.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,5 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** * Analyze our ACCESS_LOG Modified: trunk/lib/plugin/RelatedChanges.php =================================================================== --- trunk/lib/plugin/RelatedChanges.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/RelatedChanges.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,5 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** * List of changes on all pages which are linked to from this page. Modified: trunk/lib/plugin/RichTable.php =================================================================== --- trunk/lib/plugin/RichTable.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/RichTable.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,9 +1,5 @@ <?php // -*-php-*- rcs_id('$Id$'); -/** - RichTablePlugin - A PhpWiki plugin that allows insertion of tables using a richer syntax. -*/ /* * Copyright (C) 2003 Sameer D. Sahasrabuddhe * Copyright (C) 2005 $ThePhpWikiProgrammingTeam @@ -26,7 +22,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -// error_reporting (E_ALL & ~E_NOTICE); +/** + * RichTablePlugin + * A PhpWiki plugin that allows insertion of tables using a richer syntax. +*/ class WikiPlugin_RichTable extends WikiPlugin Modified: trunk/lib/plugin/TexToPng.php =================================================================== --- trunk/lib/plugin/TexToPng.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/TexToPng.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,23 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + * Copyright (C) 2002 Johannes Große + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // +---------------------------------------------------------------------+ @@ -28,7 +29,6 @@ // | engines into a gif, png or jpeg file. | // | TexToPng is usage example for WikiPluginCached. | // | | -// | Copyright (C) 2002 Johannes Große (Johannes Große) | // | You may copy this code freely under the conditions of the GPL | // +---------------------------------------------------------------------+ Modified: trunk/lib/plugin/WikicreoleTable.php =================================================================== --- trunk/lib/plugin/WikicreoleTable.php 2009-11-01 17:08:51 UTC (rev 7249) +++ trunk/lib/plugin/WikicreoleTable.php 2009-11-01 17:35:13 UTC (rev 7250) @@ -1,12 +1,7 @@ <?php // -*-php-*- rcs_id('$Id$'); -/** - WikicreoleTablePlugin - A PhpWiki plugin that allows insertion of tables using the Wikicreole - syntax. -*/ /* - * Copyright (C) 2008-2009 Alcatel-Lucent + * Copyright (C) 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent * * This file is part of PhpWiki. * @@ -23,7 +18,7 @@ * You should have received a copy of the GNU General Public License * along with PhpWiki; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + */ /* * Standard Alcatel-Lucent disclaimer for contributing to open source @@ -47,6 +42,12 @@ * ALONE BASIS." */ +/** + * WikicreoleTablePlugin + * A PhpWiki plugin that allows insertion of tables using the Wikicreole + * syntax. + */ + class WikiPlugin_WikicreoleTable extends WikiPlugin { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-11-01 18:45:40
|
Revision: 7252 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7252&view=rev Author: vargenau Date: 2009-11-01 18:45:27 +0000 (Sun, 01 Nov 2009) Log Message: ----------- Normalize header Modified Paths: -------------- trunk/lib/plugin/BlogArchives.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/TeX2png.php trunk/lib/plugin/YouTube.php Modified: trunk/lib/plugin/BlogArchives.php =================================================================== --- trunk/lib/plugin/BlogArchives.php 2009-11-01 17:38:42 UTC (rev 7251) +++ trunk/lib/plugin/BlogArchives.php 2009-11-01 18:45:27 UTC (rev 7252) @@ -1,10 +1,25 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - * Copyright 2004 $ThePhpWikiProgrammingTeam + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -//require_once('lib/PageList.php'); require_once('lib/plugin/WikiBlog.php'); /** Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2009-11-01 17:38:42 UTC (rev 7251) +++ trunk/lib/plugin/PageDump.php 2009-11-01 18:45:27 UTC (rev 7252) @@ -1,5 +1,25 @@ <?php // -*-php-*- rcs_id('$Id$'); +/* + * Copyright (C) 2003 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + /** * PhpWikiPlugin for PhpWiki developers to generate single page dumps * for checking into cvs, or for users or the admin to produce a @@ -9,7 +29,7 @@ * directly between two wikis. First the LoadFile function of * PhpWikiAdministration needs to be updated to handle URLs again, and * add loading capability from InterWiki addresses. - + * * Multiple revisions in one file handled by format=backup * * TODO: What about comments/summary field? quoted-printable? Modified: trunk/lib/plugin/TeX2png.php =================================================================== --- trunk/lib/plugin/TeX2png.php 2009-11-01 17:38:42 UTC (rev 7251) +++ trunk/lib/plugin/TeX2png.php 2009-11-01 18:45:27 UTC (rev 7252) @@ -1,8 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2004 Pierrick Meignen -*/ + * Copyright (C) Copyright 2004 Pierrick Meignen + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** * This is a simple version of the original TexToPng plugin which uses Modified: trunk/lib/plugin/YouTube.php =================================================================== --- trunk/lib/plugin/YouTube.php 2009-11-01 17:38:42 UTC (rev 7251) +++ trunk/lib/plugin/YouTube.php 2009-11-01 18:45:27 UTC (rev 7252) @@ -1,9 +1,25 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2007 Reini Urban - Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent -*/ + * Copyright 2007 Reini Urban + * Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** * Embed YouTube videos This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-11-01 19:34:53
|
Revision: 7253 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7253&view=rev Author: vargenau Date: 2009-11-01 19:34:26 +0000 (Sun, 01 Nov 2009) Log Message: ----------- Normalize header Modified Paths: -------------- trunk/lib/plugin/AddComment.php trunk/lib/plugin/AllPages.php trunk/lib/plugin/AllUsers.php trunk/lib/plugin/AnalyseAccessLogSql.php trunk/lib/plugin/AppendText.php trunk/lib/plugin/AsciiMath.php trunk/lib/plugin/AsciiSVG.php trunk/lib/plugin/AuthorHistory.php trunk/lib/plugin/BackLinks.php trunk/lib/plugin/BoxRight.php trunk/lib/plugin/Calendar.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CategoryPage.php trunk/lib/plugin/CreateBib.php trunk/lib/plugin/CreatePage.php trunk/lib/plugin/CreateToc.php trunk/lib/plugin/DeadEndPages.php trunk/lib/plugin/Diff.php trunk/lib/plugin/DynamicIncludePage.php trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/FileInfo.php trunk/lib/plugin/FrameInclude.php trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/FuzzyPages.php trunk/lib/plugin/GoogleMaps.php trunk/lib/plugin/GooglePlugin.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/HelloWorld.php trunk/lib/plugin/Imdb.php trunk/lib/plugin/IncludePage.php trunk/lib/plugin/IncludePages.php trunk/lib/plugin/IncludeSiteMap.php trunk/lib/plugin/IncludeTree.php trunk/lib/plugin/InterWikiSearch.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/LikePages.php trunk/lib/plugin/LinkDatabase.php trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/ListRelations.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/MostPopular.php trunk/lib/plugin/NoCache.php trunk/lib/plugin/OldStyleTable.php trunk/lib/plugin/OrphanedPages.php trunk/lib/plugin/PageGroup.php trunk/lib/plugin/PageHistory.php trunk/lib/plugin/PageInfo.php trunk/lib/plugin/PageTrail.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/PhpHighlight.php trunk/lib/plugin/PhpWeather.php trunk/lib/plugin/Ploticus.php trunk/lib/plugin/PluginManager.php trunk/lib/plugin/PopUp.php trunk/lib/plugin/PopularNearby.php trunk/lib/plugin/PopularTags.php trunk/lib/plugin/PrevNext.php trunk/lib/plugin/RandomPage.php trunk/lib/plugin/RateIt.php trunk/lib/plugin/RawHtml.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RecentChangesCached.php trunk/lib/plugin/RedirectTo.php trunk/lib/plugin/RssFeed.php trunk/lib/plugin/SemanticRelations.php trunk/lib/plugin/SemanticSearch.php trunk/lib/plugin/SemanticSearchAdvanced.php trunk/lib/plugin/SiteMap.php trunk/lib/plugin/SpellCheck.php trunk/lib/plugin/SqlResult.php trunk/lib/plugin/SyncWiki.php trunk/lib/plugin/SyntaxHighlighter.php trunk/lib/plugin/SystemInfo.php trunk/lib/plugin/Template.php trunk/lib/plugin/TitleSearch.php trunk/lib/plugin/Transclude.php trunk/lib/plugin/TranslateText.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/UpLoad.php trunk/lib/plugin/UriResolver.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/UserRatings.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WantedPages.php trunk/lib/plugin/WantedPagesOld.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WhoIsOnline.php trunk/lib/plugin/WikiAdminChmod.php trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminPurge.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSelect.php trunk/lib/plugin/WikiAdminSetAcl.php trunk/lib/plugin/WikiAdminSetExternal.php trunk/lib/plugin/WikiAdminUtils.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiForm.php trunk/lib/plugin/WikiFormRich.php trunk/lib/plugin/WikiForum.php trunk/lib/plugin/WikiPoll.php trunk/lib/plugin/_AuthInfo.php trunk/lib/plugin/_BackendInfo.php trunk/lib/plugin/_GroupInfo.php trunk/lib/plugin/_PreferencesInfo.php trunk/lib/plugin/_Retransform.php trunk/lib/plugin/_WikiTranslation.php trunk/lib/plugin/text2png.php Modified: trunk/lib/plugin/AddComment.php =================================================================== --- trunk/lib/plugin/AddComment.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AddComment.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright (C) 2004 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright (C) 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AllPages.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999,2000,2001,2002,2004,2005 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999,2000,2001,2002,2004,2005 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ require_once('lib/PageList.php'); Modified: trunk/lib/plugin/AllUsers.php =================================================================== --- trunk/lib/plugin/AllUsers.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AllUsers.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2002,2004 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2002,2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ require_once('lib/PageList.php'); Modified: trunk/lib/plugin/AnalyseAccessLogSql.php =================================================================== --- trunk/lib/plugin/AnalyseAccessLogSql.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AnalyseAccessLogSql.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,22 +1,22 @@ <?php rcs_id('$Id$'); /* - Copyright 2005 Charles Corrigan and $ThePhpWikiProgrammingTeam - - This file is (not yet) part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software + * Copyright 2005 Charles Corrigan and $ThePhpWikiProgrammingTeam + * + * This file is (not yet) part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/AppendText.php =================================================================== --- trunk/lib/plugin/AppendText.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AppendText.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,25 +1,25 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2004,2007 $ThePhpWikiProgrammingTeam + * Copyright 2004,2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -This file is part of PhpWiki. - -PhpWiki is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -PhpWiki is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with PhpWiki; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - /** * Append text to an existing page. * Modified: trunk/lib/plugin/AsciiMath.php =================================================================== --- trunk/lib/plugin/AsciiMath.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AsciiMath.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,26 +1,26 @@ <?php // -*-php-*- rcs_id('$Id$'); /* -Copyright 2005 $ThePhpWikiProgrammingTeam -Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent + * Copyright 2005 $ThePhpWikiProgrammingTeam + * Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -This file is part of PhpWiki. - -PhpWiki is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -PhpWiki is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with PhpWiki; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - if (phpversion() >= '5') { require_once("lib/ASCIIMathPHP/ASCIIMathPHP-2.0.class.php"); } else { Modified: trunk/lib/plugin/AsciiSVG.php =================================================================== --- trunk/lib/plugin/AsciiSVG.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AsciiSVG.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,26 +1,26 @@ <?php // -*-php-*- rcs_id('$Id$'); /* -Copyright 2007 $ThePhpWikiProgrammingTeam + * Copyright 2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -This file is part of PhpWiki. - -PhpWiki is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -PhpWiki is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with PhpWiki; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -/** +/** * Interface to http://www1.chapman.edu/~jipsen/svg/asciisvg.html * Requires ENABLE_XHTML_XML = true * Syntax: http://www1.chapman.edu/~jipsen/svg/asciisvgcommands.html Modified: trunk/lib/plugin/AuthorHistory.php =================================================================== --- trunk/lib/plugin/AuthorHistory.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/AuthorHistory.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,24 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam - Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + * Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* Modified: trunk/lib/plugin/BackLinks.php =================================================================== --- trunk/lib/plugin/BackLinks.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/BackLinks.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999,2000,2001,2002,2006 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999,2000,2001,2002,2006 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/BoxRight.php =================================================================== --- trunk/lib/plugin/BoxRight.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/BoxRight.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 2006 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2006 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/Calendar.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999,2000,2001,2002,2007 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999,2000,2001,2002,2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ if (!defined('SECONDS_PER_DAY')) Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/CalendarList.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -2,23 +2,23 @@ rcs_id('$Id$'); /** - Copyright 1999-2002,2005-2007 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * * Copyright 1999-2002,2005-2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // if not defined in config.ini Modified: trunk/lib/plugin/CategoryPage.php =================================================================== --- trunk/lib/plugin/CategoryPage.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/CategoryPage.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ //require_once('lib/InlineParser.php'); Modified: trunk/lib/plugin/CreateBib.php =================================================================== --- trunk/lib/plugin/CreateBib.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/CreateBib.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2004 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/CreatePage.php =================================================================== --- trunk/lib/plugin/CreatePage.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/CreatePage.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 2004,2007 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2004,2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/CreateToc.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,24 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2004,2005 $ThePhpWikiProgrammingTeam - Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2004,2005 $ThePhpWikiProgrammingTeam + * Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/DeadEndPages.php =================================================================== --- trunk/lib/plugin/DeadEndPages.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/DeadEndPages.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,21 +1,21 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/Diff.php =================================================================== --- trunk/lib/plugin/Diff.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/Diff.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999, 2000, 2001, 2002, 2004 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999, 2000, 2001, 2002, 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** * lib/diff.php converted to a plugin by electrawn, Modified: trunk/lib/plugin/DynamicIncludePage.php =================================================================== --- trunk/lib/plugin/DynamicIncludePage.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/DynamicIncludePage.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2009 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2009 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/EditMetaData.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999,2000,2001,2002,2007 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999,2000,2001,2002,2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/ExternalSearch.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999,2000,2001,2002,2006 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999,2000,2001,2002,2006 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/FileInfo.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,24 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2005,2007 $ThePhpWikiProgrammingTeam - Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2005,2007 $ThePhpWikiProgrammingTeam + * Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/FrameInclude.php =================================================================== --- trunk/lib/plugin/FrameInclude.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/FrameInclude.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2002 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2002 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/FullTextSearch.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,25 +1,25 @@ <?php // -*-php-*- rcs_id('$Id$'); /* -Copyright 1999,2000,2001,2002,2004,2005,2007 $ThePhpWikiProgrammingTeam + * Copyright 1999,2000,2001,2002,2004,2005,2007 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -This file is part of PhpWiki. - -PhpWiki is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -PhpWiki is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with PhpWiki; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - require_once('lib/TextSearchQuery.php'); require_once("lib/PageList.php"); Modified: trunk/lib/plugin/FuzzyPages.php =================================================================== --- trunk/lib/plugin/FuzzyPages.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/FuzzyPages.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,24 +1,24 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam - Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + * Copyright 2009 Marc-Etienne Vargenau, Alcatel-Lucent + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/GoogleMaps.php =================================================================== --- trunk/lib/plugin/GoogleMaps.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/GoogleMaps.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 2005 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2005 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/GooglePlugin.php =================================================================== --- trunk/lib/plugin/GooglePlugin.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/GooglePlugin.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 2004 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ require_once("lib/Google.php"); Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/GraphViz.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /* - Copyright 2004 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 2004 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** Modified: trunk/lib/plugin/HelloWorld.php =================================================================== --- trunk/lib/plugin/HelloWorld.php 2009-11-01 18:45:27 UTC (rev 7252) +++ trunk/lib/plugin/HelloWorld.php 2009-11-01 19:34:26 UTC (rev 7253) @@ -1,23 +1,23 @@ <?php // -*-php-*- rcs_id('$Id$'); /** - Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam - - This file is part of PhpWiki. - - PhpWiki is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - PhpWiki is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with PhpWiki; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Copyright 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public... [truncated message content] |
From: <var...@us...> - 2009-11-20 16:38:08
|
Revision: 7269 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7269&view=rev Author: vargenau Date: 2009-11-20 16:37:58 +0000 (Fri, 20 Nov 2009) Log Message: ----------- Follow redirects even when page name contains spaces Modified Paths: -------------- trunk/lib/plugin/IncludePage.php trunk/lib/plugin/Template.php Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2009-11-20 12:09:00 UTC (rev 7268) +++ trunk/lib/plugin/IncludePage.php 2009-11-20 16:37:58 UTC (rev 7269) @@ -109,10 +109,10 @@ $c = $r->getContent(); // follow redirects - if ((preg_match('/<'.'\?plugin\s+RedirectTo\s+page=(\S+)\s*\?'.'>/', - implode("\n", $c), $m)) - or (preg_match('/<<\s*RedirectTo\s+page=(\S+)\s*>>/', - implode("\n", $c), $m))) + if ((preg_match('/<'.'\?plugin\s+RedirectTo\s+page=(\S+)\s*\?'.'>/', implode("\n", $c), $m)) + or (preg_match('/<'.'\?plugin\s+RedirectTo\s+page=(.*?)\s*\?'.'>/', implode("\n", $c), $m)) + or (preg_match('/<<\s*RedirectTo\s+page=(\S+)\s*>>/', implode("\n", $c), $m)) + or (preg_match('/<<\s*RedirectTo\s+page="(.*?)"\s*>>/', implode("\n", $c), $m))) { // Strip quotes (simple or double) from page name if any if ((string_starts_with($m[1], "'")) Modified: trunk/lib/plugin/Template.php =================================================================== --- trunk/lib/plugin/Template.php 2009-11-20 12:09:00 UTC (rev 7268) +++ trunk/lib/plugin/Template.php 2009-11-20 16:37:58 UTC (rev 7269) @@ -148,10 +148,10 @@ $content = $r->getContent(); // follow redirects - if ((preg_match('/<'.'\?plugin\s+RedirectTo\s+page=(\S+)\s*\?'.'>/', - implode("\n", $content), $m)) - or (preg_match('/<<\s*RedirectTo\s+page=(\S+)\s*>>/', - implode("\n", $content), $m))) + if ((preg_match('/<'.'\?plugin\s+RedirectTo\s+page=(\S+)\s*\?'.'>/', implode("\n", $content), $m)) + or (preg_match('/<'.'\?plugin\s+RedirectTo\s+page=(.*?)\s*\?'.'>/', implode("\n", $content), $m)) + or (preg_match('/<<\s*RedirectTo\s+page=(\S+)\s*>>/', implode("\n", $content), $m)) + or (preg_match('/<<\s*RedirectTo\s+page="(.*?)"\s*>>/', implode("\n", $content), $m))) { // Strip quotes (simple or double) from page name if any if ((string_starts_with($m[1], "'")) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-11-20 16:58:17
|
Revision: 7270 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7270&view=rev Author: vargenau Date: 2009-11-20 16:58:11 +0000 (Fri, 20 Nov 2009) Log Message: ----------- Check if page to include exists Modified Paths: -------------- trunk/lib/plugin/IncludePage.php trunk/lib/plugin/Template.php Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2009-11-20 16:37:58 UTC (rev 7269) +++ trunk/lib/plugin/IncludePage.php 2009-11-20 16:58:11 UTC (rev 7270) @@ -90,9 +90,14 @@ $page)); } + // Check if page exists + if (!($dbi->isWikiPage($page))) { + return $this->error(sprintf(_("Page '%s' does not exist"), $page)); + } + // Check if user is allowed to get the Page. if (!mayAccessPage ('view', $page)) { - return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), + return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), $page)); } @@ -124,8 +129,8 @@ return $this->error(sprintf(_("recursive inclusion of page %s ignored"), $page.' => '.$m[1])); } - $page = $m[1]; - $p = $dbi->getPage($page); + $page = $m[1]; + $p = $dbi->getPage($page); $r = $p->getCurrentRevision(); $c = $r->getContent(); // array of lines } Modified: trunk/lib/plugin/Template.php =================================================================== --- trunk/lib/plugin/Template.php 2009-11-20 16:37:58 UTC (rev 7269) +++ trunk/lib/plugin/Template.php 2009-11-20 16:58:11 UTC (rev 7270) @@ -128,6 +128,11 @@ $page)); } + // Check if page exists + if (!($dbi->isWikiPage($page))) { + return $this->error(sprintf(_("Page '%s' does not exist"), $page)); + } + // Check if user is allowed to get the Page. if (!mayAccessPage ('view', $page)) { return $this->error(sprintf(_("Illegal inclusion of page %s: no read access"), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |