projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd2d7a9
)
Don't set title, escape node text.
author
Jan Schneider
<jan@horde.org>
Tue, 16 Mar 2010 14:56:25 +0000
(15:56 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 16 Mar 2010 15:33:56 +0000
(16:33 +0100)
kronolith/lib/Block/tree_alarms.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Block/tree_alarms.php
b/kronolith/lib/Block/tree_alarms.php
index
d93ade4
..
2c7c508
100644
(file)
--- a/
kronolith/lib/Block/tree_alarms.php
+++ b/
kronolith/lib/Block/tree_alarms.php
@@
-33,12
+33,11
@@
class Horde_Block_kronolith_tree_alarms extends Horde_Block {
$alarmCount++;
$tree->addNode($parent . $calId . $event->id,
$parent,
-
$event->getTitle(
),
+
htmlspecialchars($event->getTitle(), ENT_COMPAT, Horde_Nls::getCharset()
),
$indent + 1,
false,
array('icon' => 'alarm.png',
'icondir' => (string)Horde_Themes::img(),
- 'title' => $event->getTooltip(),
'url' => $event->getViewUrl()));
}
}