From 58b36ec45f54a50854324298c608984376882921 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 20 Aug 2009 13:14:35 +0000 Subject: [PATCH] MDL-19793 Upgraded calls to link_to_popup_window() --- calendar/event_edit.html | 10 +++++----- calendar/event_new.html | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/calendar/event_edit.html b/calendar/event_edit.html index bc5da929d9..2abf510e3b 100644 --- a/calendar/event_edit.html +++ b/calendar/event_edit.html @@ -21,7 +21,7 @@ $endselectors = html_select::make_time_selectors(array( - + error_text($err['name']); ?> @@ -31,7 +31,7 @@ $endselectors = html_select::make_time_selectors(array( description); - if (isset($err['description'])) formerr($err['description']); + if (isset($err['description'])) echo $OUTPUT->error_text($err['description']); ?> @@ -41,7 +41,7 @@ $endselectors = html_select::make_time_selectors(array( select($startselectors[0]) . $OUTPUT->select($startselectors[1]) . $OUTPUT->select($startselectors[2]);?> select($startselectors[3]) . $OUTPUT->select($startselectors[4]);?> - + error_text($err['timestart']); ?> @@ -63,13 +63,13 @@ $endselectors = html_select::make_time_selectors(array( select($endselectors[0]) . $OUTPUT->select($endselectors[1]) . $OUTPUT->select($endselectors[2]);?> select($endselectors[3]) . $OUTPUT->select($endselectors[4]);?> - + error_text($err['timeduration']); ?>
duration == 2) echo 'checked="checked"'; ?>/> - + error_text($err['minutes']); ?>
diff --git a/calendar/event_new.html b/calendar/event_new.html index b6c6ad9943..9309e31d2e 100644 --- a/calendar/event_new.html +++ b/calendar/event_new.html @@ -23,7 +23,7 @@ - + error_text($err['name']); ?> @@ -33,7 +33,7 @@ description); - if (isset($err['description'])) formerr($err['description']); + if (isset($err['description'])) echo $OUTPUT->error_text($err['description']); ?> @@ -45,7 +45,7 @@ select($startselectors[0]) . $OUTPUT->select($startselectors[1]) . $OUTPUT->select($startselectors[2]);?> select($startselectors[3]) . $OUTPUT->select($startselectors[4]);?> - + error_text($err['timestart']); ?> @@ -63,13 +63,13 @@ select($endselectors[0]) . $OUTPUT->select($endselectors[1]) . $OUTPUT->select($endselectors[2]);?> select($endselectors[3]) . $OUTPUT->select($endselectors[4]);?> - + error_text($err['timeduration']); ?>
duration == 2) echo 'checked="checked"'; ?>/> - + error_text($err['minutes']); ?>
@@ -93,7 +93,7 @@ - + error_text($err['repeats']); ?> -- 2.39.5