File size: 1.08Kb
<div class="title"><?=Lang::get('forum_edit_section', 'forum'); ?></div>
<div class="post">
<form action="/forum/section_actions-<?=$s['id']; ?>?do=edit&save" method="post">
<?=Lang::get('forum_name', 'forum'); ?>:<br/>
<input type="text" value="<?=$s['name']?>" value="<?=$s['desc'];?>" name="name" /><br/>
<?=Lang::get('forum_desc', 'forum'); ?>:<br/>
<input type="text" value="<?=$s['desc']?>" name="desc" /><br/>
<?=Lang::get('forum_move_to', 'forum'); ?>:<br/>
<select name="forum">
<?php foreach($forums as $forum): ?>
<option value="<?=$forum['id'];?>"<?php if($forum['id'] == $s['f_id']): ?> selected="selected"<?php endif; ?>><?=$forum['name']; ?></option>
<?php endforeach; ?>
</select><br/>
<input type="submit" value="<?=Lang::get('save'); ?>" />
</form>
</div>
<div class="block">
<?=System::image('back.png'); ?> <a href="/forum/forum-<?=$s['f_id']?>"><?=Lang::get('back'); ?></a><br/>
<?=System::image('back.png'); ?> <a href="/forum/"><?=Lang::get('forum_title', 'forum'); ?></a><br/>
<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>