[Hastymail-cvs] hastymail/lib html_functions.php,1.111,1.112
Brought to you by:
sailfrog,
slushpupie
From: <sai...@us...> - 2003-06-29 06:27:49
|
Update of /cvsroot/hastymail/hastymail/lib In directory sc8-pr-cvs1:/tmp/cvs-serv15723/lib Modified Files: html_functions.php Log Message: little better fix for the new iframe. disabled on the new page unless the new page has no refresh time setting of its own. Index: html_functions.php =================================================================== RCS file: /cvsroot/hastymail/hastymail/lib/html_functions.php,v retrieving revision 1.111 retrieving revision 1.112 diff -u -d -r1.111 -r1.112 --- html_functions.php 29 Jun 2003 06:23:39 -0000 1.111 +++ html_functions.php 29 Jun 2003 06:27:47 -0000 1.112 @@ -114,9 +114,10 @@ </tr> </table>',"\n"; - if (isset($config['iframe']) && $config['iframe'] == 'true' && !$refresh) { + if (isset($config['iframe']) && $config['iframe'] == 'true' && + (!$refresh || $refresh_new == 0)) { echo '<iframe src="iframe.php?id=',session_id(), - '" width="10" height="10" frameborder="1" style="{display: none}"> + '" width="0" height="0" frameborder="0" style="{display: none}"> Imbedded frame to keep your connection to hastymail active </iframe>',"\n"; } |