Home « Server software «
Documentation: actions/edit.php
actions/edit.php - Set a new action or update an existing one
This script is used to add a new action to a todo list, or to modify an existing item.When a new action has been recorded:
- an e-mail message is sent to the target user
- the event is logged if the action has not been created by an associate
A button-based editor is used for the description field. It's aiming to introduce most common codes supported by YACS.
This script attempts to validate the new or updated article description against a standard PHP XML parser. The objective is to spot malformed or unordered HTML and XHTML tags. No more, no less.
The anchor is always touched silently, and there is no related option displayed in the edit form.
Restrictions apply on this page:
- associates and editors are allowed to move forward
- permission is denied if the anchor is not viewable by this surfer
- permission is granted if the anchor is the profile of this member
- poster of the action can modify it as well
- else permission is denied
The edition time is not limited at all. Some Javascript code polls the server in the background to ensure that session data is not lost during all the time the browser window is opened.
Accepted calls:
- edit.php?anchor=<type>:<id> add a new action for the anchor
- edit.php/<id> modify an existing action
- edit.php?id=<id> modify an existing action
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.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
- Vincent Noël