Home « Server software «
Documentation: decisions/list.php
decisions/list.php - List decisions available for a given anchor
This pages features various elements, depending of the layout selected for the anchor.Following principles have been selected for the overall layout:
- This script is used to list every decisions, and the anchor page (articles/view.php)
- The link to decisions is actually the link to this page (e.g., 'decisions/list.php/article/123').
- Page 1 (e.g., 'decisions/view.php/article/123') lists decisions 1..DECISIONS_PER_PAGE, etc.
- Each decision features links to Edit and Delete, taking proper access restrictions into account.
- The link to add a decision is labelled 'Add your own decision'.
The permission assessment is based upon following rules applied in the provided orders:
- the anchor may disallow the action
- associates and editors are allowed to move forward
- permission is granted if the anchor is viewable
- permission denied is the default
Accepted calls:
- list.php?anchor=article:<id>
- list.php/<article>/<id>
If the anchor for this item specifies a specific skin (option keyword '
skin_xyz
'),
or a specific variant (option keyword 'variant_xyz
'), they are used instead default values.This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- GnapZ