Changeset 465 for trunk/openmct/packages/system/owi/src/interface.c
- Timestamp:
- 10/03/07 14:04:56 (5 years ago)
- Files:
-
- 1 modified
-
trunk/openmct/packages/system/owi/src/interface.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmct/packages/system/owi/src/interface.c
r429 r465 93 93 /* Start form / external table / scroll area / internal table*/ 94 94 printf("<form action=\"%s\" method=\"post\">\n" 95 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 95 96 "<input type=\"hidden\" name=\"command\" value=\"\" />\n" 96 97 "<table class=\"%s\">\n" … … 118 119 "<tbody>", 119 120 getenv("SCRIPT_NAME"), 121 variable_get("module"), 120 122 CONTENT_TABLE_CLASS, 121 123 INTERFACE_HEADLINE, … … 159 161 "<td width=\"160\">%s</td>\n" 160 162 "<td width=\"160\">" 161 "<input type=\"button\" onClick=\"location='%s? command=detail&id=%s'\" value=\"%s\" /> "162 "<input type=\"button\" onClick=\"location='%s? command=delete&id=%s'\" value=\"%s\" />"163 "<input type=\"button\" onClick=\"location='%s?module=%s&command=detail&id=%s'\" value=\"%s\" /> " 164 "<input type=\"button\" onClick=\"location='%s?module=%s&command=delete&id=%s'\" value=\"%s\" />" 163 165 "</td>\n" 164 166 "</tr>\n", … … 170 172 interface_ini[2].current ? interface_ini[2].current[1] : "", 171 173 getenv("SCRIPT_NAME"), 174 variable_get("module"), 172 175 current_interface, 173 176 INTERFACE_BUTTON_MODIFY, 174 177 getenv("SCRIPT_NAME"), 178 variable_get("module"), 175 179 current_interface, 176 180 INTERFACE_BUTTON_DELETE); … … 226 230 "<tr>\n" 227 231 "<td colspan=\"7\" align=\"right\">\n" 228 "<input type=\"button\" onClick=\"location='%s? command=new'\" value=\"%s\" />"232 "<input type=\"button\" onClick=\"location='%s?module=%s&command=new'\" value=\"%s\" />" 229 233 "</td>\n" 230 234 "</tr>\n" … … 235 239 "</form>\n", 236 240 getenv("SCRIPT_NAME"), 241 variable_get("module"), 237 242 INTERFACE_BUTTON_NEW); 238 243 } … … 279 284 /* Print network interface */ 280 285 printf("<form action=\"%s\" method=\"post\">\n" 286 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 281 287 "<input type=\"hidden\" name=\"command\" value=\"update\" />\n" 282 288 "<input type=\"hidden\" name=\"id\" value=\"%s\" />\n" … … 309 315 , 310 316 getenv("SCRIPT_NAME"), 317 variable_get("module"), 311 318 current_interface, 312 319 CONTENT_TABLE_BOX_CLASS,
