[Kolab-devel] server/kolab/kolab/admin/user vacation.php,1.6,1.7 by martin at doto.intevation.de

root at intevation.de root at intevation.de
Thu Jun 12 15:15:48 CEST 2003


Update of /kolabrepository/server/kolab/kolab/admin/user
In directory doto:/tmp/cvs-serv16994

Modified Files:
	vacation.php 
Log Message:
Martin Konold: Port from KOLAB_1_0 (fixes utf8 issue)


Index: vacation.php
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/admin/user/vacation.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- vacation.php	11 Jun 2003 11:19:18 -0000	1.6
+++ vacation.php	12 Jun 2003 13:15:46 -0000	1.7
@@ -97,7 +97,8 @@
 //          $newscript .= "\n# keep next two lines:\n# return date: ".$day."-".$month."-".$year."\n# notification interval: ".$vacnotify;
 	  $newscript .= "\nvacation :days ".$vacnotify;
 //	  $mesg = "\n\"Abwesenheitsnotiz bis zum ".$day.". ".$month." ".$year.".\n";
-	  $newscript .= " \"".$vacmsg."\";\n";
+          $vacmsg_utf8=utf8_encode($vacmsg);
+          $newscript .= " \"".$vacmsg_utf8."\";\n";
 //          print $day."-".$month."-".$year." - vacnotify:".$vacnotify."\n";
           upload_script ($newscript,$scriptname);
 	  





More information about the devel mailing list