Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: decisions/edit.php

decisions/edit.php - Post a new decision or update an existing one

A button-based editor is used for the description field. It's aiming to introduce most common codes supported by YACS. Also, sample smilies are displayed, and may be used to introduce related codes into the description field.

A preview mode is available before actually saving the decision in the database.

This script attempts to validate the new or updated decision against a standard PHP XML parser. The objective is to spot malformed or unordered HTML and XHTML tags. No more, no less.

On new decision by a non-associate a mail is sent to the system operator. Also, a mail message is sent to the article creator if he/she has a valid address.

As a very first countermeasure against weblog spammers URI are not allowed into anonymous decisions.

The permission assessment is based upon following rules applied in the provided orders:

When permission is denied, anonymous (not-logged) surfer are invited to register to be able to post new decisions.

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:

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:

Tools
Browse the source of this script
Server software