Browse the code
| Revision log Information on the revision | |
|---|---|
| Revision: | 511 (differences) |
| Author: | xbright |
| Log message: |
* Enhanced roadmap |
| Change revision: | |
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<h1><?=i18n('Forum');?></h1> <? if ($_action == 'add'): ?> <h2><?=i18n('Post a new topic');?></h2> <? else: ?> <h2><?=i18n('Edit a topic');?></h2> <? endif; ?> <? if (is_string($form_error)): ?> <div class="box error"><?=$form_error;?></div> <? endif; ?> <form action="<?=getURLbyTags($this->page);?>" method="post" id="form"> <p> <strong><?=i18n('Title:');?></strong><br /> <input type="text" name="title" style="width: 300px;" value="<?=$form_title;?>" /> <br /><br /> <strong><?=i18n('Category:');?></strong><br /> <select name="cat" style="width: 305px;"> <? foreach ($_categories as $catkey => $catvalue): ?> <? if ($form_cat == $catkey): ?> <option value="<?=$catkey;?>" selected="selected"><?=$catvalue;?></option> <? else: ?> <option value="<?=$catkey;?>"><?=$catvalue;?></option> <? endif; ?> <? endforeach; ?> </select> <br /><br /> <strong><?=i18n('Message:');?></strong><br /> <?=$textview;?> </p> <? if (!$is_logged): ?> <div style="margin: 20px;width: 400px;padding-left: 15px;" class="border_left"> <strong><?=i18n('Captcha security:');?></strong><br /> <?=i18n('In order to check you are not a robot, please answer to that simple question:');?><br /> <div class="justify"> <?=$captcha[0];?> <input type="text" style="width:40px;" maxlength="255" name="<?=$_SESSION['captcha'];?>" value="" /> <input type="text" name="captcha_" value="<?=$captcha[1];?>" class="captcha" /> </div><br /> <strong><?=i18n('Nickname:');?></strong><br /> <input type="text" style="width: 98%;" maxlength="255" name="nickname" value="<?=$form_nick;?>" /> </div> <? endif; ?> <p> <br /> <input type="submit" class="submit" value="<?=i18n('Post');?>" /> </p> </form>

CodingTeam