phpwebapp-commits Mailing List for phpWebApp (Page 16)
Brought to you by:
dashohoxha
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(2) |
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
(43) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(194) |
Sep
(60) |
Oct
(6) |
Nov
|
Dec
(16) |
2004 |
Jan
(73) |
Feb
(13) |
Mar
(5) |
Apr
|
May
(5) |
Jun
|
Jul
(183) |
Aug
|
Sep
(5) |
Oct
(30) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
(35) |
Jul
(17) |
Aug
(2) |
Sep
(6) |
Oct
(19) |
Nov
(108) |
Dec
|
2006 |
Jan
(10) |
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Dashamir H. <das...@us...> - 2004-07-16 07:38:26
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus/sample_menu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20029/boxes/editMenus/sample_menu Removed Files: tri.png sample_menu.php sample_menu.html include_menus.js hierMenus.js Log Message: replaced by a new menu --- tri.png DELETED --- --- sample_menu.php DELETED --- --- sample_menu.html DELETED --- --- include_menus.js DELETED --- --- hierMenus.js DELETED --- |
From: Dashamir H. <das...@us...> - 2004-07-16 07:38:26
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus/sample_menu/menu_data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20029/boxes/editMenus/sample_menu/menu_data Removed Files: menus.dtd menubar.html menubar.css menu_data.xml menu_arrays.js Log Message: replaced by a new menu --- menus.dtd DELETED --- --- menubar.html DELETED --- --- menubar.css DELETED --- --- menu_data.xml DELETED --- --- menu_arrays.js DELETED --- |
From: Dashamir H. <das...@us...> - 2004-07-16 07:37:15
|
Update of /cvsroot/phpwebapp/web_app/database In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19892/database Modified Files: class.PagedRS.php Log Message: Index: class.PagedRS.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/database/class.PagedRS.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** class.PagedRS.php 13 Jul 2004 13:18:08 -0000 1.10 --- class.PagedRS.php 16 Jul 2004 07:37:06 -0000 1.11 *************** *** 115,119 **** */ function getPageVars() ! { $nr_of_pages = ceil($this->nr_of_recs / $this->recs_per_page); if ($this->current_page>$nr_of_pages) $this->current_page=$nr_of_pages; --- 115,120 ---- */ function getPageVars() ! { ! print "getPageVars()"; //debug $nr_of_pages = ceil($this->nr_of_recs / $this->recs_per_page); if ($this->current_page>$nr_of_pages) $this->current_page=$nr_of_pages; *************** *** 217,219 **** } } ! ?> --- 218,220 ---- } } ! ?> \ No newline at end of file |
From: Dashamir H. <das...@us...> - 2004-07-16 07:37:15
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19892/doc Modified Files: to_do.txt changes.txt Log Message: Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** to_do.txt 15 Jul 2004 14:46:04 -0000 1.5 --- to_do.txt 16 Jul 2004 07:37:05 -0000 1.6 *************** *** 1,14 **** * Parse the templates using an XML parser. - - Fix the problems with <Repeat>. - + Why the navigation vars work even without a <RSNavig> template? - - - <input type="checkbox" {{checked}} /> does not work anymore because - it is not well-formed xml. Think about a solution for this. - The same for 'selected'. Maybe it can be solved like this: - <input type="checkbox" checked="{{checked}}" /> - and then the attribute 'checked' is removed (by the parser or the - renderer) if its value is '' (empty) or 'false'. - - Use 'tidy' or any shell scripts for converting from HTML to XHTML. After this, use an XSLT transformer to reformat the templates --- 1,4 ---- *************** *** 24,29 **** conversion tool(s)). - - Replace the old edit_menu with the new one. - - Reformat all the files (automatically with emacs). --- 14,17 ---- Index: changes.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** changes.txt 15 Jul 2004 14:46:04 -0000 1.5 --- changes.txt 16 Jul 2004 07:37:06 -0000 1.6 *************** *** 5,41 **** ------------------------------------------------------------------- - ------------------------------------------------------------------- - ------------------------------------------------------------------- - ------------------------------------------------------------------- - ------------------------------------------------------------------- - * - This is wrong: <If condition="'{{CurrPage}}'<>'{{PrevPage}}'"> - This is wright: <If condition="'{{CurrPage}}'!='{{PrevPage}}'"> - because the xml parser complains about the characters < and > - inside the value of an attribute. - ------------------------------------------------------------------- - * Added the tag <example>. It can be used like this: ! <example style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </example> ! It is converted by the framework to an <xmp> element, like this: ! <xmp style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </xmp> ! The content of the element is copied verbatim, no variable replacement ! or other processing is done. Even the white-space is preserved and ! the overall indentation of the generated page does not touch the ! original indentation of this element. ! Also, the framework preserves the original white-space and indentation ! for the xhtml tags <pre> and <xmp>, however their contents are processed ! for template variables and framework tags. ------------------------------------------------------------------- --- 5,31 ---- ------------------------------------------------------------------- ! * Parsing is done using an XML parser. This means that some ! restrictions that were due to the previous parser, now are removed. ! Such improvments are: ! - The names of the framework tags and their attributes now are ! case insensitive (however lowercase is recommended, according ! to XHTML standards). ! - The framework comments can be like this: <!--#Comment .... -->. ! The empty space after the first diesis is not requried anymore, ! and the ending diesis (#-->) can be omitted. ! - The closing and ending tags are not required to be in separate ! lines anymore. E.g. something like this is ok: ! <if condition="..."> ... </if> ! Previously it was required to be like this: ! <If contition="..."> ! ... ! </If> ! - Templates are now required to be XHTML code, otherwise the ! parser will not parse them successfully. ------------------------------------------------------------------- *************** *** 73,98 **** ------------------------------------------------------------------- ! * Parsing is done using an XML parser. This means that some ! restrictions that were due to the previous parser, now are removed. ! Such improvments are: ! - The names of the framework tags and their attributes now are ! case insensitive (however lowercase is recommended, according ! to XHTML standards). ! - The framework comments can be like this: <!--#Comment .... -->. ! The empty space after the first diesis is not requried anymore, ! and the ending diesis (#-->) can be omitted. ! - The closing and ending tags are not required to be in separate ! lines anymore. E.g. something like this is ok: ! <if condition="..."> ... </if> ! Previously it was required to be like this: ! <If contition="..."> ! ... ! </If> ! - Templates are now required to be XHTML code, otherwise the ! parser will not parse them successfully. ------------------------------------------------------------------- --- 63,102 ---- ------------------------------------------------------------------- ! * Added the tag <example>. It can be used like this: ! <example style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </example> ! It is converted by the framework to an <xmp> element, like this: ! <xmp style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </xmp> ! The content of the element is copied verbatim, no variable replacement ! or other processing is done. Even the white-space is preserved and ! the overall indentation of the generated page does not touch the ! original indentation of this element. ! ! Also, the framework preserves the original white-space and indentation ! for the xhtml tags <pre> and <xmp>, however their contents are processed ! for template variables and framework tags. ------------------------------------------------------------------- + + * - This is wrong: <If condition="'{{CurrPage}}'<>'{{PrevPage}}'"> + This is right: <If condition="'{{CurrPage}}'!='{{PrevPage}}'"> + because the xml parser complains about the characters < and > + inside the value of an attribute. + + ------------------------------------------------------------------- + + ------------------------------------------------------------------- + ------------------------------------------------------------------- + ------------------------------------------------------------------- + ------------------------------------------------------------------- |
From: Dashamir H. <das...@us...> - 2004-07-16 07:37:14
|
Update of /cvsroot/phpwebapp/web_app/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19892/parser Modified Files: class.Render.php Log Message: Index: class.Render.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.Render.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** class.Render.php 15 Jul 2004 13:36:13 -0000 1.11 --- class.Render.php 16 Jul 2004 07:37:05 -0000 1.12 *************** *** 55,58 **** --- 55,61 ---- $str = WebApp::replaceVars($str); + //extra replacements + $str = $this->other_replaces($str); + if ($indent) { *************** *** 66,69 **** --- 69,91 ---- $this->output($str); } + /** Make some extra processing and replacements in the output. */ + function other_replaces($str) + { + //remove checked="no" or checked="false" or checked="" + $pattern = '/ checked=["\'](no|false)?["\']/'; + $str = preg_replace($pattern, '', $str); + //rplace checked="yes" or checked="true" with checked="checked" + $pattern = '/checked=["\'](yes|true)["\']/'; + $str = preg_replace($pattern, 'checked="checked"', $str); + + //remove selected="no" or selected="false" or selected="" + $pattern = '/ selected=["\'](no|false)?["\']/'; + $str = preg_replace($pattern, '', $str); + //rplace selected="yes" or selected="true" with selected="selected" + $pattern = '/selected=["\'](yes|true)["\']/'; + $str = preg_replace($pattern, 'selected="selected"', $str); + + return $str; + } /** Usually prints the given string. */ *************** *** 300,304 **** /** ! * Render it as a normally, but add in the scope of the * template the page (navigation) variables of the recordset, * which are: {{NextPage}}, {{PrevPage}}, etc. --- 322,326 ---- /** ! * Render it as a normal template, but add in the scope of the * template the page (navigation) variables of the recordset, * which are: {{NextPage}}, {{PrevPage}}, etc. |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:30
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/boxes/editMenus Modified Files: editMenus.html Log Message: Index: editMenus.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/editMenus.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** editMenus.html 14 Jul 2004 14:45:41 -0000 1.4 --- editMenus.html 15 Jul 2004 14:46:04 -0000 1.5 *************** *** 10,14 **** <p> ! <form name="editMenusForm" onsubmit="return false;"> <table width="402" border="0" cellspacing="0" cellpadding="1"> <tr><td bgcolor="#006633" align="left"> --- 10,14 ---- <p> ! <form name="editMenusForm" id="editMenusForm" onsubmit="return false;"> <table width="402" border="0" cellspacing="0" cellpadding="1"> <tr><td bgcolor="#006633" align="left"> *************** *** 16,20 **** <tr><td> Selected Menu Element: ! <input type="text" name="id" size="20" onFocus="this.blur()" style="background-color:#dddddd"> </td></tr> <tr><td> --- 16,20 ---- <tr><td> Selected Menu Element: ! <input type="text" name="id" id="id" size="20" onFocus="this.blur()" style="background-color:#dddddd"> </td></tr> <tr><td> *************** *** 23,31 **** <td> description: <br /> ! <input type="text" name="description" size="30"> </td> <td> action: <br /> ! <input type="text" name="action" size="30"> </td> </tr> --- 23,31 ---- <td> description: <br /> ! <input type="text" name="description" id="description" size="30"> </td> <td> action: <br /> ! <input type="text" name="action" id="action" size="30"> </td> </tr> *************** *** 33,40 **** </td></tr> <tr><td> ! <input type="button" name="move_up" value="Move Up" onClick="on_moveUp()"> ! <input type="button" name="move_down" value="Move Down" onClick="on_moveDown()"> ! <input type="button" name="update" value="Update" onClick="on_update()"> ! <input type="button" name="delete" value="Delete" onClick="on_delete()"> </td></tr> </table> --- 33,40 ---- </td></tr> <tr><td> ! <input type="button" name="move_up" id="move_up" value="Move Up" onClick="on_moveUp()"> ! <input type="button" name="move_down" id="move_down" value="Move Down" onClick="on_moveDown()"> ! <input type="button" name="update" id="update" value="Update" onClick="on_update()"> ! <input type="button" name="delete" id="delete" value="Delete" onClick="on_delete()"> </td></tr> </table> *************** *** 55,76 **** <td> description: <br /> ! <textarea name="description_list" cols="25" rows="5"></textarea> <!--# ! <input type="text" name="descr" size="30"> ! <input type="text" name="descr" size="30"> ! <input type="text" name="descr" size="30"> ! <input type="text" name="descr" size="30"> ! <input type="text" name="descr" size="30"> #--> </td> <td> action: <br /> ! <textarea name="action_list" cols="25" rows="5"></textarea> <!--# ! <input type="text" name="action" size="30"> ! <input type="text" name="action" size="30"> ! <input type="text" name="action" size="30"> ! <input type="text" name="action" size="30"> ! <input type="text" name="action" size="30"> #--> </td> --- 55,76 ---- <td> description: <br /> ! <textarea name="description_list" id="description_list" cols="25" rows="5"></textarea> <!--# ! <input type="text" name="descr" id="descr" size="30"> ! <input type="text" name="descr" id="descr" size="30"> ! <input type="text" name="descr" id="descr" size="30"> ! <input type="text" name="descr" id="descr" size="30"> ! <input type="text" name="descr" id="descr" size="30"> #--> </td> <td> action: <br /> ! <textarea name="action_list" id="action_list" cols="25" rows="5"></textarea> <!--# ! <input type="text" name="action" id="action" size="30"> ! <input type="text" name="action" id="action" size="30"> ! <input type="text" name="action" id="action" size="30"> ! <input type="text" name="action" id="action" size="30"> ! <input type="text" name="action" id="action" size="30"> #--> </td> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:30
|
Update of /cvsroot/phpwebapp/web_app/append In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/append Modified Files: wbDebug.html wbDbgStatevars.php Log Message: Index: wbDebug.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbDebug.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wbDebug.html 14 Jul 2004 14:45:41 -0000 1.5 --- wbDebug.html 15 Jul 2004 14:46:04 -0000 1.6 *************** *** 5,12 **** <table bgcolor="#aaaaaa" border="0" cellspacing="1" cellpadding="2"> <tr> ! <td bgcolor="#eeeeee" nowrap="true"> <a href="{{extern_link}}" target="new_window">External Link:</a> </td> ! <td bgcolor="#f9f9ff" nowrap="true"> {{extern_link}} </td> --- 5,12 ---- <table bgcolor="#aaaaaa" border="0" cellspacing="1" cellpadding="2"> <tr> ! <td bgcolor="#eeeeee" nowrap="nowrap"> <a href="{{extern_link}}" target="new_window">External Link:</a> </td> ! <td bgcolor="#f9f9ff" nowrap="nowrap"> {{extern_link}} </td> Index: wbDbgStatevars.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbDbgStatevars.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wbDbgStatevars.php 14 Jul 2004 14:45:41 -0000 1.7 --- wbDbgStatevars.php 15 Jul 2004 14:46:04 -0000 1.8 *************** *** 37,41 **** { $tree = "<hr />\n"; ! $tree .= "<a name='tree'> </a>"; $tree .= "<strong>WebObjects and their state variables:</strong>\n"; $tree .= "<pre>"; --- 37,41 ---- { $tree = "<hr />\n"; ! $tree .= "<a name='tree' id='tree'> </a>"; $tree .= "<strong>WebObjects and their state variables:</strong>\n"; $tree .= "<pre>"; |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:16
|
Update of /cvsroot/phpwebapp/web_app/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/parser Modified Files: class.WebPage.php class.WebObject.php class.Template.php Log Message: Index: class.WebPage.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebPage.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** class.WebPage.php 15 Jul 2004 13:36:13 -0000 1.11 --- class.WebPage.php 15 Jul 2004 14:46:04 -0000 1.12 *************** *** 229,233 **** function template_list() { ! $html = "<a name='top'> </a>\n"; $html .= "<div class='webapp'>\n"; $html .= "<strong>List of Templates of the Page:</strong>\n"; --- 229,233 ---- function template_list() { ! $html = "<a name='top' id='top'> </a>\n"; $html .= "<div class='webapp'>\n"; $html .= "<strong>List of Templates of the Page:</strong>\n"; *************** *** 262,266 **** { $tree = "<hr />\n"; ! $tree .= "<a name='top'> </a>\n"; $tree .= "<pre class='webapp'>\n"; $tree .= "<strong>The tree structure of the templates:</strong>\n\n"; --- 262,266 ---- { $tree = "<hr />\n"; ! $tree .= "<a name='top' id='top'> </a>\n"; $tree .= "<pre class='webapp'>\n"; $tree .= "<strong>The tree structure of the templates:</strong>\n\n"; Index: class.WebObject.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebObject.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** class.WebObject.php 14 Jul 2004 14:45:41 -0000 1.8 --- class.WebObject.php 15 Jul 2004 14:46:04 -0000 1.9 *************** *** 202,206 **** $html = " <br /> ! <a name='$this->id'> </a>[<a href='tree'>Top</a>] <table bgcolor='#aaaaaa' border='0' cellspacing='1' cellpadding='2'> <tr> --- 202,206 ---- $html = " <br /> ! <a name='$this->id' id='$this->id'> </a>[<a href='tree'>Top</a>] <table bgcolor='#aaaaaa' border='0' cellspacing='1' cellpadding='2'> <tr> Index: class.Template.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/class.Template.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** class.Template.php 15 Jul 2004 13:36:13 -0000 1.11 --- class.Template.php 15 Jul 2004 14:46:04 -0000 1.12 *************** *** 158,162 **** $htmlTable = " <br /> ! <a name='$this->id'> </a>[<a href='javascript: back()'>Back</a>] <table class='webapp' width='90%' bgcolor='#aaaaaa' border='0' cellspacing='1' cellpadding='2'>". $this->attribs2html() . $this->vars2html() . " <tr><td colspan='2' bgcolor='#f9f9ff'> --- 158,162 ---- $htmlTable = " <br /> ! <a name='$this->id' id='$this->id'> </a>[<a href='javascript: back()'>Back</a>] <table class='webapp' width='90%' bgcolor='#aaaaaa' border='0' cellspacing='1' cellpadding='2'>". $this->attribs2html() . $this->vars2html() . " <tr><td colspan='2' bgcolor='#f9f9ff'> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:16
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/doc Modified Files: to_do.txt changes.txt Log Message: Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** to_do.txt 15 Jul 2004 13:36:13 -0000 1.4 --- to_do.txt 15 Jul 2004 14:46:04 -0000 1.5 *************** *** 4,7 **** --- 4,14 ---- + Why the navigation vars work even without a <RSNavig> template? + - <input type="checkbox" {{checked}} /> does not work anymore because + it is not well-formed xml. Think about a solution for this. + The same for 'selected'. Maybe it can be solved like this: + <input type="checkbox" checked="{{checked}}" /> + and then the attribute 'checked' is removed (by the parser or the + renderer) if its value is '' (empty) or 'false'. + - Use 'tidy' or any shell scripts for converting from HTML to XHTML. After this, use an XSLT transformer to reformat the templates Index: changes.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** changes.txt 14 Jul 2004 14:45:41 -0000 1.4 --- changes.txt 15 Jul 2004 14:46:04 -0000 1.5 *************** *** 9,12 **** --- 9,16 ---- ------------------------------------------------------------------- ------------------------------------------------------------------- + * - This is wrong: <If condition="'{{CurrPage}}'<>'{{PrevPage}}'"> + This is wright: <If condition="'{{CurrPage}}'!='{{PrevPage}}'"> + because the xml parser complains about the characters < and > + inside the value of an attribute. ------------------------------------------------------------------- * Added the tag <example>. It can be used like this: |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:15
|
Update of /cvsroot/phpwebapp/web_app/boxes/folderManager In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/boxes/folderManager Modified Files: folderEditing.html Log Message: Index: folderEditing.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/folderManager/folderEditing.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** folderEditing.html 22 Aug 2003 06:47:20 -0000 1.3 --- folderEditing.html 15 Jul 2004 14:46:04 -0000 1.4 *************** *** 1,4 **** <WebBox ID="folderEditing"> ! <form name="folderEditing_Form" onSubmit="return false;"> <table border="0" cellspacing="0" cellpadding="5"> <tr><td> --- 1,4 ---- <WebBox ID="folderEditing"> ! <form name="folderEditing_Form" id="folderEditing_Form" onSubmit="return false;"> <table border="0" cellspacing="0" cellpadding="5"> <tr><td> *************** *** 7,21 **** </td></tr> <tr><td> ! Rename folder: <input type="text" name="fromFolder" class="i125"> ! to: <input type="text" name="toFolder" class="i125"> ! <input type="button" name="rename" value="Rename" onClick="on_rename()"> </td></tr> <tr><td> ! Delete folder: <input type="text" name="delFolder" class="i125"> ! <input type="button" name="delete" value="Delete" onClick="on_delete()"> </td></tr> <tr><td> ! Add new folder: <input type="text" name="newFolder" class="i125"> ! <input type="button" name="addNew" value="Add New" onClick="on_addNew()"> </td></tr> </table> --- 7,21 ---- </td></tr> <tr><td> ! Rename folder: <input type="text" name="fromFolder" id="fromFolder" class="i125"> ! to: <input type="text" name="toFolder" id="toFolder" class="i125"> ! <input type="button" name="rename" id="rename" value="Rename" onClick="on_rename()"> </td></tr> <tr><td> ! Delete folder: <input type="text" name="delFolder" id="delFolder" class="i125"> ! <input type="button" name="delete" id="delete" value="Delete" onClick="on_delete()"> </td></tr> <tr><td> ! Add new folder: <input type="text" name="newFolder" id="newFolder" class="i125"> ! <input type="button" name="addNew" id="addNew" value="Add New" onClick="on_addNew()"> </td></tr> </table> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:14
|
Update of /cvsroot/phpwebapp/web_app/session In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/session Modified Files: wbSession.html class.Session.php Log Message: Index: wbSession.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/wbSession.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wbSession.html 14 Jul 2004 14:45:41 -0000 1.5 --- wbSession.html 15 Jul 2004 14:46:04 -0000 1.6 *************** *** 4,13 **** the event (and event args), the php vars etc. #--> ! <form name="WebAppForm" method="{{method}}" onSubmit="return false;"> ! <input type="hidden" name="sourcePage" value="{{sourcePage}}"/> ! <input type="hidden" name="targetPage" value=""/> ! <input type="hidden" name="sessionVars" value=""/> ! <input type="hidden" name="strEvent" value=""/> ! <input type="hidden" name="phpVars" value=""/> </form> --- 4,13 ---- the event (and event args), the php vars etc. #--> ! <form name="WebAppForm" id="WebAppForm" method="{{method}}" onSubmit="return false;"> ! <input type="hidden" name="sourcePage" id="sourcePage" value="{{sourcePage}}"/> ! <input type="hidden" name="targetPage" id="targetPage" value=""/> ! <input type="hidden" name="sessionVars" id="sessionVars" value=""/> ! <input type="hidden" name="strEvent" id="strEvent" value=""/> ! <input type="hidden" name="phpVars" id="phpVars" value=""/> </form> Index: class.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** class.Session.php 15 Jul 2004 13:36:13 -0000 1.9 --- class.Session.php 15 Jul 2004 14:46:04 -0000 1.10 *************** *** 339,343 **** $html = " <br /> ! <a name='session'> </a>[<a href='tree'>Top</a>] <table bgcolor='#aaaaaa' border='0' cellspacing='1' cellpadding='2'> <tr> --- 339,343 ---- $html = " <br /> ! <a name='session' id='session'> </a>[<a href='tree'>Top</a>] <table bgcolor='#aaaaaa' border='0' cellspacing='1' cellpadding='2'> <tr> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:14
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/timer Modified Files: class.Timer.php class.Timer.js Log Message: Index: class.Timer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** class.Timer.php 15 Jul 2004 13:36:13 -0000 1.7 --- class.Timer.php 15 Jul 2004 14:46:04 -0000 1.8 *************** *** 77,83 **** </tr> <tr> ! <td bgcolor='#eeeeee' nowrap='true'> Process ID </td> ! <td bgcolor='#eeeeee' nowrap='true'> Execution Time (msec) </td> ! <td bgcolor='#eeeeee' nowrap='true'> Comment </td> </tr>"; --- 77,83 ---- </tr> <tr> ! <td bgcolor='#eeeeee' nowrap='nowrap'> Process ID </td> ! <td bgcolor='#eeeeee' nowrap='nowrap'> Execution Time (msec) </td> ! <td bgcolor='#eeeeee' nowrap='nowrap'> Comment </td> </tr>"; Index: class.Timer.js =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.js,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** class.Timer.js 25 Aug 2003 13:18:30 -0000 1.4 --- class.Timer.js 15 Jul 2004 14:46:04 -0000 1.5 *************** *** 92,98 **** </tr>\ <tr>\ ! <td bgcolor='#eeeeee' nowrap='true'> Process ID </td>\ ! <td bgcolor='#eeeeee' nowrap='true'> Execution Time (msec) </td>\ ! <td bgcolor='#eeeeee' nowrap='true'> Comment </td>\ </tr>"; --- 92,98 ---- </tr>\ <tr>\ ! <td bgcolor='#eeeeee' nowrap='nowrap'> Process ID </td>\ ! <td bgcolor='#eeeeee' nowrap='nowrap'> Execution Time (msec) </td>\ ! <td bgcolor='#eeeeee' nowrap='nowrap'> Comment </td>\ </tr>"; |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:14
|
Update of /cvsroot/phpwebapp/web_app/session/sample In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/session/sample Modified Files: test.Session.php Log Message: Index: test.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/sample/test.Session.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test.Session.php 14 Jul 2004 14:45:35 -0000 1.4 --- test.Session.php 15 Jul 2004 14:46:04 -0000 1.5 *************** *** 19,32 **** <!-- this hidden input does not allow the page to be cached --> ! <input type="hidden" name="timestamp" value="<?echo time()?>"> <h1> Page: test.Session.php </h1> <h3> Timestamp: <?echo date("d/m/Y H:i:s")?> </h3> ! <form name="addVarForm"> Add a new variable to the session:<br /> ! var_name : <input type="text" name="var_name" value=""><br /> ! var_value: <input type="text" name="var_value" value=""><br /> <a href="JavaScript:on_Add()"> --- 19,32 ---- <!-- this hidden input does not allow the page to be cached --> ! <input type="hidden" name="timestamp" id="timestamp" value="<?echo time()?>"> <h1> Page: test.Session.php </h1> <h3> Timestamp: <?echo date("d/m/Y H:i:s")?> </h3> ! <form name="addVarForm" id="addVarForm"> Add a new variable to the session:<br /> ! var_name : <input type="text" name="var_name" id="var_name" value=""><br /> ! var_value: <input type="text" name="var_value" id="var_value" value=""><br /> <a href="JavaScript:on_Add()"> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:13
|
Update of /cvsroot/phpwebapp/web_app/tools/fileBrowser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/tools/fileBrowser Modified Files: panel.php panel.html fileBrowser.html Log Message: Index: panel.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/panel.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** panel.php 25 Aug 2003 13:18:29 -0000 1.4 --- panel.php 15 Jul 2004 14:46:03 -0000 1.5 *************** *** 38,42 **** { WebApp::addVars( array( ! "codeView_checked" => 'checked="true"', "preview_checked" => '' )); --- 38,42 ---- { WebApp::addVars( array( ! "codeView_checked" => 'checked="checked"', "preview_checked" => '' )); *************** *** 46,50 **** WebApp::addVars( array( "codeView_checked" => '', ! "preview_checked" => 'checked="true"' )); } --- 46,50 ---- WebApp::addVars( array( "codeView_checked" => '', ! "preview_checked" => 'checked="checked"' )); } Index: panel.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/panel.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** panel.html 14 Jul 2004 14:45:35 -0000 1.3 --- panel.html 15 Jul 2004 14:46:03 -0000 1.4 *************** *** 4,30 **** <table border="0" cellspacing="0" cellpadding="1" bgcolor="white"> <tr> ! <form name="changeViewForm" onsubmit="return false;"> ! <td width="17%" nowrap="true" valign="top"> ! <input type="checkbox" name="hide" class="checkbox"><span class="font">Hide Folder Box</span><br /> ! <input type="button" name="refresh" value="Refresh" class="button" onclick="on_refresh()"> </td> ! <td width="17%" nowrap="true" valign="top"> ! <input type="radio" name="viewMode" value="codeView" class="radio" {{codeView_checked}}><span class="font">Code View</span> <br /> ! <input type="radio" name="viewMode" value="preview" class="radio" {{preview_checked}}><span class="font">Preview</span> </td> <td bgcolor="#006633"></td> ! <td width="10%" nowrap="true" valign="top" align="right"> <span class="font">Change Session:</span> <br /> ! <input type="button" name="changeSess" value="Change" class="button" onclick="on_changeSess()"> </td> ! <td width="20%" nowrap="true" valign="top"> ! <input type="text" name="var_name" class="text" size="15"> <br /> ! <input type="text" name="var_value" class="text" size="15"> </td> <td bgcolor="#006633"></td> ! <td width="40%" nowrap="true"> <span class="font">Root Folder:</span> <br /> ! <input type="text" name="root_folder" class="text" value="{{folderListing->root}}" size="30"> ! <input type="button" name="changePath" value="GO" class="button" onclick="on_changePath()"> </td> </form> --- 4,30 ---- <table border="0" cellspacing="0" cellpadding="1" bgcolor="white"> <tr> ! <form name="changeViewForm" id="changeViewForm" onsubmit="return false;"> ! <td width="17%" nowrap="nowrap" valign="top"> ! <input type="checkbox" name="hide" id="hide" class="checkbox"><span class="font">Hide Folder Box</span><br /> ! <input type="button" name="refresh" id="refresh" value="Refresh" class="button" onclick="on_refresh()"> </td> ! <td width="17%" nowrap="nowrap" valign="top"> ! <input type="radio" name="viewMode" id="viewMode" value="codeView" class="radio" {{codeView_checked}}><span class="font">Code View</span> <br /> ! <input type="radio" name="viewMode" id="viewMode" value="preview" class="radio" {{preview_checked}}><span class="font">Preview</span> </td> <td bgcolor="#006633"></td> ! <td width="10%" nowrap="nowrap" valign="top" align="right"> <span class="font">Change Session:</span> <br /> ! <input type="button" name="changeSess" id="changeSess" value="Change" class="button" onclick="on_changeSess()"> </td> ! <td width="20%" nowrap="nowrap" valign="top"> ! <input type="text" name="var_name" id="var_name" class="text" size="15"> <br /> ! <input type="text" name="var_value" id="var_value" class="text" size="15"> </td> <td bgcolor="#006633"></td> ! <td width="40%" nowrap="nowrap"> <span class="font">Root Folder:</span> <br /> ! <input type="text" name="root_folder" id="root_folder" class="text" value="{{folderListing->root}}" size="30"> ! <input type="button" name="changePath" id="changePath" value="GO" class="button" onclick="on_changePath()"> </td> </form> Index: fileBrowser.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/fileBrowser.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** fileBrowser.html 14 Jul 2004 14:45:35 -0000 1.4 --- fileBrowser.html 15 Jul 2004 14:46:03 -0000 1.5 *************** *** 11,15 **** <tr> <If condition="{{panel->folderVisible}}"> ! <td width="200" valign="top" nowrap="true"> <Include SRC="{{./}}folder.html" /> </td> --- 11,15 ---- <tr> <If condition="{{panel->folderVisible}}"> ! <td width="200" valign="top" nowrap="nowrap"> <Include SRC="{{./}}folder.html" /> </td> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:13
|
Update of /cvsroot/phpwebapp/web_app/webobjects/form In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/webobjects/form Modified Files: formWebObj.txt Log Message: Index: formWebObj.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/form/formWebObj.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** formWebObj.txt 16 Jul 2003 09:27:59 -0000 1.3 --- formWebObj.txt 15 Jul 2004 14:46:03 -0000 1.4 *************** *** 9,13 **** <WebBox ID="editProject"> ! <form name="bigForm"> . . . . . . . . <!--# many <input>s, <select>s, etc. here #--> --- 9,13 ---- <WebBox ID="editProject"> ! <form name="bigForm" id="bigForm"> . . . . . . . . <!--# many <input>s, <select>s, etc. here #--> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:12
|
Update of /cvsroot/phpwebapp/web_app/webobjects/listbox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/webobjects/listbox Modified Files: listbox.txt listbox.html Log Message: Index: listbox.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/listbox/listbox.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** listbox.txt 24 Sep 2003 14:12:30 -0000 1.4 --- listbox.txt 15 Jul 2004 14:46:03 -0000 1.5 *************** *** 43,47 **** This WebClass uses a <select> tag like this: ! <select name="{{obj_name}}" onchange="{{onchange}}"> . . . . . </select> --- 43,47 ---- This WebClass uses a <select> tag like this: ! <select name="{{obj_name}}" id="{{obj_name}}" onchange="{{onchange}}"> . . . . . </select> Index: listbox.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/listbox/listbox.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** listbox.html 20 Jan 2004 07:33:24 -0000 1.3 --- listbox.html 15 Jul 2004 14:46:03 -0000 1.4 *************** *** 5,9 **** <Parameter name="width" default="" /> ! <select name="{{obj_name}}" onchange="{{onchange}}"> <Repeat rs="{{rs}}"> <Var name="selected">('{{id}}'=='{{value}}' ? "selected" : "")</Var> --- 5,9 ---- <Parameter name="width" default="" /> ! <select name="{{obj_name}}" id="{{obj_name}}" onchange="{{onchange}}"> <Repeat rs="{{rs}}"> <Var name="selected">('{{id}}'=='{{value}}' ? "selected" : "")</Var> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:12
|
Update of /cvsroot/phpwebapp/web_app/webobjects/dbTable In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/webobjects/dbTable Modified Files: editRecord.html Log Message: Index: editRecord.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/dbTable/editRecord.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** editRecord.html 11 May 2004 06:45:29 -0000 1.4 --- editRecord.html 15 Jul 2004 14:46:03 -0000 1.5 *************** *** 1,5 **** <WebClass ID="editRecord"> <If condition="!('{{state}}'=='hidden')"> ! <form name="{{obj_name}}" onsubmit="return false;"> <table bgcolor="#aaaaaa" border="0" cellspacing="0" cellpadding="0"> <Repeat rs="{{table}}->fields"> --- 1,5 ---- <WebClass ID="editRecord"> <If condition="!('{{state}}'=='hidden')"> ! <form name="{{obj_name}}" id="{{obj_name}}" onsubmit="return false;"> <table bgcolor="#aaaaaa" border="0" cellspacing="0" cellpadding="0"> <Repeat rs="{{table}}->fields"> *************** *** 8,12 **** <td> <input type="text" class="editRecord_field" ! name="{{fld_name}}" value="{{{{fld_name}}}}"> </td> <tr> --- 8,12 ---- <td> <input type="text" class="editRecord_field" ! name="{{fld_name}}" id="{{fld_name}}" value="{{{{fld_name}}}}"> </td> <tr> |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:12
|
Update of /cvsroot/phpwebapp/web_app/webobjects/datebox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/webobjects/datebox Modified Files: datebox.html Log Message: Index: datebox.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/datebox/datebox.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** datebox.html 20 Jan 2004 07:33:24 -0000 1.5 --- datebox.html 15 Jul 2004 14:46:03 -0000 1.6 *************** *** 3,9 **** <Parameter name="onchange" default="return false;" /> <Parameter name="format" default="YYYY-MM-DD" /> ! <input type="hidden" name="{{obj_name}}" value="{{value}}" /> <input type="text" class="datebox" ! name="text_{{obj_name}}" value="{{text_value}}" onchange="{{onchange}}" --- 3,9 ---- <Parameter name="onchange" default="return false;" /> <Parameter name="format" default="YYYY-MM-DD" /> ! <input type="hidden" name="{{obj_name}}" id="{{obj_name}}" value="{{value}}" /> <input type="text" class="datebox" ! name="text_{{obj_name}}" id="text_{{obj_name}}" value="{{text_value}}" onchange="{{onchange}}" |
From: Dashamir H. <das...@us...> - 2004-07-15 14:46:12
|
Update of /cvsroot/phpwebapp/web_app/webobjects/xlistbox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16073/webobjects/xlistbox Modified Files: xlistbox.html Log Message: Index: xlistbox.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/xlistbox/xlistbox.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xlistbox.html 14 Jul 2004 14:45:35 -0000 1.4 --- xlistbox.html 15 Jul 2004 14:46:03 -0000 1.5 *************** *** 8,12 **** </Var> <If condition="{{mainlist}}"> ! <select name="{{obj_name}}" onchange="{{onchange}};{{refill_sublist}}"> <option value="">----------------</option> --- 8,12 ---- </Var> <If condition="{{mainlist}}"> ! <select name="{{obj_name}}" id="{{obj_name}}" onchange="{{onchange}};{{refill_sublist}}"> <option value="">----------------</option> *************** *** 21,25 **** </If> <If condition="!{{mainlist}}"> ! <select name="{{obj_name}}" onchange="{{onchange}};{{refill_sublist}}"> <option value="">----------------</option> --- 21,25 ---- </If> <If condition="!{{mainlist}}"> ! <select name="{{obj_name}}" id="{{obj_name}}" onchange="{{onchange}};{{refill_sublist}}"> <option value="">----------------</option> |
From: Dashamir H. <das...@us...> - 2004-07-15 13:36:32
|
Update of /cvsroot/phpwebapp/web_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760 Modified Files: class.WebApp.php Log Message: Index: class.WebApp.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/class.WebApp.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** class.WebApp.php 14 Jul 2004 14:45:41 -0000 1.18 --- class.WebApp.php 15 Jul 2004 13:36:13 -0000 1.19 *************** *** 594,598 **** <strong>XML Error:</strong> $error_string. At <strong>$fname</strong>, line <strong>$line_nr</strong>, column <strong>$col_nr</strong>: <br /> ! <span class='xml_err_str'>...$xml_string</span>. </div> "; --- 594,598 ---- <strong>XML Error:</strong> $error_string. At <strong>$fname</strong>, line <strong>$line_nr</strong>, column <strong>$col_nr</strong>: <br /> ! <span class='xml_err_str'>$xml_string</span>. </div> "; |
From: Dashamir H. <das...@us...> - 2004-07-15 13:36:32
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760/doc Modified Files: to_do.txt Log Message: Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** to_do.txt 14 Jul 2004 14:45:41 -0000 1.3 --- to_do.txt 15 Jul 2004 13:36:13 -0000 1.4 *************** *** 1,11 **** * Parse the templates using an XML parser. - - The xml parser has problems with entities (e.g. < & etc.). Why? - - Fix the problems with <Repeat>. + Why the navigation vars work even without a <RSNavig> template? - - Fix some errors with JS. - - Use 'tidy' or any shell scripts for converting from HTML to XHTML. After this, use an XSLT transformer to reformat the templates --- 1,7 ---- |
From: Dashamir H. <das...@us...> - 2004-07-15 13:36:32
|
Update of /cvsroot/phpwebapp/web_app/session In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760/session Modified Files: doc.Session.txt class.Session.php Log Message: Index: doc.Session.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/doc.Session.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** doc.Session.txt 14 Jul 2004 14:45:41 -0000 1.3 --- doc.Session.txt 15 Jul 2004 13:36:13 -0000 1.4 *************** *** 68,77 **** <script type="text/javascript" language="JavaScript" src="class.Session.js"></script> <script type="text/javascript" language="JavaScript"> ! <![CDATA[ session = new Session(); session.addVar('ID_S','IP: 192.168.1.2; DATE: 2001/11/01/ 00:24:33'); session.addVar('var1','val1'); session.addVar('var2','val2'); ! ]]> </script> --- 68,77 ---- <script type="text/javascript" language="JavaScript" src="class.Session.js"></script> <script type="text/javascript" language="JavaScript"> ! //<![CDATA[ session = new Session(); session.addVar('ID_S','IP: 192.168.1.2; DATE: 2001/11/01/ 00:24:33'); session.addVar('var1','val1'); session.addVar('var2','val2'); ! //]]> </script> Index: class.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** class.Session.php 14 Jul 2004 14:45:41 -0000 1.8 --- class.Session.php 15 Jul 2004 13:36:13 -0000 1.9 *************** *** 288,294 **** function to_JS() { ! $session_vars = '<script type="text/javascript" language="javascript">'."\n"; ! $session_vars .= "<![CDATA[\n"; ! $session_vars .= " session = new Session();\n"; reset($this->Vars); //add each variable of the session --- 288,294 ---- function to_JS() { ! $session_vars = '<script type="text/javascript" language="javascript">' ! . "\n//<![CDATA[\n" ! . " session = new Session();\n"; reset($this->Vars); //add each variable of the session *************** *** 298,303 **** $session_vars .= " session.addVar('$var_name','$var_value');\n"; } ! $session_vars .= "]]>\n"; ! $session_vars .= "</script>"; return $session_vars; --- 298,303 ---- $session_vars .= " session.addVar('$var_name','$var_value');\n"; } ! $session_vars .= "//]]>\n" ! . "</script>"; return $session_vars; |
From: Dashamir H. <das...@us...> - 2004-07-15 13:36:32
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760/timer Modified Files: class.Timer.php Log Message: Index: class.Timer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** class.Timer.php 14 Jul 2004 14:45:35 -0000 1.6 --- class.Timer.php 15 Jul 2004 13:36:13 -0000 1.7 *************** *** 106,114 **** <script type=\"text/javascript\" language=\"javascript\" src=\"".$timer_path."class.Timer.js\"></script> <script type=\"text/javascript\" language=\"javascript\"> ! <![CDATA[ var timer = new Timer(); var comment = 'Time that spends the web-page to be transfered and loaded in browser'; timer.Start('web-page', comment); ! ]]> </script> "; --- 106,114 ---- <script type=\"text/javascript\" language=\"javascript\" src=\"".$timer_path."class.Timer.js\"></script> <script type=\"text/javascript\" language=\"javascript\"> ! //<![CDATA[ var timer = new Timer(); var comment = 'Time that spends the web-page to be transfered and loaded in browser'; timer.Start('web-page', comment); ! //]]> </script> "; *************** *** 120,129 **** $js_code = " <script type=\"text/javascript\" language=\"javascript\"> ! <![CDATA[ var timerHtmlTable; timer.Stop('web-page'); timerHtmlTable = timer.toHtmlTable(); document.write(timerHtmlTable); ! ]]> </script> "; --- 120,129 ---- $js_code = " <script type=\"text/javascript\" language=\"javascript\"> ! //<![CDATA[ var timerHtmlTable; timer.Stop('web-page'); timerHtmlTable = timer.toHtmlTable(); document.write(timerHtmlTable); ! //]]> </script> "; |
From: Dashamir H. <das...@us...> - 2004-07-15 13:36:31
|
Update of /cvsroot/phpwebapp/web_app/append In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760/append Modified Files: wbDebug.php Log Message: Index: wbDebug.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbDebug.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wbDebug.php 14 Jul 2004 14:45:41 -0000 1.5 --- wbDebug.php 15 Jul 2004 13:36:13 -0000 1.6 *************** *** 11,15 **** global $webPage; ! $debug_goto = '<script type="text/javascript" language="javascript"> debug_GoTo = true; </script>'; WebApp::addVar("debug_goto", $debug_goto); --- 11,21 ---- global $webPage; ! $debug_goto = ' ! <script type="text/javascript" language="javascript"> ! //<![CDATA[ ! debug_GoTo = true; ! //]]> ! </script> ! '; WebApp::addVar("debug_goto", $debug_goto); |
From: Dashamir H. <das...@us...> - 2004-07-15 13:36:31
|
Update of /cvsroot/phpwebapp/web_app/webobjects/xlistbox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760/webobjects/xlistbox Modified Files: xlistbox.txt Log Message: Index: xlistbox.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/xlistbox/xlistbox.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xlistbox.txt 14 Jul 2004 14:45:35 -0000 1.4 --- xlistbox.txt 15 Jul 2004 13:36:13 -0000 1.5 *************** *** 71,80 **** after the </form> is closed: <script type="text/javascript" language="javascript"> ! <![CDATA[ var form = document.userdata; xlistbox_select(form.office, '{{office}}'); fill_sublist(form.department, '{{office}}', '{{department}}'); fill_sublist(form.user, '{{department}}', '{{user}}'); ! ]]> </script> The mainlist usually doesn't need to be initialized, because it is --- 71,80 ---- after the </form> is closed: <script type="text/javascript" language="javascript"> ! //<![CDATA[ var form = document.userdata; xlistbox_select(form.office, '{{office}}'); fill_sublist(form.department, '{{office}}', '{{department}}'); fill_sublist(form.user, '{{department}}', '{{user}}'); ! //]]> </script> The mainlist usually doesn't need to be initialized, because it is |