Difference between revisions of "Script Documentation"

From GGBN Wiki
Jump to: navigation, search
(List of all Configuration scripts)
(List of all Configuration scripts)
Line 20: Line 20:
 
| Errorreport.php || Error message for user || -- || all scripts with sql queries
 
| Errorreport.php || Error message for user || -- || all scripts with sql queries
 
|-  
 
|-  
| generalsettings.php || Defining general settings || for administrators and members of group "Management" only || --
+
| generalsettings.php || Defining general settings || for administrators and members of group "Management" only, recorded in xml-files || --
 
|-  
 
|-  
| head.php || Call function for connecting the database, call array_item || ? || all scripts)
+
| head.php || calling main functions || Call function for connecting the database, call array_item || all scripts)
 
|-  
 
|-  
| index.php || ? || -- || --
+
| index.php || redirection to configuration.php || -- || --
 
|-  
 
|-  
| new_user.php || Adding new user || ? || during "First steps" and in usermanagement.php
+
| new_user.php || Adding new user || -- || during "First steps" and in usermanagement.php
 
|-  
 
|-  
| settings.php || ? || ? || ?
+
| settings.php || Defining user settings || for all users, recorded in database || --
 
|-  
 
|-  
 
| start.inc.php || basic functions for all scripts || -- || head.php (and thereby in all scripts
 
| start.inc.php || basic functions for all scripts || -- || head.php (and thereby in all scripts

Revision as of 12:48, 28 October 2011

List of all scripts

Package "Configuration"

Connection to database, SMTP

The parameters for connecting the DNA database, logo path and smtp are recorded in xml files (see Package "load") and will be defined first during installation process (see "First steps").

List of all Configuration scripts

Script Name Description Remarks included in
change.php Change password -- --
ChangesAccepted.php Message for user after editing data successfully -- all scripts with editing functions
configuration.php Start page of package different style for different user groups/rights --
connection.php Frame script for editing database connection included script (edit/edit_connection.php) also used by "First steps" --
Errorreport.php Error message for user -- all scripts with sql queries
generalsettings.php Defining general settings for administrators and members of group "Management" only, recorded in xml-files --
head.php calling main functions Call function for connecting the database, call array_item all scripts)
index.php redirection to configuration.php -- --
new_user.php Adding new user -- during "First steps" and in usermanagement.php
settings.php Defining user settings for all users, recorded in database --
start.inc.php basic functions for all scripts -- head.php (and thereby in all scripts
usermanagement.php Editing, deleting and adding users and their rights -- --