changeset 204:fa94536c060b

More cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 17 Nov 2013 18:11:46 +0200
parents d75db79e6e64
children 77d33161f8be
files admajax.php
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Sun Nov 17 18:08:46 2013 +0200
+++ b/admajax.php	Sun Nov 17 18:11:46 2013 +0200
@@ -211,11 +211,11 @@
       {
         echo
           "<form method=\"post\" action=\"\" onsubmit=\"return addNews()\">\n".
-          "  <input id=\"nntitle\" type=\"text\" size=\"40\" /><br />\n".
-          "  <textarea id=\"nntext\" rows=\"5\" cols=\"60\"></textarea><br />\n".
-          "  <input id=\"nnauthor\" type=\"text\" value=\"orgaz\" />\n".
-          "  <input id=\"nnadd\" type=\"submit\" value=\" Add post \" />\n".
-          "  <input type=\"button\" value=\" Clear \" onClick=\"this.form.reset()\" />\n".
+          "  ".stGetFormTextInput(40, 40, "", "nntitle", "", "")."<br />\n".
+          "  ".stGetFormTextArea(5, 60, "", "nntext", "", "")."<br />\n".
+          "  ".stGetFormTextInput(20, 20, "", "nnauthor", "", "orgaz")."\n".
+          "  ".stGetFormSubmitInput("nnadd", "Add post")."\n".
+          "  ".stGetFormButtonInput("", "", "", "Clear", "this.form.reset()")."\n".
           "</form>\n".
           "<hr />\n";