Xataface Email Module  0.3.2
Email/Mailmerge Module for Xataface
 All Data Structures Files Functions Variables Pages
dataface__email_blacklist.php
Go to the documentation of this file.
1 <?php
3  public function getPermissions($record){
4 
5  $dummy = new Dataface_Record('dataface__version', array());
6  if ( $dummy->checkPermission('email') ){
7  return array(
8  'view' => 1,
9  'list' => 1,
10  'find' => 1,
11  '__partial__' => 1,
12  'edit'=> 1,
13  'new' => 1,
14  'delete' => 1
15  );
16  } else {
17  return Dataface_PermissionsTool::NO_ACCESS();
18  }
19  }
20 
21  public function block__before_main_column(){
22  echo "<h1>Manage Email Black List</h1>";
23  echo "<div class=\"portalHelp\">This section allows you to manage the list of people who have opted out of your mailouts. Addresses on this black-list will automatically be filtered out when sending batch emails.</div>";
24  echo '<div>[<a href="'.DATAFACE_SITE_HREF.'?-action=email_manage">Back to Email Management</a>]</div>';
25  }
26 
27 }