@@ -59,15 +59,23 @@ require("./header.inc.phtml");
59
59
htmlspecialchars ($ this ->getContext ()->csrf_token , ENT_HTML5 , "UTF-8 " );
60
60
?> "/>
61
61
<section>
62
- <label for="title">Name:</label><br/>
63
- <input type="text" name="name" id="name" tabindex="1" required
62
+ <label for="id">Id:</label>
63
+ <em style="float:right;">(base 10 / decimal format)</em><br/>
64
+ <input type="text" name="id" id="id" tabindex="1" required
64
65
autofocus="autofocus" value="<?php echo
66
+ filter_var ($ this ->getContext ()->id , FILTER_SANITIZE_STRING );
67
+ ?> "/>
68
+ </section>
69
+ <section>
70
+ <label for="name">Name:</label><br/>
71
+ <input type="text" name="name" id="name" tabindex="2" required
72
+ value="<?php echo
65
73
filter_var ($ this ->getContext ()->name , FILTER_SANITIZE_STRING );
66
74
?> "/>
67
75
</section>
68
76
<section>
69
77
<label for="format">Remarks:</label>
70
- <textarea name="format" id="format" tabindex="2 " required
78
+ <textarea name="format" id="format" tabindex="3 " required
71
79
style="height:200px;"><?php echo
72
80
htmlspecialchars ($ this ->getContext ()->format , ENT_HTML5 , "UTF-8 " );
73
81
?> </textarea>
@@ -76,20 +84,20 @@ require("./header.inc.phtml");
76
84
<label for="remarks">Remarks:</label>
77
85
<span style="float:right;">
78
86
<label for="markdown" title="Use markdown or use raw HTML">Markdown</label>
79
- <input type="checkbox" name="markdown" id="markdown" tabindex="4 "
87
+ <input type="checkbox" name="markdown" id="markdown" tabindex="5 "
80
88
title="Use markdown or use raw HTML" value="1"<?php
81
89
if ($ this ->getContext ()->markdown )
82
90
echo " checked= \"checked \"" ;
83
91
?> />
84
92
</span>
85
- <textarea name="remarks" id="remarks" tabindex="3 " required
93
+ <textarea name="remarks" id="remarks" tabindex="4 " required
86
94
style="height:200px;"><?php echo
87
95
htmlspecialchars ($ this ->getContext ()->remarks , ENT_HTML5 , "UTF-8 " );
88
96
?> </textarea>
89
97
</section>
90
98
<section>
91
- <input type="submit" name="publish" value="Publish" tabindex="5 "/>
92
- <input type="submit" name="save" value="Unpublish" tabindex="6 "/>
99
+ <input type="submit" name="publish" value="Publish" tabindex="6 "/>
100
+ <input type="submit" name="save" value="Unpublish" tabindex="7 "/>
93
101
</section>
94
102
</form>
95
103
<?php } ?>
0 commit comments