Changeset 465 for trunk/openmct/packages/system/owi/src/user.c
- Timestamp:
- 10/03/07 14:04:56 (5 years ago)
- Files:
-
- 1 modified
-
trunk/openmct/packages/system/owi/src/user.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmct/packages/system/owi/src/user.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" … … 117 118 "<tbody>", 118 119 getenv("SCRIPT_NAME"), 120 variable_get("module"), 119 121 CONTENT_TABLE_CLASS, 120 122 USER_HEADLINE, … … 149 151 "<td width=\"160\">%s</td>\n" 150 152 "<td width=\"160\">" 151 "<input type=\"button\" onClick=\"location='%s? command=detail&id=%s'\" value=\"%s\" /> "152 "<input type=\"button\" onClick=\"location='%s? command=delete&id=%s'\" value=\"%s\" />"153 "<input type=\"button\" onClick=\"location='%s?module=%s&command=detail&id=%s'\" value=\"%s\" /> " 154 "<input type=\"button\" onClick=\"location='%s?module=%s&command=delete&id=%s'\" value=\"%s\" />" 153 155 "</td>\n" 154 156 "</tr>\n", … … 160 162 argument_get_part(passwd, 6), 161 163 getenv("SCRIPT_NAME"), 164 variable_get("module"), 162 165 argument_get_part(passwd, 0), 163 166 USER_BUTTON_MODIFY, 164 167 getenv("SCRIPT_NAME"), 168 variable_get("module"), 165 169 argument_get_part(passwd, 0), 166 170 USER_BUTTON_DELETE); … … 177 181 "<tr>\n" 178 182 "<td colspan=\"7\" align=\"right\">\n" 179 "<a class=\"%s\" href=\"#\" onClick=\"location='%s? command=new'\"><div class=\"%s\">%s</div></a>\n"183 "<a class=\"%s\" href=\"#\" onClick=\"location='%s?module=%s&command=new'\"><div class=\"%s\">%s</div></a>\n" 180 184 "</td>\n" 181 185 "</tr>\n" … … 187 191 CONTENT_LINK_AQUA_CLASS, 188 192 getenv("SCRIPT_NAME"), 193 variable_get("module"), 189 194 CONTENT_BUTTON_AQUA_CLASS, 190 195 USER_BUTTON_NEW); … … 218 223 if (!strcmp(argument_get_part(passwd, 0), username)) { 219 224 printf("<form action=\"%s\" method=\"post\">\n" 225 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 220 226 "<input type=\"hidden\" name=\"command\" value=\"update\" />\n" 221 227 "<input type=\"hidden\" name=\"id\" value=\"%s\" />\n" … … 260 266 , 261 267 getenv("SCRIPT_NAME"), 268 variable_get("module"), 262 269 argument_get_part(passwd, 0), 263 270 CONTENT_TABLE_BOX_CLASS, … … 432 439 "<br />%s<br /><br />\n" 433 440 "<form action=\"%s\" method=\"post\">\n" 441 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 434 442 "<input type=\"hidden\" name=\"command\" value=\"add\" />\n" 435 443 "<table class=\"%s\" width=\"100%%\">\n" … … 470 478 USER_NEW, 471 479 getenv("SCRIPT_NAME"), 480 variable_get("module"), 472 481 CONTENT_TABLE_BOX_CLASS, 473 482 USER_TABLE_DESCRIPTION,
