Mercurial > hg > fapweb
comparison admajax.php @ 979:678b44a20e1a
Implement rest of notes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Nov 2014 13:19:54 +0200 |
parents | a1da651a2e45 |
children | ffacd904fd1f |
comparison
equal
deleted
inserted
replaced
978:2c435f651a47 | 979:678b44a20e1a |
---|---|
151 " <h2>#".$id." - ".chentities($item["name"])."</h2>\n". | 151 " <h2>#".$id." - ".chentities($item["name"])."</h2>\n". |
152 " Type: ".stGetFormOptionListFromArray($prefix."type".$id, " ", FALSE, $compoModeData, $item["ctype"], 0, 0, "updateCompoType(".$id.")"). | 152 " Type: ".stGetFormOptionListFromArray($prefix."type".$id, " ", FALSE, $compoModeData, $item["ctype"], 0, 0, "updateCompoType(".$id.")"). |
153 " - ".$compoModeData[$item["ctype"]][1]."<br />\n". | 153 " - ".$compoModeData[$item["ctype"]][1]."<br />\n". |
154 " Name: ".stGetFormTextInput(40, SET_LEN_COMPO_NAME, "name", $id, $prefix, $item["name"])."<br />\n". | 154 " Name: ".stGetFormTextInput(40, SET_LEN_COMPO_NAME, "name", $id, $prefix, $item["name"])."<br />\n". |
155 $str1. | 155 $str1. |
156 " ".stGetFormTextArea(8, 60, "description", $id, $prefix, $item["description"])."<br />\n". | 156 "<div class=\"compoDesc\"><h3>Description</h3>".stGetFormTextArea(8, 60, "description", $id, $prefix, $item["description"])."</div>\n". |
157 " ".stGetFormTextArea(8, 40, "notes", $id, $prefix, $item["notes"])."\n". | 157 "<div class=\"compoDesc\"><h3>Notes (shown in results)</h3>".stGetFormTextArea(8, 60, "notes", $id, $prefix, $item["notes"])."</div>\n". |
158 "<div>\n". | |
158 " ".stGetFormCheckBoxInput("visible", $id, $prefix, $item["visible"], "Visible")."\n". | 159 " ".stGetFormCheckBoxInput("visible", $id, $prefix, $item["visible"], "Visible")."\n". |
159 $str2."\n". | 160 $str2."\n". |
160 " ".stGetFormButtonInput("update", $id, $prefix, "Update", "updateCompo(".$id.")")."\n". | 161 " ".stGetFormButtonInput("update", $id, $prefix, "Update", "updateCompo(".$id.")")."\n". |
161 " ".stGetFormButtonInput("delete", $id, $prefix, "Delete", "deleteCompo(".$id.")")."\n"; | 162 " ".stGetFormButtonInput("delete", $id, $prefix, "Delete", "deleteCompo(".$id.")")."\n". |
163 "</div>\n"; | |
162 } | 164 } |
163 | 165 |
164 | 166 |
165 function stGetNewsItemData($id, $item, $prefix) | 167 function stGetNewsItemData($id, $item, $prefix) |
166 { | 168 { |