mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-29 23:38:40 +00:00
Fix getHtml para type
This commit is contained in:
parent
a0179eddda
commit
8dba220ec9
|
|
@ -25,6 +25,6 @@
|
|||
</a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($task->getTitle()); ?></a>
|
||||
<?php endforeach; if ($c == 0) : ?>
|
||||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
|
|
@ -28,7 +28,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td><input type="datetime-local" id="iFrom" name="from" value="<?= $this->printHtml((new \DateTime('NOW'))->format('Y-m-d\TH:i:s')); ?>">
|
||||
<tr><td><label for="iTo"><?= $this->getHtml('To') ?></label>
|
||||
<tr><td><input type="datetime-local" id="iTo" name="to" value="<?= $this->printHtml((new \DateTime('NOW'))->format('Y-m-d\TH:i:s')); ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getHtml('Submit', 0, 0); ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getHtml('Submit', '0', '0'); ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td><?= $this->getData('editor')->render('task-editor'); ?>
|
||||
<tr><td><?= $this->getData('editor')->getData('text')->render('task-editor', 'plain', 'fTask'); ?>
|
||||
<tr><td>
|
||||
<input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>">
|
||||
<input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
<input type="hidden" name="type" value="<?= $this->printHtml(TaskType::SINGLE); ?>">
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td data-label="<?= $this->getHtml('Creator') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($task->getCreatedBy()->getName1()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Created') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($task->getCreatedAt()->format('Y-m-d H:i')); ?></a>
|
||||
<?php endforeach; if ($c == 0) : ?>
|
||||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<input type="file" id="iUpload" name="fileUpload" form="fTask">
|
||||
<input form="fTask" type="hidden" name="type">
|
||||
<tr><td>
|
||||
<input type="submit" id="iTaskElementCreateButton" name="taskElementCreateButton" value="<?= $this->getHtml('Create', 0, 0); ?>">
|
||||
<input type="submit" id="iTaskElementCreateButton" name="taskElementCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
<input type="hidden" name="task" value="<?= $this->printHtml($this->request->getData('id')); ?>"><input type="hidden" name="type" value="1">
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user