mode changes

This commit is contained in:
Dennis Eichhorn 2021-02-20 10:59:06 +01:00
parent afbf8ee9fa
commit 99d96a026f
12 changed files with 4 additions and 4 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
Admin/Routes/Web/Api.php Normal file → Executable file
View File

0
Docs/Dev/en/SUMMARY.md Normal file
View File

0
Docs/Dev/en/structure.md Normal file
View File

0
Models/WikiCategoryL11n.php Normal file → Executable file
View File

0
Models/WikiCategoryL11nMapper.php Normal file → Executable file
View File

0
Theme/Backend/Lang/de.lang.php Normal file → Executable file
View File

0
Theme/Backend/Lang/en.lang.php Normal file → Executable file
View File

View File

@ -29,7 +29,7 @@ echo $this->getData('nav')->render(); ?>
<div id="testEditor" class="m-editor">
<section class="portlet">
<div class="portlet-body">
<input id="iTitle" type="text" name="title" form="docForm" value="<?= $wiki->getName(); ?>">
<input id="iTitle" type="text" name="title" form="docForm" value="<?= $wiki->name; ?>">
</div>
</section>
@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<div class="box wf-100">
<?= $this->getData('editor')->getData('text')->render('iWiki', 'plain', 'docForm', $wiki->getDocRaw(), $wiki->getDoc()); ?>
<?= $this->getData('editor')->getData('text')->render('iWiki', 'plain', 'docForm', $wiki->docRaw, $wiki->doc); ?>
</div>
</div>
</div>
@ -53,8 +53,8 @@ echo $this->getData('nav')->render(); ?>
<table class="layout wf-100">
<tr><td>
<select name="status" id="iStatus">
<option value="<?= $this->printHtml(WikiStatus::DRAFT); ?>"<?= $wiki->getStatus() === WikiStatus::DRAFT ? ' selected' : ''; ?>><?= $this->getHtml('Draft'); ?>
<option value="<?= $this->printHtml(WikiStatus::ACTIVE); ?>"<?= $wiki->getStatus() === WikiStatus::ACTIVE ? ' selected' : ''; ?>><?= $this->getHtml('Active'); ?>
<option value="<?= $this->printHtml((string) WikiStatus::DRAFT); ?>"<?= $wiki->getStatus() === WikiStatus::DRAFT ? ' selected' : ''; ?>><?= $this->getHtml('Draft'); ?>
<option value="<?= $this->printHtml((string) WikiStatus::ACTIVE); ?>"<?= $wiki->getStatus() === WikiStatus::ACTIVE ? ' selected' : ''; ?>><?= $this->getHtml('Active'); ?>
</select>
<tr><td><label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
<tr><td>

0
tests/Autoloader.php Normal file → Executable file
View File

0
tests/Bootstrap.php Normal file → Executable file
View File

0
tests/phpunit_default.xml Normal file → Executable file
View File