First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
require_once("include/globals.php");
|
||||
|
||||
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
||||
header("Location: /");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
// Ensure that only admin users have access to this module
|
||||
$AllowedUserTypes = array('SuperUser','System Administrator','Communications Administrator');
|
||||
if (checkPermission($AllowedUserTypes) != 1) {
|
||||
echo("<br>\n");
|
||||
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
|
||||
include "form.messages.php";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Process requests to send emails to contacts
|
||||
//
|
||||
switch ($naction) {
|
||||
case "confirm":
|
||||
include "email-contacts-confirm.php";
|
||||
break;
|
||||
|
||||
case "send":
|
||||
include "email-batch-post.php";
|
||||
break;
|
||||
|
||||
default:
|
||||
include "email-contacts-form.php";
|
||||
break;
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user