| Index: tools/grit/grit/testdata/toolbar_about.html
|
| diff --git a/tools/grit/grit/testdata/toolbar_about.html b/tools/grit/grit/testdata/toolbar_about.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb4b0eb35529313e531f1c591cfe954f50b642d7
|
| --- /dev/null
|
| +++ b/tools/grit/grit/testdata/toolbar_about.html
|
| @@ -0,0 +1,138 @@
|
| +<html id=dlgAbout STYLE="width: 25.8em; height: 17em" [GRITDIR]>
|
| +<head>
|
| +<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
| +<title>About Google Toolbar</title>
|
| +<style>
|
| +.button {
|
| + width: 7em;
|
| + height: 2.2em;
|
| + color: buttontext;
|
| + font-family: MS Sans Serif;
|
| + font-size:8pt;
|
| + cursor: hand;
|
| +}
|
| +</style>
|
| +
|
| +<script> <!--
|
| + function HandleError(message, url, line) {
|
| + var L_Dialog_ErrorMessage = "An error has occured in this dialog.";
|
| + var L_ErrorNumber_Text = "Error: ";
|
| + var str = L_Dialog_ErrorMessage + "\n\n"
|
| + + L_ErrorNumber_Text + line + "\n"
|
| + + message;
|
| + alert (str);
|
| + window.close();
|
| + return true;
|
| + }
|
| +
|
| + function OnKeyPress(nCode) {
|
| + if (nCode == 27) {
|
| + window.close();
|
| + return;
|
| + }
|
| + }
|
| +
|
| + function OnLoad() {
|
| + if ((null != window.dialogArguments) && (window.dialogArguments.indexOf("&") == -1) && (window.dialogArguments.indexOf("<") == -1)) {
|
| + version.innerHTML = window.dialogArguments;
|
| + } else {
|
| + version.innerText = "Version: Unknown";
|
| + }
|
| + }
|
| +
|
| + window.onerror = HandleError;
|
| + // -->
|
| +</script>
|
| +
|
| +</head>
|
| +
|
| +
|
| +<body bgcolor="#FFFFFF" onload="OnLoad()" onkeydown="OnKeyPress(event.keyCode)" onkeypress="OnKeyPress(event.keyCode)" scroll=no>
|
| +
|
| +<table border=0>
|
| +
|
| + <tr height=5>
|
| + <td width=5></td>
|
| + <td></td>
|
| + <td></td>
|
| + <td></td>
|
| + <td width=5></td>
|
| + </tr>
|
| +
|
| + <tr>
|
| + <td></td>
|
| + <td colspan=3>
|
| +
|
| +
|
| +<table border="0" cellpadding="0" cellspacing="0" valign="top">
|
| + <tr>
|
| + <td valign="top" height="47" width="155">
|
| + <div align="center"><img src="title_toolbar.gif" width="275" height="59" alt="Google Toolbar"></div>
|
| + </td>
|
| + <td valign="middle" height="47" width="713">
|
| + <hr size=1 color=25479D></td></tr>
|
| +</table>
|
| +
|
| +
|
| + </td>
|
| + <!--
|
| + <TD colspan=2>
|
| + <span style="COLOR: black; FONT: 18pt Tahoma, MS Shell Dlg"><b>
|
| + Google Toolbar™</b>
|
| + </span>
|
| + </TD>
|
| + -->
|
| + <td valign="middle">
|
| + </td>
|
| + </tr>
|
| +
|
| + <tr>
|
| + <td></td>
|
| + <td align=center><img src="googly.gif"></td>
|
| + <td colspan=2 align=left>
|
| + <span style="WIDTH: 25em; height:6em COLOR: black; FONT: 8pt Tahoma, MS Shell Dlg">
|
| + <span id=version></span><br>
|
| + </span>
|
| + </td>
|
| + <td></td>
|
| + </tr>
|
| +
|
| + <tr height=50>
|
| + <td></td>
|
| + <td></td>
|
| + <td colspan=2 align=left>
|
| + <span style="WIDTH: 25em; height:6em COLOR: black; FONT: 8pt Tahoma, MS Shell Dlg">
|
| + <!--$/translate-->
|
| + <i>De parvis grandis acervus erit</i>
|
| + <!--$translate-->
|
| + </span>
|
| + </td>
|
| + <td></td>
|
| + </tr>
|
| +
|
| + <tr height=40>
|
| + <td></td>
|
| + <td></td>
|
| + <td></td>
|
| + <td></td>
|
| + <td></td>
|
| + </tr>
|
| +
|
| + <tr>
|
| + <td></td>
|
| + <td width=80></td>
|
| + <td>
|
| + <!--$/translate-->
|
| + <span style="WIDTH: 20em; COLOR: black; FONT: 8pt Tahoma, MS Shell Dlg" id="copyright">© 2006 Google</span>
|
| + <!--$translate-->
|
| + </td>
|
| + <td id=ok-button align=right><button tabindex=1 type=submit align=right id="okButton" class=button onClick="window.close();" >OK</button>
|
| + </td>
|
| + <td></td>
|
| + </tr>
|
| +
|
| +</table>
|
| +</span>
|
| +
|
| +</body>
|
| +</html>
|
|
|