~sit-developers/sit/master

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
<?php
// template_new.php - Form for adding new templates
//
// SiT (Support Incident Tracker) - Support call tracking system
// Copyright (C) 2000-2009 Salford Software Ltd. and Contributors
//
// This software may be used and distributed according to the terms
// of the GNU General Public License, incorporated herein by reference.
//

require ('core.php');
$permission = PERM_TEMPLATE_ADD; // Add Email Template
require (APPLICATION_LIBPATH . 'functions.inc.php');
// This page requires authentication
require (APPLICATION_LIBPATH . 'auth.inc.php');

$title = $strNewTemplate;

include (APPLICATION_INCPATH . 'htmlheader.inc.php');

echo "<h2>".icon('new', 32)." {$strNewTemplate}</h2>";

echo "<form action='templates.php?action=new' method='post'>";
echo "<p align='center'><label>{$strTemplate}: ";
echo "<select name='template'>";
echo "<option value='email'>{$strEmail}</option>";
echo "<option value='notice'>{$strNotice}</option>";
echo "</select></label><br /><br />";
echo "<label>{$strName}: <input name='name' /></label>";
echo "<br /><br /><input type='submit' value='{$strNew}' />";
echo "</p>";
echo "</form>";

include (APPLICATION_INCPATH . 'htmlfooter.inc.php');

?>