projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix condition to build submodules.
[platal.git]
/
include
/
ical.inc.php
diff --git
a/include/ical.inc.php
b/include/ical.inc.php
index
0344182
..
6450c4f
100644
(file)
--- a/
include/ical.inc.php
+++ b/
include/ical.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
7
Polytechnique.org *
+ * Copyright (C) 2003-200
9
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-27,9
+27,7
@@
function display_ical($param) {
$txt .= ';'.$param['param'];
if (isset($param['value'])) {
if ($txt) $txt .= ':';
$txt .= ';'.$param['param'];
if (isset($param['value'])) {
if ($txt) $txt .= ':';
- $txt .= utf8_encode(
- preg_replace('/[,;:]/', '\\\\$0',
- preg_replace("/(\r\n|\r|\n)/", '\n', $param['value'])));
+ $txt .= preg_replace('/[,;:]/', '\\\\$0', preg_replace("/(\r\n|\r|\n)/", '\n', $param['value']));
}
$length = strlen($txt);
$endline = "\n";
}
$length = strlen($txt);
$endline = "\n";
@@
-39,4
+37,5
@@
function display_ical($param) {
$folded_txt .= $endline.' '.substr($txt, $i, $maxchars - 1);
return $folded_txt;
}
$folded_txt .= $endline.' '.substr($txt, $i, $maxchars - 1);
return $folded_txt;
}
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>
?>