Use Horde_String.
authorJan Schneider <jan@horde.org>
Thu, 11 Nov 2010 16:50:30 +0000 (17:50 +0100)
committerJan Schneider <jan@horde.org>
Thu, 11 Nov 2010 20:23:59 +0000 (21:23 +0100)
kronolith/templates/agenda/notification.plain.php

index 3970e56..0208ea1 100644 (file)
@@ -3,9 +3,9 @@
 
 <?php foreach ($this->events as $event): ?>
 <?php if ($event->isAllDay()): ?>
-<?php echo str_pad(_("All day") . ':', $this->pad) . $event->title ?>
+<?php echo Horde_String::pad(_("All day") . ':', $this->pad) . $event->title ?>
 <?php else: ?>
-<?php echo str_pad($event->start->format($this->timeformat) . ':', $this->pad) . $event->title ?>
+<?php echo Horde_String::pad($event->start->format($this->timeformat) . ':', $this->pad) . $event->title ?>
 <?php endif ?>
 
 <?php endforeach ?>