Difference between revisions of "Script Documentation"

From GGBN Wiki
Jump to: navigation, search
(Connection to database)
Line 5: Line 5:
 
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").
 
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").
  
 +
==Package Configuration==
 
{|
 
{|
 
|-
 
|-
Line 17: Line 18:
 
| head.php || Call function for connecting the database, call array_item || ? || all scripts
 
| head.php || Call function for connecting the database, call array_item || ? || all scripts
 
|-  
 
|-  
| mappingdnadata.php || '''Die gibts noch nicht!''' || ? || ?
+
| new_user.php || Adding new user || ? || during "First steps" and in usermanagement.php
|-
 
| mappingspecimendata.php || ? || ? || ?
 
|-
 
| new_user.php || ? || ? || ?
 
 
|-  
 
|-  
 
| settings.php || ? || ? || ?
 
| settings.php || ? || ? || ?
 
|-  
 
|-  
| start.inc.php || basic functions, '''Email-Empfänger bei Störung noch ändern!''' || -- || head.php
+
| start.inc.php || basic functions for all scripts || -- || head.php (and thereby in all scripts
 
|-  
 
|-  
| usermanagement.php || Editing and adding users and their rights || --
+
| usermanagement.php || Editing, deleting and adding users and their rights || --
 
|}
 
|}
 
[[Category:DNA_Module]]
 
[[Category:DNA_Module]]

Revision as of 10:58, 28 October 2011

List of all scripts

Package "config"

Connection to database

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").

Package Configuration

Script Name Description Remarks included in
configuration.php Package main menu -- --
connection.php Edit Database connection same script (edit_connection.php) also used by "First steps" --
Errorreport.php Error message for user -- all scripts with sql queries
head.php Call function for connecting the database, call array_item  ? all scripts
new_user.php Adding new user  ? during "First steps" and in usermanagement.php
settings.php  ?  ?  ?
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 --