Skip to content

Commit

Permalink
[ICU-4358] More style fixes.
Browse files Browse the repository at this point in the history
X-SVN-Rev: 17673
  • Loading branch information
grhoten committed May 25, 2005
1 parent 35344a8 commit 05d2015
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions idnbrowser/idna-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
<link rel="stylesheet" type="text/css" href="//www.ibm.com/common/v14/main.css" />
<link rel="stylesheet" type="text/css" media="all" href="//www.ibm.com/common/v14/screen.css" />
<link rel="stylesheet" type="text/css" media="print" href="//www.ibm.com/common/v14/print.css" />
<link rel="stylesheet" type="text/css" media="screen,print" href="//www.ibm.com/common/v14/table.css" />
<script src="//www.ibm.com/common/v14/detection.js" language="JavaScript" type="text/javascript">
</script>
17 changes: 9 additions & 8 deletions idnbrowser/idnbrwsr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,14 @@ static const char *startForm=
"<input type=\"text\" name=\"t\" maxlength=\"500\" size=\"80\" value=\"%s\"> </p>\n";

static const char *endForm=
"<input type=\"submit\" value=\"Perform IDNA\" size=\"100\">\n"
"<input type=\"image\" src=\"//www.ibm.com/i/v14/buttons/us/en/submit.gif\" alt=\"Submit\" value=\"Submit\" />\n"
"</form>\n";

static const char *startTable=
"<table border=\"1\">\n"
"<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"data-table-2\" style=\"margin-right: 5px;\">\n"
"<caption><em>Results of Operation</em></caption>\n"
"<tr><th>Mode</th><th>Text</th><th>Code Points</th></tr>\n"
"<tr><th>Input</th>";
"<tr><td>Input</td>";

static const char *endTable="</table>";
static const char *STD3Fail = "<b> The input does not satisfy STD3 ASCII rules</b>\n";
Expand Down Expand Up @@ -357,7 +358,7 @@ printToUnicode (const UChar *s, int32_t length, UBool &printUnassignedError, UBo
printUnassignedError = FALSE;
printSTD3Error = FALSE;

printf("<tr><th>%s</th>", modeNames[3]);
printf("<tr><td>%s</td>", modeNames[3]);
/*
UnicodeString str(s,length);
if(str.indexOf(http)!=-1){
Expand Down Expand Up @@ -402,7 +403,7 @@ printToUnicode (const UChar *s, int32_t length) {
UErrorCode errorCode;
UParseError parseError;

printf("<tr><th>%s</th>", modeNames[4]);
printf("<tr><td>%s</td>", modeNames[4]);
/*
UnicodeString str(s,length);
if(str.indexOf(http)!=-1){
Expand Down Expand Up @@ -442,7 +443,7 @@ printToASCII(const UChar *s, int32_t length,UBool &printUnassignedError, UBool &
UParseError parseError;
printUnassignedError = FALSE;
printSTD3Error = FALSE;
printf("<tr><th>%s</th>", modeNames[2]);
printf("<tr><td>%s</td>", modeNames[2]);
/*
UnicodeString str(s,length);
if(str.indexOf(http)!=-1){
Expand Down Expand Up @@ -487,7 +488,7 @@ printToASCII (const UChar *s, int32_t length) {
UErrorCode errorCode;
UParseError parseError;

printf("<tr><th>%s</th>", modeNames[5]);
printf("<tr><td>%s</td>", modeNames[5]);
/*
UnicodeString str(s,length);
if(str.indexOf(http)!=-1){
Expand Down Expand Up @@ -798,7 +799,7 @@ main(int argc, const char *argv[]) {
for(int j=0;samples[j];j++) {
printf("<option value=\"%s\">%s</option>", samples[j], samples[j]);
}
puts("</select>\n<input type=submit value=\"Load\"></form></td></tr></table>\n");
puts("</select>\n<input type=\"image\" src=\"//www.ibm.com/i/v14/buttons/us/en/go.gif\" alt=\"Go\" value=\"Load\" /></form></td></tr></table>\n");

puts(helpText);

Expand Down

0 comments on commit 05d2015

Please sign in to comment.