-
Notifications
You must be signed in to change notification settings - Fork 8
/
adminemailtemplates.php
43 lines (36 loc) · 1.65 KB
/
adminemailtemplates.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
// Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
/**
* Template web pages
*/
include_once("config.php");
$pageTitle ="Content Administration - Email templates";
$helptext = "Click on the update, delete or add links to manage emails templates.";
$previousur = "./index.php";
$adminhome = "admin.php";
$reloadurl = "adminemailtemplates.php";
$helpurl = "docs/mailingtools/";
$bpreviousurl = true ;
$badminhome = true;
$breloadurl = true;
$bhelpurl = true;
include("includes/adminheader.inc.php");
if ($_SESSION['iscontentadmin']) {
$do_emailtemplate = new DataObject($GLOBALS['conx'], "emailtemplate");
$fields = new Registry($GLOBALS['conx'], "emailtemplate");
$fields->bodyhtml->hidden = 1;
$fields->bodytext->hidden = 1;
$fields->senderemail->hidden = 1;
$fields->sendername->hidden = 1;
$fields->internal->hidden = 1;
$fields->idemailtemplate->label = "id";
$do_emailtemplate->setRegistry($fields);
$do_emailtemplate->prepareView(Array("formpage"=>"adminformrecordedit.php"));
$do_emailtemplate->view();
// $r_emailtemplates = new Report($conx, "mailingtools.ListEmailTemplates") ;
// $r_emailtemplates->execute() ;
}
include("includes/adminfooter.inc.php") ;
?>