Changeset 179
- Timestamp:
- 09/08/07 17:34:36 (16 months ago)
- Location:
- trunk
- Files:
-
- 4 modified
-
ChangeLog (modified) (1 diff)
-
includes/config.inc.default.php (modified) (1 diff)
-
includes/func.inc.php (modified) (4 diffs)
-
templates/structure.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r178 r179 10 10 o Added: lang selection per user/sadmin 11 11 o Added: md5sum of .mailfiter will be saved to database 12 o Added: cpves version string to structure.tpl 12 13 o Improved: removed reload to domain show on save emailaddress 14 o Improved: vacation magic quotes 13 15 o Fixed: autoresponder.pl. UTF-8 problems in body 14 16 CpVES 0.05 2007-08-31 - Jonas Genannt - <jonas.genannt@brachium-system.net> -
trunk/includes/config.inc.default.php
r171 r179 77 77 "autoresponder_disable","autoresponder_recipient", 78 78 "autoresponder_send", "email_options","fetchmail", 79 "mailarchive","mailfilter","spamassassin","spamassassin_learn" );80 79 "mailarchive","mailfilter","spamassassin","spamassassin_learn","autoresponder_xheader"); 80 $config['cpves_version']="0.06-SVN"; 81 81 require_once(ROOT . '/includes/func.inc.php'); 82 82 ?> -
trunk/includes/func.inc.php
r177 r179 23 23 $smarty->assign('mailgraph_link',$config['mailgraph_link']); 24 24 $smarty->assign('display_mb_size',$config['display_mb_size']); 25 $smarty->assign('cpves_version', $config['cpves_version']); 25 26 /* 26 27 mailfilter prios: … … 800 801 $db->escapeSimple($uid)); 801 802 $result=&$db->query($sql); 803 // strip fucking magic quotes if enabled 804 if (get_magic_quotes_gpc()) { 805 $esubject=stripslashes($esubject); 806 $msg=stripslashes($msg); 807 } 802 808 if ($result->numRows()==1) 803 809 { … … 812 818 $sql=sprintf("UPDATE autoresponder SET esubject='%s',msg='%s',active='%s',times='%s' WHERE id='%d' AND email='%d'", 813 819 $db->escapeSimple($esubject), 814 $ msg,820 $db->escapeSimple($msg), 815 821 $db->escapeSimple($active), 816 822 $db->escapeSimple($send_times), … … 823 829 $sql=sprintf("INSERT INTO autoresponder SET esubject='%s',msg='%s',active='%s',email='%d',times='%s'", 824 830 $db->escapeSimple($esubject), 825 $ msg,831 $db->escapeSimple($msg), 826 832 $db->escapeSimple($active), 827 833 $db->escapeSimple($uid), -
trunk/templates/structure.tpl
r152 r179 20 20 </head> 21 21 <body {include file="focus_input.tpl"}> 22 <!-- 23 ################################################################################# 24 CpVES Version: {$cpves_version} 25 ################################################################################# 26 27 ################################################################################# 28 # Copyright (C) 2006-2007 Jonas Genannt <jonas.genannt@brachium-system.net> 29 # 30 # This program is free software; you can redistribute it and/or 31 # modify it under the terms of the GNU General Public License 32 # as published by the Free Software Foundation; either version 2 33 # of the License, or (at your option) any later version. 34 # 35 # This program is distributed in the hope that it will be useful, 36 # but WITHOUT ANY WARRANTY; without even the implied warranty of 37 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 38 # GNU General Public License for more details. 39 # 40 # You should have received a copy of the GNU General Public License 41 # along with this program; if not, write to the Free Software 42 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 43 ################################################################################# 44 --> 22 45 {if $error_msg == 'y' && $if_logout != 'y'} 23 46 <div style="background-color:#EF9398;border:1px solid#DC5757;float:right;width:450px;text-align:left;">
