Файл: wboard/source/system/view/page_form.php
Строк: 31
<div class="title"><?= $this->title ?></div>
<div class="text">
<form method="post" action="<?= anchor('w_action/pages/form/' . $name) ?>">
<?php if (empty($name)): ?>
<p>
<strong><?= $this->lng->name ?>:</strong><br />
<input type="text" name="name" />
<?= !empty($error['name']) ? '<br />' . $error['name'] : '' ?>
</p>
<?php endif; ?>
<p>
<strong><?= $this->lng->title ?>:</strong><br />
<input type="text" name="title" value="<?= $title ?>" />
</p>
<p>
<textarea name="data"><?= $data ?></textarea>
<?= !empty($error['data']) ? '<br />' . $error['data'] : '' ?>
</p>
<p>
<input type="submit" name="ok" value="<?= $this->lng->send ?>" /> 
<input type="submit" name="cancel" value="<?= $this->lng->cancel ?>" />
</p>
</form>
</div>