onload popups now get focus

This commit is contained in:
james 2005-03-30 18:19:31 +00:00
parent c73e2ca63d
commit dc8fad6320
2 changed files with 9 additions and 5 deletions

View File

@ -44,7 +44,7 @@
send_popup_header(i18n("Judge Information - %1 %2",array($judgeinfo->firstname,$judgeinfo->lastname)));
echo "<h4>".i18n("Personal Info")."</h4>";
echo "<h3>".i18n("Personal Info")."</h3>";
echo "<table class=\"viewtable\">\n";
echo "<tr>\n";
@ -143,10 +143,9 @@
echo "</table>";
echo "<br />";
echo "<hr />";
echo "<br />";
echo "<h4>Areas of Expertise</h4>";
echo "<h3>Areas of Expertise</h3>";
echo "<table class=\"viewtable\">";
//grab the list of divisions, because the last fields of the table will be the sub-divisions

View File

@ -369,14 +369,19 @@ function send_popup_header($title="")
<head><title><?=i18n($title)?></title>
<link rel="stylesheet" href="<?=$config['SFIABDIRECTORY']?>/sfiab.css" type="text/css" />
</head>
<body>
<body onload="window.focus()">
<?
echo "<h3>$title</h3>";
if($title)
echo "<h2>".i18n($title)."</h2>";
}
function send_popup_footer()
{
?>
<div id="footer">
<? print_r($_SESSION); ?>
</div>
</body>
</html>
<?