Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (36 sloc) 1.686 kB
<?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") ;
?>
Jump to Line
Something went wrong with that request. Please try again.