Update of /cvsroot/phpwebapp/web_app/append
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19096/append
Modified Files:
Tag: phpwebapp-1_0
append.html
Added Files:
Tag: phpwebapp-1_0
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.3
retrieving revision 1.3.2.1
diff -C2 -d -r1.3 -r1.3.2.1
*** append.html 15 Aug 2003 07:05:07 -0000 1.3
--- append.html 8 Oct 2004 10:12:56 -0000 1.3.2.1
***************
*** 19,22 ****
--- 19,26 ----
{{MESSAGES}}
</WebBox>
+ <!--# open any popup windows from server-side code #-->
+ <WebBox ID="wbPopupWindows">
+ {{POPUP_WINDOWS}}
+ </WebBox>
<!--# include debug info #-->
<Include SRC="{{./}}wbDebug.html" />
|