# HG changeset patch # User Matti Hamalainen # Date 1384704526 -7200 # Node ID d75db79e6e645d2767fb85330cce9723f4a0459c # Parent 8993c88f0b47a55a426137b11c992d5fa1c16bb1 Cleanups. diff -r 8993c88f0b47 -r d75db79e6e64 admajax.php --- a/admajax.php Sun Nov 17 18:00:18 2013 +0200 +++ b/admajax.php Sun Nov 17 18:08:46 2013 +0200 @@ -306,10 +306,10 @@ { echo "
\n". - "
\n". - "
\n". - " \n". - " \n". + " ".stGetFormTextInput(64, 64, "", "ncname", "", "")."
\n". + " ".stGetFormTextArea(5, 60, "", "ncdescription", "", "")."
\n". + " ".stGetFormSubmitInput("nccompo", "Add compo")."\n". + " ".stGetFormButtonInput("", "", "", "Clear", "this.form.reset()")."\n". "
\n". "
\n"; @@ -318,16 +318,16 @@ $id = $item["id"]; $prefix = "co"; echo - "
\n". - "

#".$id." - ".chentities($item["name"])."

\n". - stGetFormTextInput(40, 64, "name", $id, $prefix, $item["name"])."\n". - stGetFormCheckBoxInput("visible", $id, $prefix, $item["visible"], "Visible")."\n". - stGetFormCheckBoxInput("showAuthors", $id, $prefix, $item["showAuthors"], "Show authors")."\n". - stGetFormCheckBoxInput("voting", $id, $prefix, $item["voting"], "Enable voting")."
\n". - stGetFormTextArea(5, 60, "description", $id, $prefix, $item["description"])."\n
\n". - stGetFormButtonInput("update", $id, $prefix, " Update ", "updateCompo(".$id.")")."\n". - "
\n". - "
\n"; + "
\n". + "

#".$id." - ".chentities($item["name"])."

\n". + stGetFormTextInput(40, 64, "name", $id, $prefix, $item["name"])."\n". + stGetFormCheckBoxInput("visible", $id, $prefix, $item["visible"], "Visible")."\n". + stGetFormCheckBoxInput("showAuthors", $id, $prefix, $item["showAuthors"], "Show authors")."\n". + stGetFormCheckBoxInput("voting", $id, $prefix, $item["voting"], "Enable voting")."
\n". + stGetFormTextArea(5, 60, "description", $id, $prefix, $item["description"])."\n
\n". + stGetFormButtonInput("update", $id, $prefix, " Update ", "updateCompo(".$id.")")."\n". + "
\n". + "
\n"; } } }