Update of /cvsroot/phpwebapp/web_app/append
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16923/append
Modified Files:
append.html
Added Files:
wbPopupWindows.php
Log Message:
Added function WebApp::popup_window($name, $url, $features ='nil')
--- NEW FILE: wbPopupWindows.php ---
<?php
/* This file is part of phpWebApp. */
/**
* @package append
*/
class wbPopupWindows extends WebObject
{
function onRender()
{
global $webPage;
$popup_windows = $webPage->popup_windows_to_js();
WebApp::addVar("POPUP_WINDOWS", $popup_windows);
}
}
?>
Index: append.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/append/append.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** append.html 23 Jul 2004 12:59:36 -0000 1.6
--- append.html 8 Oct 2004 10:01:56 -0000 1.7
***************
*** 20,23 ****
--- 20,27 ----
{{MESSAGES}}
</webbox>
+ <!--# open any popup windows from server-side code #-->
+ <WebBox ID="wbPopupWindows">
+ {{POPUP_WINDOWS}}
+ </WebBox>
<!--# include debug info #-->
|