Fix getHtml para type

This commit is contained in:
Dennis Eichhorn 2019-04-27 18:29:24 +02:00
parent a0179eddda
commit 8dba220ec9
5 changed files with 5 additions and 5 deletions

View File

@ -25,6 +25,6 @@
</a> </a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($task->getTitle()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($task->getTitle()); ?></a>
<?php endforeach; if ($c == 0) : ?> <?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; ?> <?php endif; ?>
</table> </table>

View File

@ -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><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><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="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> </table>
</form> </form>
</div> </div>

View File

@ -50,7 +50,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><?= $this->getData('editor')->render('task-editor'); ?> <tr><td><?= $this->getData('editor')->render('task-editor'); ?>
<tr><td><?= $this->getData('editor')->getData('text')->render('task-editor', 'plain', 'fTask'); ?> <tr><td><?= $this->getData('editor')->getData('text')->render('task-editor', 'plain', 'fTask'); ?>
<tr><td> <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); ?>"> <input type="hidden" name="type" value="<?= $this->printHtml(TaskType::SINGLE); ?>">
</table> </table>
</form> </form>

View File

@ -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('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> <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) : ?> <?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; ?> <?php endif; ?>
</table> </table>
</div> </div>

View File

@ -178,7 +178,7 @@ echo $this->getData('nav')->render(); ?>
<input type="file" id="iUpload" name="fileUpload" form="fTask"> <input type="file" id="iUpload" name="fileUpload" form="fTask">
<input form="fTask" type="hidden" name="type"> <input form="fTask" type="hidden" name="type">
<tr><td> <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"> <input type="hidden" name="task" value="<?= $this->printHtml($this->request->getData('id')); ?>"><input type="hidden" name="type" value="1">
</table> </table>
</form> </form>