diff options
| author | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
|---|---|---|
| committer | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
| commit | b62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch) | |
| tree | 86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /sqlgrey/includes/opt_in_out.inc.php | |
Diffstat (limited to 'sqlgrey/includes/opt_in_out.inc.php')
| -rw-r--r-- | sqlgrey/includes/opt_in_out.inc.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sqlgrey/includes/opt_in_out.inc.php b/sqlgrey/includes/opt_in_out.inc.php new file mode 100644 index 0000000..236687f --- /dev/null +++ b/sqlgrey/includes/opt_in_out.inc.php @@ -0,0 +1,31 @@ +<?php + +/************************************** +SQLgrey Web Interface +Filename: opt_in_out.inc.php +Purpose: Opt in/out functions +Version: 1.1.6 +***************************************/ + + if ($_GET["direction"] == "out") { + $title = "Opt-out"; + $helptag_dir = "<br />(recipients for whom messages are never greylisted)"; + $table = "optout_"; + } else { + $title = "Opt-in"; + $helptag_dir = "<br />(recipients for whom messages are always greylisted unless they are in the "; + $table = "optin_"; + } + + if ($_GET["what"] == "domain") { + $title .= " domains"; + $helptag_what = "optout domain table)"; + $table .= "domain"; + $field = "domain"; + } else { + $title .= " e-mail addresses"; + $helptag_what = "optout e-mail table)"; + $table .= "email"; + $field = "email"; + } +?>
\ No newline at end of file |
