Added a colon here, instead of the language strings.

This commit is contained in:
defacer 2004-05-12 12:39:59 +00:00
parent a600911257
commit bc1728752a

View File

@ -1 +1 @@
<form method="post" action="event.php" name="edit"> <table cellpadding=5> <tr> <td style="vertical-align: top; text-align: right;"> <?php print_string('eventname', 'calendar'); ?>: </td> <td> <input type="text" name="name" size="67" value="<?php p($form->name); ?>" /> <?php if (isset($err['name'])) formerr($err['name']); ?> </td> </tr> <tr> <td style="vertical-align: top; text-align: right;"> <?php print_string('eventdescription', 'calendar'); ?>: </td> <td> <?php print_textarea($usehtmleditor, 10, 65, 630, 400, "description", $form->description); if (isset($err['description'])) formerr($err['description']); ?> </td> </tr> <tr> <td style="vertical-align: top; text-align: right;"><?php print_string('eventdate', 'calendar'); ?>:</td> <td> <?php print_date_selector('startday', 'startmon', 'startyr', $form->timestart);?> <?php print_string('eventtime', 'calendar');?> <?php print_time_selector('starthr', 'startmin', $form->timestart) ?> <?php if (isset($err['timestart'])) formerr($err['timestart']); ?> </td> </tr> <tr> <td style="vertical-align: top; text-align: right;"> <?php print_string('eventduration', 'calendar'); ?>: </td> <td> <div> <input type="radio" name="duration" value="0" id="duration_none" <?php if($form->duration == 0) echo 'checked="checked"'; ?>/> <label for="duration_none"> <?php print_string('durationnone', 'calendar'); ?> </label> </div> <div> <input type="radio" name="duration" value="1" id="duration_yes" <?php if($form->duration == 1) echo 'checked="checked"'; ?>/> <label for="duration_yes"> <?php print_string('durationuntil', 'calendar'); ?> </label> <?php print_date_selector('endday', 'endmon', 'endyr', $form->timestart + $form->timeduration);?> <?php print_string('eventtime', 'calendar');?> <?php print_time_selector('endhr', 'endmin', $form->timestart + $form->timeduration) ?> <?php if (isset($err['timeduration'])) formerr($err['timeduration']); ?> </div> <div> <input type="radio" name="duration" value="2" id="duration_minutes" <?php if($form->duration == 2) echo 'checked="checked"'; ?>/> <label for="duration_minutes"><?php print_string('durationminutes', 'calendar'); ?></label> <input type="text" name="minutes" size="3" value="<?php p($form->minutes); ?>" /> <?php if (isset($err['minutes'])) formerr($err['minutes']); ?> </div> </td> </tr> <tr> <td align="center" colspan="2"><p><input type="submit" value="<?php print_string('savechanges') ?>"></p></td> </tr> </table> <p> <input type="hidden" name="id" value="<?php echo $form->id; ?>" /> <input type="hidden" name="courseid" value="<?php echo $form->courseid; ?>" /> <input type="hidden" name="format" value="<?php echo $form->format; ?>" /> <input type="hidden" name="action" value="edit" /> </p> </form>
<form method="post" action="event.php" name="edit"> <table cellpadding=5> <tr> <td style="vertical-align: top; text-align: right;"> <?php print_string('eventname', 'calendar'); ?>: </td> <td> <input type="text" name="name" size="67" value="<?php p($form->name); ?>" /> <?php if (isset($err['name'])) formerr($err['name']); ?> </td> </tr> <tr> <td style="vertical-align: top; text-align: right;"> <?php print_string('eventdescription', 'calendar'); ?>: </td> <td> <?php print_textarea($usehtmleditor, 10, 65, 630, 400, "description", $form->description); if (isset($err['description'])) formerr($err['description']); ?> </td> </tr> <tr> <td style="vertical-align: top; text-align: right;"><?php print_string('eventdate', 'calendar'); ?>:</td> <td> <?php print_date_selector('startday', 'startmon', 'startyr', $form->timestart);?> <?php print_string('eventtime', 'calendar');?> <?php print_time_selector('starthr', 'startmin', $form->timestart) ?> <?php if (isset($err['timestart'])) formerr($err['timestart']); ?> </td> </tr> <tr> <td style="vertical-align: top; text-align: right;"> <?php print_string('eventduration', 'calendar'); ?>: </td> <td> <div> <input type="radio" name="duration" value="0" id="duration_none" <?php if($form->duration == 0) echo 'checked="checked"'; ?>/> <label for="duration_none"> <?php print_string('durationnone', 'calendar'); ?> </label> </div> <div> <input type="radio" name="duration" value="1" id="duration_yes" <?php if($form->duration == 1) echo 'checked="checked"'; ?>/> <label for="duration_yes"> <?php print_string('durationuntil', 'calendar'); ?> </label> <?php print_date_selector('endday', 'endmon', 'endyr', $form->timestart + $form->timeduration);?> <?php print_string('eventtime', 'calendar');?> <?php print_time_selector('endhr', 'endmin', $form->timestart + $form->timeduration) ?> <?php if (isset($err['timeduration'])) formerr($err['timeduration']); ?> </div> <div> <input type="radio" name="duration" value="2" id="duration_minutes" <?php if($form->duration == 2) echo 'checked="checked"'; ?>/> <label for="duration_minutes"><?php print_string('durationminutes', 'calendar'); ?>:</label> <input type="text" name="minutes" size="3" value="<?php p($form->minutes); ?>" /> <?php if (isset($err['minutes'])) formerr($err['minutes']); ?> </div> </td> </tr> <tr> <td align="center" colspan="2"><p><input type="submit" value="<?php print_string('savechanges') ?>"></p></td> </tr> </table> <p> <input type="hidden" name="id" value="<?php echo $form->id; ?>" /> <input type="hidden" name="courseid" value="<?php echo $form->courseid; ?>" /> <input type="hidden" name="format" value="<?php echo $form->format; ?>" /> <input type="hidden" name="action" value="edit" /> </p> </form>