Changeset 465 for trunk/openmct/packages/system/owi/src/group.c
- Timestamp:
- 10/03/07 14:04:56 (5 years ago)
- Files:
-
- 1 modified
-
trunk/openmct/packages/system/owi/src/group.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmct/packages/system/owi/src/group.c
r430 r465 90 90 /* Start form / external table / scroll area / internal table*/ 91 91 printf("<form action=\"%s\" method=\"post\">\n" 92 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 92 93 "<input type=\"hidden\" name=\"command\" value=\"\" />\n" 93 94 "<table class=\"%s\">\n" … … 116 117 "<tbody>", 117 118 getenv("SCRIPT_NAME"), 119 variable_get("module"), 118 120 CONTENT_TABLE_CLASS, 119 121 GROUP_HEADLINE, … … 139 141 "<td>%s</td>\n" 140 142 "<td>%s</td>\n" 141 "<td><input type=\"button\" onClick=\"location='%s? command=detail&id=%s'\" value=\"%s\" /> <input type=\"button\" onClick=\"location='%s?command=delete&id=%s'\" value=\"%s\" /></td>\n"143 "<td><input type=\"button\" onClick=\"location='%s?module=%s&command=detail&id=%s'\" value=\"%s\" /> <input type=\"button\" onClick=\"location='%s?command=delete&id=%s'\" value=\"%s\" /></td>\n" 142 144 "</tr>\n", 143 145 CONTENT_TABLE_CLASS_MOUSEOVER, … … 147 149 argument_get_part(group, 3), 148 150 getenv("SCRIPT_NAME"), 151 variable_get("module"), 149 152 argument_get_part(group, 0), 150 153 GROUP_BUTTON_MODIFY, … … 164 167 "<tr>\n" 165 168 "<td colspan=\"7\" align=\"right\">\n" 166 "<a class=\"%s\" href=\"#\" onClick=\"location='%s? command=new'\"><div class=\"%s\">%s</div></a>\n"169 "<a class=\"%s\" href=\"#\" onClick=\"location='%s?module=%s&command=new'\"><div class=\"%s\">%s</div></a>\n" 167 170 "</td>\n" 168 171 "</tr>\n" … … 174 177 CONTENT_LINK_AQUA_CLASS, 175 178 getenv("SCRIPT_NAME"), 179 variable_get("module"), 176 180 CONTENT_BUTTON_AQUA_CLASS, 177 181 GROUP_BUTTON_NEW); … … 204 208 if (!strcmp(argument_get_part(group, 0), groupname)) { 205 209 printf("<form action=\"%s\" method=\"POST\">\n" 210 "<input type=\"hidden\" name=\"module\" value=\"%s\">\n" 206 211 "<input type=\"hidden\" name=\"command\" value=\"update\">\n" 207 212 "<input type=\"hidden\" name=\"id\" value=\"%s\">\n" … … 233 238 , 234 239 getenv("SCRIPT_NAME"), 240 variable_get("module"), 235 241 argument_get_part(group, 0), 236 242 CONTENT_TABLE_BOX_CLASS, … … 394 400 "<br />%s<br /><br />\n" 395 401 "<form action=\"%s\" method=\"post\">\n" 402 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 396 403 "<input type=\"hidden\" name=\"command\" value=\"add\" />\n" 397 404 "<table class=\"%s\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%%\">\n" … … 423 430 GROUP_NEW, 424 431 getenv("SCRIPT_NAME"), 432 variable_get("module"), 425 433 CONTENT_TABLE_BOX_CLASS, 426 434 GROUP_TABLE_DESCRIPTION,
