From b53e3f9eacb8d4d7ba403ca14cab63ed268466ab Mon Sep 17 00:00:00 2001 From: vargenau Date: Tue, 24 Aug 2010 10:03:52 +0000 Subject: [PATCH] New action page: AllPagesByAcl git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7649 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/IniConfig.php | 7 ++++--- pgsrc/AllPagesByAcl | 16 ++++++++++++++++ pgsrc/SpecialPages | 3 ++- themes/gforge/pgsrc/SpecialPages | 3 ++- 4 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 pgsrc/AllPagesByAcl diff --git a/lib/IniConfig.php b/lib/IniConfig.php index 0cf00eb84..3cb9b83d2 100644 --- a/lib/IniConfig.php +++ b/lib/IniConfig.php @@ -4,7 +4,7 @@ * A configurator intended to read its config from a PHP-style INI file, * instead of a PHP file. * - * Pass a filename to the IniConfig() function and it will read all it's + * Pass a filename to the IniConfig() function and it will read all its * definitions from there, all by itself, and proceed to do a mass-define * of all valid PHPWiki config items. In this way, we can hopefully be * totally backwards-compatible with the old index.php method, while still @@ -743,18 +743,19 @@ function fixup_static_configs($file) { $AllAllowedPlugins[] = '_WikiTranslation'; } - // Used by SetupWiki to pull in required pages, if not translated, then in english. + // Used by SetupWiki to pull in required pages, if not translated, then in English. // Also used by _WikiTranslation. Really important are only those which return pagelists // or contain basic functionality. $AllActionPages = $ActionPages; $AllActionPages[] = 'AllPagesCreatedByMe'; $AllActionPages[] = 'AllPagesLastEditedByMe'; $AllActionPages[] = 'AllPagesOwnedByMe'; + $AllActionPages[] = 'AllPagesByAcl'; $AllActionPages[] = 'AllUserPages'; $AllActionPages[] = 'FullRecentChanges'; $AllActionPages[] = 'LeastPopular'; $AllActionPages[] = 'LockedPages'; - $AllActionPages[] = 'MyRatings'; // MyRatings works only in wikilens derived themes + $AllActionPages[] = 'MyRatings'; // MyRatings works only in wikilens-derived themes $AllActionPages[] = 'MyRecentEdits'; $AllActionPages[] = 'MyRecentChanges'; $AllActionPages[] = 'PhpWikiAdministration'; diff --git a/pgsrc/AllPagesByAcl b/pgsrc/AllPagesByAcl new file mode 100644 index 000000000..06dab7ff8 --- /dev/null +++ b/pgsrc/AllPagesByAcl @@ -0,0 +1,16 @@ +Date: Tue, 24 Aug 2010 12:00:09 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) +X-Rcs-Id: $Id: AllPages 7614 2010-07-15 15:56:21Z vargenau $ +Content-Type: application/x-phpwiki; + pagename=AllPages; + flags=PAGE_LOCKED; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +Here is the list of **all pages** on this Wiki, sorted by ACL (Access Control List). + +<> + +---- +[[CategoryActionPage]] diff --git a/pgsrc/SpecialPages b/pgsrc/SpecialPages index 7db1cfdf9..90e14865e 100644 --- a/pgsrc/SpecialPages +++ b/pgsrc/SpecialPages @@ -1,4 +1,4 @@ -Date: Wed, 19 May 2010 18:15:54 +0000 +Date: Tue, 24 Aug 2010 12:00:09 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -21,6 +21,7 @@ Content-Transfer-Encoding: binary * [[AllPagesCreatedByMe]] * [[AllPagesOwnedByMe]] * [[AllPagesLastEditedByMe]] +* [[AllPagesByAcl]] * [[NewPagesPerUser]] * [[LockedPages]] * [[OrphanedPages]] diff --git a/themes/gforge/pgsrc/SpecialPages b/themes/gforge/pgsrc/SpecialPages index 83b3e5dd8..3001f1041 100644 --- a/themes/gforge/pgsrc/SpecialPages +++ b/themes/gforge/pgsrc/SpecialPages @@ -1,4 +1,4 @@ -Date: Thu, 15 Jul 2010 16:58:46 +0000 +Date: Tue, 24 Aug 2010 11:59:55 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -21,6 +21,7 @@ Content-Transfer-Encoding: binary * [[AllPagesCreatedByMe]] * [[AllPagesOwnedByMe]] * [[AllPagesLastEditedByMe]] +* [[AllPagesByAcl]] * [[NewPagesPerUser]] * [[LockedPages]] * [[OrphanedPages]] -- 2.45.0