Home « Server software «
Documentation: actions/accept.php
actions/accept.php - Accept an action
Accepting an action means that the surfer changes the status of the action. Therefore, his/her name is registered in the database with the modification date.The new status can be either:
- 'on-going' - the action has been started
- 'completed' - nothing more to do
- 'rejected' - the task has been cancelled for some reason
If a secret handle has been provided, and if the surfer has not been authenticated, he is automatically logged in as the action owner. This is necessary to authorize the further processing of the action.
Restrictions apply on this page:
- associates and editors are allowed to move forward
- surfer is the action owner
- permission is denied if the anchor is not viewable by this surfer
- surfer can accept an action that has been anchored to his/her profile
- permission denied is the default
Accept following invocations:
- accept.php/12/<status>
- accept.php?id=12&status=<status>
- accept.php/12/<status>/<handle>
- accept.php?id=12&status=<status>&handle=<handle>
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