aboutsummaryrefslogtreecommitdiffstats
path: root/config/archive/dspam/www/dspam-hfragment.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-01-25 05:20:28 -0500
committerChris Buechler <cmb@pfsense.org>2011-01-25 05:21:06 -0500
commit7af18d10dc23084ae8390241c2e9951d530248f7 (patch)
treebba85a3958c7c11a8ce0bc8d6b0addad3a24c2f1 /config/archive/dspam/www/dspam-hfragment.php
parentdc3d5f22067dd659e4e8bd407e0745f78769fc85 (diff)
downloadpfsense-packages-7af18d10dc23084ae8390241c2e9951d530248f7.tar.gz
pfsense-packages-7af18d10dc23084ae8390241c2e9951d530248f7.tar.bz2
pfsense-packages-7af18d10dc23084ae8390241c2e9951d530248f7.zip
archive some more dead packages
Diffstat (limited to 'config/archive/dspam/www/dspam-hfragment.php')
-rw-r--r--config/archive/dspam/www/dspam-hfragment.php90
1 files changed, 90 insertions, 0 deletions
diff --git a/config/archive/dspam/www/dspam-hfragment.php b/config/archive/dspam/www/dspam-hfragment.php
new file mode 100644
index 00000000..36152a00
--- /dev/null
+++ b/config/archive/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">&nbsp;</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