Changeset 468 for trunk/openmct/packages/system/owi/src/ftp.c
- Timestamp:
- 10/03/07 16:43:01 (5 years ago)
- Files:
-
- 1 modified
-
trunk/openmct/packages/system/owi/src/ftp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmct/packages/system/owi/src/ftp.c
r465 r468 75 75 } else { 76 76 /* Print error message */ 77 owi_headline( 1, FTP_HEADLINE);77 owi_headline(3, FTP_HEADLINE); 78 78 owi_headline(2, FTP_FILE_FAILED); 79 79 } … … 98 98 99 99 /* Print external table for design */ 100 printf("<table class=\"%s\">\n" 101 "<tr>\n" 102 "<td>\n" 103 "<h1>%s</h1>\n" 104 "<br />%s<br /><br />\n" 100 printf("<h3>%s</h3>\n" 105 101 "<form action=\"%s\" method=\"post\">\n" 106 102 "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 107 103 "<input type=\"hidden\" name=\"command\" value=\"update\" />\n" 108 "<table class=\" %s\" width=\"100%%\" cellspacing=\"0\" cellpading=\"0\">\n"104 "<table class=\"detail\">\n" 109 105 "<thead>\n" 110 106 "<tr>\n" 111 "<th colspan=\"2\"> FTP Konfiguration</th>\n"107 "<th colspan=\"2\">%s</th>\n" 112 108 "</tr>\n" 113 109 "</thead>\n", 114 CONTENT_TABLE_CLASS,115 110 FTP_HEADLINE, 116 FTP_DETAIL,117 111 getenv("SCRIPT_NAME"), 118 112 variable_get("module"), 119 CONTENT_TABLE_BOX_CLASS);113 FTP_HEADLINE_BOX); 120 114 121 115 /* Loop through config file */ … … 135 129 for (i = 0; ftp_ini[i].variable != NULL; i++) { 136 130 printf("<tr>\n" 137 "<td width=\"250\">%s</td>\n"138 "<td >", ftp_ini[i].description);131 "<td class=\"description\">%s</td>\n" 132 "<td class=\"value\">", ftp_ini[i].description); 139 133 /* valid set? */ 140 134 if (ftp_ini[i].valid) {
