Welcome to mirror list, hosted at ThFree Co, Russian Federation.

part.addtaskform.php « templates « tasks « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0fad5592aa7207934ad5ae9a2267bb0e2f362c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<form id="tasks_addtaskform">
	<?php if(count($_['calendars'])==1): ?>
		<input type="hidden" name="id" value="<?php echo $_['calendars'][0]['id']; ?>">
	<?php else: ?>
		<label for="id"><?php echo $l->t('Calendar'); ?></label>
		<select name="id" size="1">
			<?php foreach($_['calendars'] as $calendar): ?>
				<option value="<?php echo $calendar['id']; ?>"><?php echo $calendar['displayname']; ?></option>
			<?php endforeach; ?>
		</select>
		<br>
	<?php endif; ?>
	<?php echo $this->inc('part.taskform'); ?>
	<input type="submit" name="submit" value="<?php echo $l->t('Create Task'); ?>">
</form>