@@ -59,15 +59,23 @@ require("./header.inc.phtml");
5959 htmlspecialchars ($ this ->getContext ()->csrf_token , ENT_HTML5 , "UTF-8 " );
6060 ?> "/>
6161 <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
6465 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
6573 filter_var ($ this ->getContext ()->name , FILTER_SANITIZE_STRING );
6674 ?> "/>
6775 </section>
6876 <section>
6977 <label for="format">Remarks:</label>
70- <textarea name="format" id="format" tabindex="2 " required
78+ <textarea name="format" id="format" tabindex="3 " required
7179 style="height:200px;"><?php echo
7280 htmlspecialchars ($ this ->getContext ()->format , ENT_HTML5 , "UTF-8 " );
7381 ?> </textarea>
@@ -76,20 +84,20 @@ require("./header.inc.phtml");
7684 <label for="remarks">Remarks:</label>
7785 <span style="float:right;">
7886 <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 "
8088 title="Use markdown or use raw HTML" value="1"<?php
8189 if ($ this ->getContext ()->markdown )
8290 echo " checked= \"checked \"" ;
8391 ?> />
8492 </span>
85- <textarea name="remarks" id="remarks" tabindex="3 " required
93+ <textarea name="remarks" id="remarks" tabindex="4 " required
8694 style="height:200px;"><?php echo
8795 htmlspecialchars ($ this ->getContext ()->remarks , ENT_HTML5 , "UTF-8 " );
8896 ?> </textarea>
8997 </section>
9098 <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 "/>
93101 </section>
94102 </form>
95103<?php } ?>
0 commit comments