started with template fixes

This commit is contained in:
Dennis Eichhorn 2024-03-29 15:26:00 +00:00
parent 7034dba22a
commit 0e3196c89b
3 changed files with 10 additions and 10 deletions

View File

@ -32,7 +32,7 @@ echo $this->data['nav']->render(); ?>
<div class="row">
<div class="col-xs-12 col-md-6">
<div class="portlet">
<form id="iGeneralSettings" action="<?= UriFactory::build('{/api}admin/settings/module?id={?id}'); ?>" method="post">
<form id="iGeneralSettings" action="<?= UriFactory::build('{/api}admin/settings/module?id={?id}&csrf={$CSRF}'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Settings'); ?></div>
<div class="portlet-body">
<div class="form-group">
@ -44,32 +44,32 @@ echo $this->data['nav']->render(); ?>
<div class="form-group">
<label for="iLogPath"><?= $this->getHtml('Email'); ?></label>
<input id="iLogPath" name="settings_1000000007" type="email" value="" placeholder="">
<input id="iLogPath" name="settings_1000000007" type="email" value="">
</div>
<div class="form-group">
<label for="iLogPath"><?= $this->getHtml('MailServer'); ?></label>
<input id="iLogPath" name="settings_1000000007" type="email" value="" placeholder="">
<input id="iLogPath" name="settings_1000000007" type="email" value="">
</div>
<div class="form-group">
<label for="iLogPath"><?= $this->getHtml('MailPort'); ?></label>
<input id="iLogPath" name="settings_1000000007" type="email" value="" placeholder="">
<input id="iLogPath" name="settings_1000000007" type="email" value="">
</div>
<div class="form-group">
<label for="iLogPath"><?= $this->getHtml('MailUser'); ?></label>
<input id="iLogPath" name="settings_1000000007" type="email" value="" placeholder="">
<input id="iLogPath" name="settings_1000000007" type="email" value="">
</div>
<div class="form-group">
<label for="iLogPath"><?= $this->getHtml('MailPassword'); ?></label>
<input id="iLogPath" name="settings_1000000007" type="email" value="" placeholder="">
<input id="iLogPath" name="settings_1000000007" type="email" value="">
</div>
<div class="form-group">
<label for="iLogPath"><?= $this->getHtml('MailEncryption'); ?></label>
<input id="iLogPath" name="settings_1000000007" type="email" value="" placeholder="">
<input id="iLogPath" name="settings_1000000007" type="email" value="">
</div>
</div>
<div class="portlet-foot">

View File

@ -328,7 +328,7 @@ echo $this->data['nav']->render(); ?>
'plain',
'taskElementCreate',
'', '',
'/content', '{/api}task?id={?id}'
'/content', '{/api}task?id={?id}&csrf={$CSRF}'
); ?>
</div>
@ -385,7 +385,7 @@ echo $this->data['nav']->render(); ?>
<div class="form-group">
<label for="iMedia"><?= $this->getHtml('Media'); ?></label>
<div class="ipt-wrap wf-100">
<div class="ipt-first"><input type="text" id="iMedia" placeholder="File"></div>
<div class="ipt-first"><input type="text" id="iMedia"></div>
<div class="ipt-second"><button><?= $this->getHtml('Select'); ?></button></div>
</div>
</div>

View File

@ -20,7 +20,7 @@ echo $this->data['nav']->render(); ?>
<div class="row">
<div class="col-xs-6">
<section class="portlet">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/template'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/template?csrf={$CSRF}'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Ticket'); ?></div>
<div class="portlet-body">
<div class="form-group">