mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
Integrating new editor draft
This commit is contained in:
parent
bedb367db6
commit
72422e5ea3
|
|
@ -166,6 +166,9 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
$accGrpSelector = new \Modules\Profile\Theme\Backend\Components\AccountGroupSelector\BaseView($this->app, $request, $response);
|
||||
$view->addData('accGrpSelector', $accGrpSelector);
|
||||
|
||||
$editor = new \Modules\Editor\Theme\Backend\Components\Editor\BaseView($this->app, $request, $response);
|
||||
$view->addData('editor', $editor);
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td colspan="2"><label for="iTitle"><?= $this->getHtml('Title') ?></label>
|
||||
<tr><td><input type="text" id="iTitle" name="title" placeholder=" <?= $this->getHtml('Title') ?>" required><td>
|
||||
<tr><td colspan="2"><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
||||
<tr><td><?php //include __DIR__ . '/../../../Editor/Theme/Backend/inline-editor-tools.tpl.php'; ?>
|
||||
<tr><td><textarea id="iMessage" name="description" placeholder="" required></textarea><td>
|
||||
<tr><td><?= $this->getData('editor')->render('editor-tools'); ?>
|
||||
<tr><td><?= $this->getData('editor')->getData('text')->render('editor-text'); ?>
|
||||
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>"><input type="hidden" name="type" value="<?= htmlspecialchars(\Modules\Tasks\Models\TaskType::SINGLE, ENT_COMPAT, 'utf-8'); ?>">
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user