AuthTable: Table des auteurs
Page en cours de traduction
Summary: List Attributes of all pages in a wiki Version: 1.2 Prerequisites: none Status: working Maintainer: Pm & GNUZoo Categories: Administration Security Downloads: Normal - Attach:fplauth.php - Alternative - Attach:fplauth2.php (tweaks by Caveman)
Summary: Liste toutes les pages du wiki avec leurs attributs Version: 1.2 Pré-requis:aucuns Statut: fonctionne Mainteneur: Pm & GNUZoo Categories: Administration Security Téléchargements: Normal - Attach:fplauth.php - Alternative - Attach:fplauth2.php (tweaks by Caveman)
Questions answered by this recipe
How do I know which attributes are set?
Description
All pagenames and their attributes will be displayed in a table. The page code to do this is:
(:pagelist fmt=authtable:)
For a very large wiki it can take a long time to generate the list.
It is easy to speed it up by listing selected groups using the group attribute
in the pagelist: (:pagelist group=Site,Cookbook fmt=authtable:)
Here is an Example: http://www.pmwiki.org/wiki/Test/AuthList
Installation
Copy Attach:fplauth.php to your cookbook directory.
In your config.php enter:
or in your farmconfig.php enter:
$FarmD
/cookbook/fplauth.php");
Notes
Note that it won't list any pages for which you do not have read authorization.
Release Notes
- Version 1.2: Corrected RecipeInfo so RecipeCheck? would work properly.
- Version 1.1: Added RecipeInfo, Added "action=attr" to the links, Disabled automatic logout
- Version 1.0: Initial Release
Comments
I made a couple of simple tweaks to the code to make this work much faster when managing a site's attributes, namely:
- Added action=attr to the links so can go straight to the attributes page and edit.
- Disabled automatic logout on attributes change so you can change more than one page at a time.
- Topped all the columns table headers, so they all look the same.
Here's the code if the maintainer wants to update the original script: Attach:fplauth2.php Cheers, Caveman
See Also
Contributors
Pm created code GNUZoo created recipe page
.
Page originale sur CookbookFr.AuthTable - Backlinks
Dernières modifications:
CookbookFr.AuthTable: December 23, 2021, at 06:48 AM
PmWiki.AuthTable?: December 23, 2021, at 06:48 AM