|
3 | 3 | class.msgtpl.php |
4 | 4 |
|
5 | 5 | |
6 | | - Copyright (c) 2006,2007,2008,2009 osTicket |
| 6 | + Copyright (c) 2006-2010 osTicket |
7 | 7 | http://www.osticket.com |
8 | 8 |
|
9 | 9 | Released under the GNU General Public License WITHOUT ANY WARRANTY. |
@@ -86,6 +86,8 @@ function update($var,&$errors){ |
86 | 86 | $fields['ticket_autoresp_body'] = array('type'=>'string', 'required'=>1, 'error'=>'Template message required'); |
87 | 87 | $fields['message_autoresp_subj'] = array('type'=>'string', 'required'=>1, 'error'=>'Subject required'); |
88 | 88 | $fields['message_autoresp_body'] = array('type'=>'string', 'required'=>1, 'error'=>'Template message required'); |
| 89 | + $fields['ticket_notice_subj'] = array('type'=>'string', 'required'=>1, 'error'=>'Subject required'); |
| 90 | + $fields['ticket_notice_body'] = array('type'=>'string', 'required'=>1, 'error'=>'Template message required'); |
89 | 91 | $fields['ticket_overlimit_subj'] = array('type'=>'string', 'required'=>1, 'error'=>'Subject required'); |
90 | 92 | $fields['ticket_overlimit_body'] = array('type'=>'string', 'required'=>1, 'error'=>'Template message required'); |
91 | 93 | $fields['ticket_reply_subj'] = array('type'=>'string', 'required'=>1, 'error'=>'Subject required'); |
@@ -122,6 +124,8 @@ function update($var,&$errors){ |
122 | 124 | ',ticket_autoresp_body='.db_input(Format::striptags($var['ticket_autoresp_body'])). |
123 | 125 | ',message_autoresp_subj='.db_input(Format::striptags($var['message_autoresp_subj'])). |
124 | 126 | ',message_autoresp_body='.db_input(Format::striptags($var['message_autoresp_body'])). |
| 127 | + ',ticket_notice_subj='.db_input(Format::striptags($var['ticket_notice_subj'])). |
| 128 | + ',ticket_notice_body='.db_input(Format::striptags($var['ticket_notice_body'])). |
125 | 129 | ',ticket_alert_subj='.db_input(Format::striptags($var['ticket_alert_subj'])). |
126 | 130 | ',ticket_alert_body='.db_input(Format::striptags($var['ticket_alert_body'])). |
127 | 131 | ',message_alert_subj='.db_input(Format::striptags($var['message_alert_subj'])). |
@@ -186,6 +190,8 @@ function create($var,&$errors){ |
186 | 190 | ',ticket_autoresp_body='.db_input(Format::striptags($info['ticket_autoresp_body'])). |
187 | 191 | ',message_autoresp_subj='.db_input(Format::striptags($info['message_autoresp_subj'])). |
188 | 192 | ',message_autoresp_body='.db_input(Format::striptags($info['message_autoresp_body'])). |
| 193 | + ',ticket_notice_subj='.db_input(Format::striptags($info['ticket_notice_subj'])). |
| 194 | + ',ticket_notice_body='.db_input(Format::striptags($info['ticket_notice_body'])). |
189 | 195 | ',ticket_alert_subj='.db_input(Format::striptags($info['ticket_alert_subj'])). |
190 | 196 | ',ticket_alert_body='.db_input(Format::striptags($info['ticket_alert_body'])). |
191 | 197 | ',message_alert_subj='.db_input(Format::striptags($info['message_alert_subj'])). |
|
0 commit comments