Update of /cvsroot/phpwebapp/web_app/parser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19869/parser
Modified Files:
class.WebPage.php
Log Message:
Index: class.WebPage.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebPage.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** class.WebPage.php 30 Jun 2005 06:24:43 -0000 1.18
--- class.WebPage.php 6 Jul 2005 06:13:16 -0000 1.19
***************
*** 245,251 ****
$features = $data['features'];
if ($features==UNDEFINED)
! $js .= " $name = window.open('$url', '$name');\n";
else
! $js .= " $name = window.open('$url', '$name', '$features');\n";
//write the content
--- 245,251 ----
$features = $data['features'];
if ($features==UNDEFINED)
! $js .= " $name = window.open('', '$name');\n";
else
! $js .= " $name = window.open('', '$name', '$features');\n";
//write the content
***************
*** 255,259 ****
--- 255,261 ----
$html_content = WebApp::js_encode($html_content);
$js .= " $name.document.write('$html_content');";
+ $js .= " $name.document.close();";
}
+ $js .= " $name.location.href=\"$url\";";
}
$js .= "</script>\n";
|