Файл: wboard/source/system/view/panel_board.php
Строк: 56
<!-- Create/Edit board -->
<div class="title"><?= $this->title ?></div>
<div class="text">
<form method="post">
<?php if ($name): ?>
<p>
<strong><?= $this->lng->name ?>:</strong> [^da-z]{1,5}<br />
<input type="text" name="name" value="<?= htmlspecialchars($data['name'], ENT_QUOTES, 'UTF-8') ?>" />
<?= isset($error['name']) ? '<br />' . $error['name'] : '' ?>
</p>
<?php endif; ?>
<p>
<strong><?= $this->lng->description ?>:</strong> (max. 255 bytes)<br />
<input type="text" name="description" value="<?= htmlspecialchars($data['description']) ?>" />
<?= isset($error['description']) ? '<br />' . $error['description'] : '' ?>
</p>
<p>
<strong><?= $this->lng->description ?>:</strong> (max. 1000 bytes)<br />
<textarea name="rules"><?= htmlspecialchars($data['rules'], ENT_QUOTES, 'UTF-8') ?></textarea>
<?= isset($error['rules']) ? '<br />' . $error['rules'] : '' ?>
</p>
<p>
<strong><?= $this->lng->bump_limit ?>:</strong> [100-1000]<br />
<input type="text" name="bump_limit" value="<?= $data['bump_limit'] ?>" size="3" />
<?= isset($error['bump_limit']) ? '<br />' . $error['bump_limit'] : '' ?>
</p>
<p>
<strong><?= $this->lng->max_threads ?>:</strong> [10-500]<br />
<input type="text" name="max_threads" value="<?= $data['max_threads'] ?>" size="3" />
<?= isset($error['max_threads']) ? '<br />' . $error['max_threads'] : '' ?>
</p>
<p>
<strong><?= $this->lng->threads_per_hour ?>:</strong> [1-999]<br />
<input type="text" name="thread_ph" value="<?= $data['thread_ph'] ?>" size="3" />
<?= isset($error['thread_ph']) ? '<br />' . $error['thread_ph'] : '' ?>
</p>
<p>
<input type="checkbox" name="hidden" value="1" /> <?= $this->lng->hide ?>
</p>
<p>
<input type="submit" name="ok" value="<?= $this->lng->send ?>" /> 
<input type="submit" name="cancel" value="<?= $this->lng->cancel ?>" />
</p>
</form>
</div>