System administration module for Nailblog-2.x by Martin Wikström
http://www.waxjism.org/nail/

Content ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

User documentation
 * About
 * Administration

API documentation
 * PHP functions
 * PHP variables

About ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The system administration module provides a tool for changing
important system settings such as site title, header content,
footer content, template and which modules are in use. It
requires a user authentication module to be activated in order
to work properly.

If you disable this module you will not be able to enable it
again, or any other module, unless you enabled another system
administration module in its place at the same time.

Administration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The following tools are provided by the system administration
module on page "?act=admin&open=system":

 * Documentation
   A link to the Nailblog readme file.
 * Title
   Change the site title (text only)
 * Header
   Change the site header (html)
 * Footer
   Change the site footer (html)
 * Template
   Change the default template for the site.
 * Debug mode
   Turn debug mode on/off. When on, the system will provide
   verbose output about system messages on the pages visited.
 * Modules
   Enable or disable modules. "reset" erases module data, "move"
   moves the module up or down in the list (modules are parsed
   in that order) and "info" links to readme files like this.
 * Save changes
   Saves the changes done to disk (on the server).
 * Reset system
   Clears all data from the data folder leaving you with a blank
   system (be careful with this one).

PHP functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * system_admin()
   Called on page "?act=admin". Provides the administration
   tools.
 * system_save()
   Called on page "?act=system_save". Saves new system data to
   disk.
 * system_reset()
   Called on page "?act=system_reset". Asks if you are sure and
   then deletes all data from the data directory.
 * system_resetmodule()
   Called on page "?act=system_resetmodule". Asks if you are
   sure and then deletes the system folder in the data
   directory.
 * system_move()
   Called on page "?act=system_move". Provides a list of
   available locations to move a module to and moves the module
   after a location is selected.

PHP variables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * $mod_system
   Defaults to true. Tells the Nailblog that a system
   administration module is enabled.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

