2011-09-15 00:26:01 +04:00
|
|
|
<table width="100%">
|
|
|
|
<tr>
|
|
|
|
<th width="75px"><?php echo $l->t("Title");?>:</th>
|
|
|
|
<td>
|
|
|
|
<input type="text" style="width:350px;" size="100" placeholder="<?php echo $l->t("Title of the Event");?>" maxlength="100" id="newevent_title"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th width="75px"><?php echo $l->t("Location");?>:</th>
|
|
|
|
<td>
|
|
|
|
<input type="text" style="width:350px;" size="100" placeholder="<?php echo $l->t("Location of the Event");?>" maxlength="100" id="newevent_location" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th width="75px"><?php echo $l->t("Category");?>:</th>
|
|
|
|
<td>
|
2011-09-15 01:29:35 +04:00
|
|
|
<select class="formselect" id="formcategorie_select" style="width:140px;">
|
|
|
|
<?php
|
|
|
|
foreach($_['categories'] as $category){
|
|
|
|
echo '<option value="' . $category . '">' . $category . '</option>';
|
|
|
|
}
|
|
|
|
?>
|
2011-09-15 00:26:01 +04:00
|
|
|
</select></td>
|
|
|
|
<th width="75px"> <?php echo $l->t("Calendar");?>:</th>
|
|
|
|
<td>
|
|
|
|
<select class="formselect" id="formcalendar_select" style="width:140px;" id="newevent_cal">
|
|
|
|
<?php
|
2011-09-15 01:29:35 +04:00
|
|
|
foreach($_['calendars'] as $calendar){
|
|
|
|
echo '<option id="option_' . $calendar['id'] . '">' . $calendar['displayname'] . '</option>';
|
2011-09-15 00:26:01 +04:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th width="75px"></th>
|
|
|
|
<td>
|
2011-09-15 01:29:35 +04:00
|
|
|
<input onclick="lock_time();" type="checkbox"<?php if($_['allday']){echo 'checked="checked"';} ?> id="newcalendar_allday_checkbox">
|
|
|
|
<?php if($_['allday']){echo '<script type="text/javascript">document.getElementById("fromtime").disabled = true;document.getElementById("totime").disabled = true;document.getElementById("fromtime").style.color = "#A9A9A9";document.getElementById("totime").style.color = "#A9A9A9";</script>';}?>
|
2011-09-15 00:26:01 +04:00
|
|
|
<label for="newcalendar_allday_checkbox"><?php echo $l->t("All Day Event");?></label></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th width="75px"><?php echo $l->t("From");?>:</th>
|
|
|
|
<td>
|
2011-09-15 01:29:35 +04:00
|
|
|
<input type="text" value="<?php echo $_['startdate'];?>" id="from">
|
2011-09-15 00:26:01 +04:00
|
|
|
|
2011-09-15 01:29:35 +04:00
|
|
|
<input type="time" value="<?php echo $_['starttime'];?>" id="fromtime">
|
2011-09-15 00:26:01 +04:00
|
|
|
</td><!--use jquery-->
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th width="75px"><?php echo $l->t("To");?>:</th>
|
|
|
|
<td>
|
2011-09-15 01:29:35 +04:00
|
|
|
<input type="text" value="<?php echo $_['enddate'];?>" id="to">
|
2011-09-15 00:26:01 +04:00
|
|
|
|
2011-09-15 01:29:35 +04:00
|
|
|
<input type="time" value="<?php echo $_['endtime'];?>" id="totime">
|
2011-09-15 00:26:01 +04:00
|
|
|
</td><!--use jquery-->
|
|
|
|
</tr><!--
|
|
|
|
<tr>
|
|
|
|
<th width="75px"><?php echo $l->t("Repeat");?>:</th>
|
|
|
|
<td>
|
|
|
|
<select class="formselect" id="formrepeat_select" style="width:350px;">
|
2011-09-15 01:29:35 +04:00
|
|
|
<?php
|
|
|
|
foreach($_['repeat_options'] as $id => $label){
|
|
|
|
echo '<option id="repeat_' . $id . '">' . $label . '</option>';
|
|
|
|
}
|
|
|
|
?>
|
2011-09-15 00:26:01 +04:00
|
|
|
</select></td>
|
|
|
|
</tr>-->
|
|
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
<table><!--
|
|
|
|
<tr>
|
|
|
|
<th width="75px"><?php echo $l->t("Attendees");?>:</th>
|
|
|
|
<td style="height: 50px;"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<hr>-->
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th width="75px" style="vertical-align: top;"><?php echo $l->t("Description");?>:</th>
|
|
|
|
<td><textarea style="width:350px;height: 150px;"placeholder="<?php echo $l->t("Description of the Event");?>" id="description"></textarea></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|