Tweak
authorJan Schneider <jan@horde.org>
Wed, 9 Sep 2009 21:24:15 +0000 (23:24 +0200)
committerJan Schneider <jan@horde.org>
Wed, 9 Sep 2009 21:24:15 +0000 (23:24 +0200)
kronolith/templates/edit/edit.inc

index 712f961..2c532fe 100644 (file)
@@ -232,7 +232,7 @@ if ($event->alarm) {
 <tr>
  <td></td>
  <td colspan="4">
-  <?php echo Horde::link(Horde::applicationUrl('attendees.php'), '', 'button', '_blank', 'date = $F(\'start_year\') + (\'000\' + $F(\'start_month\')).slice(-2) + (\'000\' + $F(\'start_day\')).slice(-2); this.href += (this.href.indexOf(\'?\') == -1 ? \'?\' : \'&\') + \'date=\' + date;Horde.popup({ url: this.href });return false;') . _("Edit Attendees") . '</a>' ?>
+  <?php echo Horde::link(Horde::applicationUrl('attendees.php'), '', 'button', '_blank', 'date = (\'000\' + $F(\'start_year\')).slice(-4) + (\'0\' + $F(\'start_month\')).slice(-2) + (\'0\' + $F(\'start_day\')).slice(-2); this.href += (this.href.indexOf(\'?\') == -1 ? \'?\' : \'&\') + \'date=\' + date;Horde.popup({ url: this.href });return false;') . _("Edit Attendees") . '</a>' ?>
  </td>
 </tr>
 </tbody>