Initial Work on Calendar Event Repeat

This commit is contained in:
johnny@pittpc.com
2021-03-27 16:50:30 -04:00
parent 8b1e374148
commit a122f97b99
5 changed files with 41 additions and 5 deletions

View File

@@ -66,6 +66,22 @@
<input type="datetime-local" class="form-control" name="end" value="<?php echo date('Y-m-d\TH:i:s', strtotime($event_end)); ?>" required>
</div>
</div>
<div class="form-group">
<label>Repeat</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-recycle"></i></span>
</div>
<select class="form-control select2" name="repeat">
<option <?php if(empty($event_repeat)){ echo "selected"; } ?> value="">Never</option>
<option <?php if($event_repeat == "Day"){ echo "selected"; } ?>>Day</option>
<option <?php if($event_repeat == "Week"){ echo "selected"; } ?>>Week</option>
<option <?php if($event_repeat == "Month"){ echo "selected"; } ?>>Month</option>
<option <?php if($event_repeat == "Year"){ echo "selected"; } ?>>Year</option>
</select>
</div>
</div>
<?php if(isset($client_id)){ ?>
@@ -113,4 +129,4 @@
</form>
</div>
</div>
</div>
</div>