Home « Server software «
Documentation: articles/delete.php
articles/delete.php - Delete an article
This script calls for confirmation, then actually deletes an article. It updates the database, then redirects to the anchor page, or to the index page for articles.Restrictions apply on this page:
- associates and authenticated editors are allowed to move forward
- permission is denied if the anchor is not viewable by this surfer
- permission is denied if the article has been published, and if revision are forbidden ('users_without_revision' == 'Y')
- logged surfers may decide to delete their own posts
- else permission is denied
Accept following invocations:
- delete.php/12
- delete.php?id=12
If this article, or one of its anchor, 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