forked from science-ation/science-ation
onload popups now get focus
This commit is contained in:
parent
c73e2ca63d
commit
dc8fad6320
@ -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
|
||||
|
@ -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>
|
||||
<?
|
||||
|
Loading…
x
Reference in New Issue
Block a user