diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-07-17 16:16:47 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-07-17 16:16:47 +0000 |
commit | 23ba56ecf884bcb2f6f92d90e72b622f33635f2b (patch) | |
tree | 0cd724e7421fdaa22576dcf8d1b0592e98a6688b /packages/dspam/pkg/dspam-guifunc.inc | |
parent | 1c15ea40270651d8b274682e6967fe77d35f032b (diff) | |
download | pfsense-packages-23ba56ecf884bcb2f6f92d90e72b622f33635f2b.tar.gz pfsense-packages-23ba56ecf884bcb2f6f92d90e72b622f33635f2b.tar.bz2 pfsense-packages-23ba56ecf884bcb2f6f92d90e72b622f33635f2b.zip |
- split the 4000 lines dspam.inc into several chunks for better maintainability
Diffstat (limited to 'packages/dspam/pkg/dspam-guifunc.inc')
-rw-r--r-- | packages/dspam/pkg/dspam-guifunc.inc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/packages/dspam/pkg/dspam-guifunc.inc b/packages/dspam/pkg/dspam-guifunc.inc index b8ea9808..5de9f3cb 100644 --- a/packages/dspam/pkg/dspam-guifunc.inc +++ b/packages/dspam/pkg/dspam-guifunc.inc @@ -5,32 +5,6 @@ require_once("functions.inc"); require_once("dspam.inc"); /* ========================================================================== */ -/* = A D M I N R E L A T E D F U N C T I O N C A L L S = */ -/* ========================================================================== */ - - /* Status */ - else if (basename($_SERVER['SCRIPT_NAME']) == "dspam-admin.php" && $CONFIG['ADMIN']) { - $displays_errors =& DisplayStatus(); - $input_errors = array_merge($input_errors, $displays_errors); - } - - /* User Statistics */ - else if (basename($_SERVER['SCRIPT_NAME']) == "dspam-admin-stats.php" && $CONFIG['ADMIN']) { - $displayus_errors =& DisplayUserStatistics(); - $input_errors = array_merge($input_errors, $displayus_errors); - } - - /* Preferences */ - else if (basename($_SERVER['SCRIPT_NAME']) == "dspam-admin-prefs.php" && $CONFIG['ADMIN']) { - $savemsg = ""; - $displayap_errors =& DisplayAdminPreferences($savemsg); - $input_errors = array_merge($input_errors, $displayap_errors); - } -} else { - $input_errors[] = "The page you did request can't be processed by <code>dspam.inc</code>."; -} - -/* ========================================================================== */ /* = A D M I N S T A T U S F U N C T I O N S = */ /* ========================================================================== */ |