diff options
author | Bill Marquette <bill.marquette@gmail.com> | 2009-02-06 19:18:00 -0600 |
---|---|---|
committer | Bill Marquette <bill.marquette@gmail.com> | 2009-02-06 19:18:00 -0600 |
commit | 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 (patch) | |
tree | ba4783bab1dd65f1ceef2dfac9fdbd515531d18b /config/dspam/www/dspam-hfragment.php | |
parent | 67780cc9d469288742aea5bc378c29a54edd5ec5 (diff) | |
download | pfsense-packages-55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1.tar.gz pfsense-packages-55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1.tar.bz2 pfsense-packages-55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1.zip |
mv packages to config dir to match web layout
Diffstat (limited to 'config/dspam/www/dspam-hfragment.php')
-rw-r--r-- | config/dspam/www/dspam-hfragment.php | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/config/dspam/www/dspam-hfragment.php b/config/dspam/www/dspam-hfragment.php new file mode 100644 index 00000000..36152a00 --- /dev/null +++ b/config/dspam/www/dspam-hfragment.php @@ -0,0 +1,90 @@ +<?php +/* $Id$ */ +/* + dspam-train.php + + Copyright (C) 2006 Daniel S. Haischt. + All rights reserved. +*/ + +$pgtitle = array(gettext("Services"), + gettext("DSPAM"), + gettext("History"), + gettext("Fragement")); + +require("guiconfig.inc"); +include("/usr/local/pkg/dspam.inc"); + +/* if this is an AJAX caller then handle via JSON */ +if(isAjax() && is_array($input_errors)) { + input_errors2Ajax($input_errors); + exit; +} + +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + +include("head.inc"); +/* put your custom HTML head content here */ +/* using some of the $pfSenseHead function calls */ +echo $pfSenseHead->getHTML(); + +?> + +<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> +<?php include("fbegin.inc"); ?> +<?php if ($input_errors) print_input_errors($input_errors); ?> +<?php if ($savemsg) print_info_box($savemsg); ?> +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td> +<?php + $tab_array = array(); + $tab_array[] = array("Info", false, "/dspam.php?{$CURRENT_USER}"); + $tab_array[] = array("Performance", false, "/dspam-perf.php?user={$CURRENT_USER}"); + $tab_array[] = array("Preferences", false, "/dspam-prefs.php?user={$CURRENT_USER}"); + $tab_array[] = array("Alerts", false, "/pkg.php?xml=dspam_alerts.xml&user={$CURRENT_USER}"); + $tab_array[] = array("Quarantine ({$DATA['TOTAL_QUARANTINED_MESSAGES']})", false, "/dspam-quarantine.php?user={$CURRENT_USER}"); + $tab_array[] = array("Analysis", false, "/dspam-analysis.php?user={$CURRENT_USER}"); + $tab_array[] = array("History", true, "/dspam-history.php?user={$CURRENT_USER}"); + $tab_array[] = array("Train Filter", false, "/dspam-train.php?user={$CURRENT_USER}"); + if (isDSPAMAdmin($HTTP_SERVER_VARS['AUTH_USER'])) { + $tab_array[] = array("Admin Suite", false, "/dspam-admin.php?user={$CURRENT_USER}"); + } + display_top_tabs($tab_array); +?> + </td> + </tr> + <tr> + <td> + <div id="mainarea"> + <table class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0"> + <tr> + <td align="left" valign="top" class="list" width="10%"> + <br /> + <font color=white><big><?= $DATA['SUBJECT']; ?></big><br /> + <?= $DATA['FROM']; ?><br /> + <small><?= $DATA['TIME']; ?> (<?= $DATA['INFO']; ?>)</small></font><br /> + <br /> + </td> + </tr> + <tr> + <td class="list" height="12"> </td> + </tr> + <tr> + <td align="left" valign="middle" class="list"> + <pre> + <?= $DATA['MESSSAGE']; ?> + </pre> + </td> + </tr> + </table> + </div> + </td> + </tr> +</table> + +<?php include("fend.inc"); ?> +</body> +</html>
\ No newline at end of file |