phpwebapp-commits Mailing List for phpWebApp (Page 4)
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...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/database In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/database Modified Files: class.Connection.php Log Message: automatic code documentation generation Index: class.Connection.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/database/class.Connection.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** class.Connection.php 22 Jul 2004 16:25:38 -0000 1.8 --- class.Connection.php 2 Nov 2005 15:17:54 -0000 1.9 *************** *** 20,23 **** --- 20,28 ---- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + + /** + * Abstract class for creating a connection to the database. + * @package database + */ class Connection { |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/docbook In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/docbook Modified Files: docbook.php Log Message: automatic code documentation generation Index: docbook.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/docbook/docbook.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** docbook.php 26 Oct 2005 14:31:07 -0000 1.1 --- docbook.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 24,27 **** --- 24,39 ---- define('WEBNOTES_ENABLE', 'true'); + /** + * The 'docbook' webbox is used just to display the cache (HTML) files + * of a DocBookWiki application. It is useful for including a docbook + * document in an application. + * + * If the constant WEBNOTES_ENABLE is defined as 'true', then webnotes + * will be appended at the end of each section. This constant is set at the + * begining of 'docbook.php'. + * + * @package components + * @subpackage docbook + */ class docbook extends WebObject { |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/menu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/menu Modified Files: book_list.php Log Message: automatic code documentation generation Index: book_list.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/menu/book_list.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** book_list.php 16 Jul 2004 07:41:39 -0000 1.1 --- book_list.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 2,5 **** --- 2,7 ---- /** * This file contains an array with the list of books and their titles. + * @package components + * @subpackage menu */ $arr_books = |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/codeViewer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/codeViewer Modified Files: codeViewer.php Log Message: automatic code documentation generation Index: codeViewer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/codeViewer/codeViewer.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** codeViewer.php 22 Jul 2004 16:25:39 -0000 1.7 --- codeViewer.php 2 Nov 2005 15:17:54 -0000 1.8 *************** *** 23,27 **** /** ! * @package boxes * @subpackage codeViewer */ --- 23,30 ---- /** ! * The 'codeViewer' component can be used to display the PHP, HTML, ! * JavaScript, etc., code files in HTML format. ! * ! * @package components * @subpackage codeViewer */ |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/folderManager In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/folderManager Modified Files: folderEditing.php Log Message: automatic code documentation generation Index: folderEditing.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/folderManager/folderEditing.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** folderEditing.php 22 Jul 2004 16:25:38 -0000 1.5 --- folderEditing.php 2 Nov 2005 15:17:54 -0000 1.6 *************** *** 23,27 **** /** ! * @package boxes * @subpackage folderEditing */ --- 23,27 ---- /** ! * @package components * @subpackage folderEditing */ |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/fileView In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/fileView Modified Files: viewUnknown.php viewPHP.php viewImage.php fileView.php Log Message: automatic code documentation generation Index: viewUnknown.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewUnknown.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** viewUnknown.php 22 Jul 2004 16:25:39 -0000 1.5 --- viewUnknown.php 2 Nov 2005 15:17:54 -0000 1.6 *************** *** 22,26 **** /** ! * @package boxes * @subpackage fileView */ --- 22,26 ---- /** ! * @package components * @subpackage fileView */ Index: viewPHP.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewPHP.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** viewPHP.php 22 Jul 2004 16:25:39 -0000 1.4 --- viewPHP.php 2 Nov 2005 15:17:54 -0000 1.5 *************** *** 22,26 **** /** ! * @package boxes * @subpackage fileView */ --- 22,26 ---- /** ! * @package components * @subpackage fileView */ Index: viewImage.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewImage.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** viewImage.php 22 Jul 2004 16:25:39 -0000 1.5 --- viewImage.php 2 Nov 2005 15:17:54 -0000 1.6 *************** *** 22,26 **** /** ! * @package boxes * @subpackage fileView */ --- 22,26 ---- /** ! * @package components * @subpackage fileView */ Index: fileView.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/fileView.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** fileView.php 22 Jul 2004 16:25:39 -0000 1.6 --- fileView.php 2 Nov 2005 15:17:54 -0000 1.7 *************** *** 23,27 **** /** ! * @package boxes * @subpackage fileView */ --- 23,27 ---- /** ! * @package components * @subpackage fileView */ |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/folderListing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/folderListing Modified Files: folderListing.php Log Message: automatic code documentation generation Index: folderListing.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/folderListing/folderListing.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** folderListing.php 1 Nov 2005 13:24:25 -0000 1.6 --- folderListing.php 2 Nov 2005 15:17:54 -0000 1.7 *************** *** 23,27 **** /** ! * @package boxes * @subpackage folderListing */ --- 23,33 ---- /** ! * This box allows the browsing of a folder. It displays a list of ! * subfolders and files that are contained in the folder. It also ! * allows the user to browse the subfolders, to go to the parent folder, ! * to select a file, etc. The files that are displayed are those that ! * match a certain filter specified by the programmer. ! * ! * @package components * @subpackage folderListing */ |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/webnotes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/webnotes Modified Files: webnotes.php DB.php Log Message: automatic code documentation generation Index: webnotes.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/webnotes/webnotes.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** webnotes.php 26 Oct 2005 14:32:16 -0000 1.1 --- webnotes.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 24,27 **** --- 24,39 ---- include_once dirname(__FILE__).'/DB.php'; + /** + * The webbox 'webnotes' can be used to append comments or notes + * to documentation pages or to other web pages. + * This component uses the database; the connection parameters are at + * 'templates/docbook/view/webnotes/DB.php'. + * The application or the webbox that includes it should also give a + * value to the state variable 'webnotes->page_id', which is used to + * select from the database the notes that will be displayed. + * + * @package components + * @subpackage webnotes + */ class webnotes extends WebObject { Index: DB.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/webnotes/DB.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DB.php 26 Oct 2005 14:32:16 -0000 1.1 --- DB.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 1,3 **** --- 1,8 ---- <?php + /** + * @package components + * @subpackage webnotes + */ + //connection parameters $host = 'localhost'; |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:04
|
Update of /cvsroot/phpwebapp/web_app/boxes/menu/edit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/boxes/menu/edit Modified Files: menu_items.php edit_menu.php Log Message: automatic code documentation generation Index: menu_items.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/menu/edit/menu_items.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** menu_items.php 16 Jul 2004 07:41:39 -0000 1.1 --- menu_items.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package components + * @subpackage menu + */ passthru("xsltproc xsl/edit_menu_items.xsl menu.xml"); ?> \ No newline at end of file Index: edit_menu.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/menu/edit/edit_menu.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** edit_menu.php 1 Nov 2005 13:24:25 -0000 1.4 --- edit_menu.php 2 Nov 2005 15:17:54 -0000 1.5 *************** *** 21,24 **** --- 21,28 ---- */ + /** + * @package components + * @subpackage menu + */ class edit_menu extends WebObject { |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:03
|
Update of /cvsroot/phpwebapp/web_app/l10n-module/php-gettext/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/l10n-module/php-gettext/examples Modified Files: pigs.php Log Message: automatic code documentation generation Index: pigs.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/l10n-module/php-gettext/examples/pigs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pigs.php 1 Nov 2005 13:05:57 -0000 1.1 --- pigs.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 21,24 **** --- 21,29 ---- */ + /** + * @package misc + * @subpackage php-gettext + */ + require("../streams.php"); require("../gettext.php"); |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:03
|
Update of /cvsroot/phpwebapp/web_app/append In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/append Modified Files: wbPopupWindows.php wbMessages.php wbDebug.php wbDbgTemplates.php wbDbgStatevars.php Log Message: automatic code documentation generation Index: wbPopupWindows.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbPopupWindows.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** wbPopupWindows.php 8 Oct 2004 10:01:56 -0000 1.1 --- wbPopupWindows.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 3,7 **** /** ! * @package append */ class wbPopupWindows extends WebObject --- 3,8 ---- /** ! * @package misc ! * @subpackage append */ class wbPopupWindows extends WebObject Index: wbMessages.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbMessages.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wbMessages.php 22 Jul 2004 16:25:39 -0000 1.4 --- wbMessages.php 2 Nov 2005 15:17:54 -0000 1.5 *************** *** 22,26 **** /** ! * @package append */ class wbMessages extends WebObject --- 22,27 ---- /** ! * @package misc ! * @subpackage append */ class wbMessages extends WebObject Index: wbDebug.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbDebug.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wbDebug.php 22 Jul 2004 16:25:39 -0000 1.7 --- wbDebug.php 2 Nov 2005 15:17:54 -0000 1.8 *************** *** 22,26 **** /** ! * @package append */ class wbDebug extends WebObject --- 22,27 ---- /** ! * @package misc ! * @subpackage append */ class wbDebug extends WebObject Index: wbDbgTemplates.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbDbgTemplates.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wbDbgTemplates.php 22 Jul 2004 16:25:39 -0000 1.4 --- wbDbgTemplates.php 2 Nov 2005 15:17:54 -0000 1.5 *************** *** 22,26 **** /** ! * @package append */ class wbDbgTemplates extends WebObject --- 22,27 ---- /** ! * @package misc ! * @subpackage append */ class wbDbgTemplates extends WebObject Index: wbDbgStatevars.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/append/wbDbgStatevars.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** wbDbgStatevars.php 22 Jul 2004 16:25:39 -0000 1.9 --- wbDbgStatevars.php 2 Nov 2005 15:17:54 -0000 1.10 *************** *** 23,27 **** /** ! * @package append */ class wbDbgStatevars extends WebObject --- 23,28 ---- /** ! * @package misc ! * @subpackage append */ class wbDbgStatevars extends WebObject |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:02
|
Update of /cvsroot/phpwebapp/web_app/tools/fileBrowser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/tools/fileBrowser Modified Files: fileBrowser.php Log Message: automatic code documentation generation Index: fileBrowser.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/fileBrowser.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fileBrowser.php 22 Jul 2004 16:25:36 -0000 1.3 --- fileBrowser.php 2 Nov 2005 15:17:54 -0000 1.4 *************** *** 20,23 **** --- 20,36 ---- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + + /** + * The 'fileBrowser' tool of WebApp is a WebBox which is used to + * preview the templates and WebBox-es of a WebApp application. + * It allows the users to browse the folders of the application + * and to display the files. The files are displayed according + * to their types, e.g. a php file is displayed as code, an image + * file is displayed as an image, an HTML file can be displayed + * both as HTML code and as rendered HTML, etc. + * + * @package tools + * @subpackage fileBrowser + */ class fileBrowser extends WebObject { |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:02
|
Update of /cvsroot/phpwebapp/web_app/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/parser Modified Files: test.php Log Message: automatic code documentation generation Index: test.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/parser/test.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test.php 13 Jul 2004 13:18:08 -0000 1.1 --- test.php 2 Nov 2005 15:17:54 -0000 1.2 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package parser + */ + $str = "test |
From: Dashamir H. <das...@us...> - 2005-11-02 15:18:02
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25443/timer Modified Files: class.Timer.php Log Message: automatic code documentation generation Index: class.Timer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** class.Timer.php 1 Nov 2005 13:24:25 -0000 1.10 --- class.Timer.php 2 Nov 2005 15:17:54 -0000 1.11 *************** *** 25,28 **** --- 25,30 ---- * Used for mesuring the execution time of * SQL queries and other processes or procedures. + * @package misc + * @subpackage timer */ class Timer |
From: Dashamir H. <das...@us...> - 2005-11-01 14:20:09
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21271/doc Modified Files: changes.txt to_do.txt Log Message: Index: changes.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** changes.txt 1 Nov 2005 13:24:25 -0000 1.23 --- changes.txt 1 Nov 2005 14:19:57 -0000 1.24 *************** *** 55,58 **** --- 55,78 ---- ------------------------------------------------------------------- + + * - The messages of the framework itself (errors, warnings, etc) now + support i18n/l10n (translation). The messages displayed from JS + code (alerts) support multiple languages as well. + + The function TF_("...") is used in the PHP code of the framework + classes to get the translation of a string, like this: $var = + TF_("..."). It can also be used in the JS code and in the templates + (HTML code). + + For the application components and templates the framework finds out + outomatically which translation file to use and where it is located, + depending on the location of the component its id, and some + conventions. However, the translations of the framework messages are + in a separate translation file. So, TF_("...") is used instead of + T_("...") in order to distinguish that this is the translation of a + framework message. + + ------------------------------------------------------------------- + ------------------------------------------------------------------- ------------------------------------------------------------------- ------------------------------------------------------------------- Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** to_do.txt 1 Nov 2005 13:24:25 -0000 1.22 --- to_do.txt 1 Nov 2005 14:19:58 -0000 1.23 *************** *** 1,12 **** ! * - Make i18n/l10n for the messages of the framework itself. ! - The messages of the framework (errors, warnings, etc) should ! support multiple languages. ! - The messages displayed from JS code (alerts) should support ! multiple languages. * - Write in DocBookWiki a programmer's guide for phpWebApp. - * - Regenerate the code documentation with doxygen and phpDocumentor. - * - Write more tutorials for phpWebApp. --- 1,6 ---- ! * - Regenerate the code documentation with doxygen and phpDocumentor. * - Write in DocBookWiki a programmer's guide for phpWebApp. * - Write more tutorials for phpWebApp. |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/webobjects/listbox/l10n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/webobjects/listbox/l10n Added Files: listbox.po Log Message: i18n and l10n of web_app messages --- NEW FILE: listbox.po --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2005-11-01 10:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../webobjects/listbox/listbox.html:18 msgid "Test" msgstr "" #: ../webobjects/listbox/listbox.js:4 msgid "listbox: test message" msgstr "" |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/session In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/session Modified Files: wbSession.php class.Session.php class.Session.js Log Message: i18n and l10n of web_app messages Index: wbSession.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/wbSession.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wbSession.php 22 Jul 2004 16:25:36 -0000 1.7 --- wbSession.php 1 Nov 2005 13:24:25 -0000 1.8 *************** *** 31,38 **** --- 31,42 ---- { global $webPage; + $session_url = WebApp::to_url(SESSION_PATH); $func_goto = ' <script type="text/javascript" language="javascript" ' . "src=\"${session_url}func.GoTo.js\"></script>\n"; $webPage->append_to_head($func_goto); + + $webPage->extract_js_l10n_messages(SESSION_PATH."class.Session.js"); + //$webPage->extract_js_l10n_messages(SESSION_PATH."func.GoTo.js"); } Index: class.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** class.Session.php 30 Jun 2005 06:24:43 -0000 1.13 --- class.Session.php 1 Nov 2005 13:24:25 -0000 1.14 *************** *** 198,203 **** if (isset($this->Vars[$var_name])) { ! $msg = "Session::addVar(): DB var '$var_name' shadows an existing JS var with the same name."; ! print WebApp::warning_msg($msg); } $this->dbVars[$var_name] = $var_value; --- 198,204 ---- if (isset($this->Vars[$var_name])) { ! $msg = TF_("DB var 'v_var_name' shadows an existing JS var with the same name."); ! $msg = str_replace('v_var_name', $var_name, $msg); ! print WebApp::warning_msg("Session::addVar(): $msg"); } $this->dbVars[$var_name] = $var_value; *************** *** 207,212 **** if (isset($this->dbVars[$var_name])) { ! $msg = "Session::addVar(): JS var '$var_name' is shadowed by an existing DB var with the same name."; ! print WebApp::warning_msg($msg); } if (isset($this->Vars[$var_name])) --- 208,214 ---- if (isset($this->dbVars[$var_name])) { ! $msg = TF_("JS var 'v_var_name' is shadowed by an existing DB var with the same name."); ! $msg = str_replace('v_var_name', $var_name, $msg); ! print WebApp::warning_msg("Session::addVar(): $msg"); } if (isset($this->Vars[$var_name])) *************** *** 306,312 **** $this->dbVars = array(); //give a warning ! print WebApp::warning_msg("session DB vars saved as JS vars," ! . " there is no DB connection, make 'true' the USES_DB " ! . " constant in 'config/const.Settings.php'."); } } --- 308,314 ---- $this->dbVars = array(); //give a warning ! $msg = TF_("session DB vars saved as JS vars, there is no DB \ ! connection, make 'true' the USES_DB constant in 'config/const.Settings.php'."); ! print WebApp::warning_msg($msg); } } Index: class.Session.js =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.js,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Session.js 25 Aug 2003 13:18:31 -0000 1.3 --- class.Session.js 1 Nov 2005 13:24:25 -0000 1.4 *************** *** 67,73 **** if (this.isset(var_name)) { ! var msg = "Session.addVar: There is a '" + var_name ! + "' already in the list, use setVar to change its value."; ! alert(msg); } else --- 67,73 ---- if (this.isset(var_name)) { ! var msg = TF_("There is a 'v_var_name' already in the list, use setVar to change its value."); ! msg = msg.replace(/v_var_name/, var_name); ! alert("Session.addVar: " + msg); } else *************** *** 83,87 **** if (idx == -1) //not found { ! alert("Session.getVar: '" + var_name + "' doesn't exist."); return "UNDEFINED"; } --- 83,89 ---- if (idx == -1) //not found { ! var msg = TF_("'v_var_name' doesn't exist."); ! msg = msg.replace(/v_var_name/, var_name); ! alert("Session.getVar: " + msg); return "UNDEFINED"; } *************** *** 94,98 **** var idx = this.find(var_name); if (idx == -1) //not found ! alert("Session.setVar: '" + var_name + "' doesn't exist."); else this.Vars[idx].Value = var_value; --- 96,104 ---- var idx = this.find(var_name); if (idx == -1) //not found ! { ! var msg = TF_("'v_var_name' doesn't exist."); ! msg = msg.replace(/v_var_name/, var_name); ! alert("Session.setVar: " + msg); ! } else this.Vars[idx].Value = var_value; *************** *** 104,108 **** if (idx == -1) //not found { ! alert("Session.rmVar: '" + var_name + "' doesn't exist."); return; } --- 110,116 ---- if (idx == -1) //not found { ! var msg = TF_("'v_var_name' doesn't exist."); ! msg = msg.replace(/v_var_name/, var_name); ! alert("Session.rmVar: " + msg); return; } |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/webobjects/dbTable In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/webobjects/dbTable Modified Files: editRecord.php Log Message: i18n and l10n of web_app messages Index: editRecord.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/dbTable/editRecord.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** editRecord.php 22 Jul 2004 16:25:36 -0000 1.6 --- editRecord.php 1 Nov 2005 13:24:25 -0000 1.7 *************** *** 81,85 **** else { ! $msg = "editRecord::save(): invalid state '$state'."; print WebApp::warning_msg($msg); } --- 81,86 ---- else { ! $msg = "editRecord::save(): " . T_("invalid state 'v_state'."); ! $msg = str_replace('v_state', $state, $msg); print WebApp::warning_msg($msg); } |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/database In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/database Modified Files: class.EditableRS.php Log Message: i18n and l10n of web_app messages Index: class.EditableRS.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/database/class.EditableRS.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** class.EditableRS.php 22 Jul 2004 16:25:38 -0000 1.10 --- class.EditableRS.php 1 Nov 2005 13:24:25 -0000 1.11 *************** *** 56,67 **** if ($this->EOF()) { ! $msg = "EditableRS::setFld(): pointer is at EOF.\n"; ! print WebApp::error_msg($msg); return; } if ($this->BOF()) { ! $msg = "EditableRS::setFld(): pointer is at BOF.\n"; ! print WebApp::error_msg($msg); return; } --- 56,67 ---- if ($this->EOF()) { ! $msg = TF_("pointer is at EOF"); ! print WebApp::error_msg("EditableRS::setFld(): $msg.\n"); return; } if ($this->BOF()) { ! $msg = TF_("pointer is at BOF"); ! print WebApp::error_msg("EditableRS::setFld(): $msg.\n"); return; } *************** *** 70,75 **** if (!isset($rec[$fld_name])) { ! $msg = "EditableRS::setFld(): field '$fld_name' does not exist.\n"; ! print WebApp::error_msg($msg); return; } --- 70,76 ---- if (!isset($rec[$fld_name])) { ! $msg = "field 'v_fld_name' does not exist"; ! $msg = str_replace('v_fld_name', $fld_name, $msg); ! print WebApp::error_msg("EditableRS::setFld(): $msg.\n"); return; } *************** *** 242,248 **** if (isset($this->contents[0][$new_fld_name])) { ! $msg = "EditableRS::renameCol(): there is already" ! . " a field named '$new_fld_name'.\n"; ! print WebApp::error_msg($msg); return; } --- 243,249 ---- if (isset($this->contents[0][$new_fld_name])) { ! $msg = TF_("there is already a field named 'v_fld_name'"); ! $msg = str_replace('v_fld_name', $new_fld_name, $msg); ! print WebApp::error_msg("EditableRS::renameCol(): $msg.\n"); return; } |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/boxes/webnotes/l10n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/boxes/webnotes/l10n Added Files: webnotes.po Log Message: i18n and l10n of web_app messages --- NEW FILE: webnotes.po --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2005-11-01 10:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../boxes/webnotes/footer.html:5 msgid "Found: {{AllRecs}} Notes" msgstr "" #: ../boxes/webnotes/footer.html:8 msgid "Page {{CurrPage}} of {{LastPage}}" msgstr "" #: ../boxes/webnotes/footer.html:13 msgid "&lt;&lt;First" msgstr "" #: ../boxes/webnotes/footer.html:17 msgid "&lt;Prev" msgstr "" #: ../boxes/webnotes/footer.html:23 msgid "Next&gt;" msgstr "" #: ../boxes/webnotes/footer.html:27 msgid "Last&gt;&gt;" msgstr "" #: ../boxes/webnotes/footer.html:33 ../boxes/webnotes/webnotes.html:15 msgid "Add a New Note" msgstr "" #: ../boxes/webnotes/webnotes.html:10 msgid "User Comments/Notes For the Page:" msgstr "" #: ../boxes/webnotes/editnote/editnote.js:51 msgid "Any changes will be lost!" msgstr "" #: ../boxes/webnotes/editnote/edit.html:4 msgid "Add a New Note or Comment" msgstr "" #: ../boxes/webnotes/editnote/edit.html:8 msgid "Email" msgstr "" #: ../boxes/webnotes/editnote/edit.html:14 msgid "Note" msgstr "" #: ../boxes/webnotes/editnote/help.html:2 msgid "HTML tags that are allowed:" msgstr "" #: ../boxes/webnotes/editnote/help.html:3 msgid "After you add your note, it will be queued for approval by a moderator." msgstr "" |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/timer Modified Files: class.Timer.php class.Timer.js Log Message: i18n and l10n of web_app messages Index: class.Timer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** class.Timer.php 22 Jul 2004 16:25:36 -0000 1.9 --- class.Timer.php 1 Nov 2005 13:24:25 -0000 1.10 *************** *** 99,102 **** --- 99,105 ---- } + /** + * Returns a JS code that is appended at the head of the page. + */ function JSTimer() { *************** *** 104,107 **** --- 107,111 ---- $timer_path = WebApp::to_url(TIMER_PATH); + $comment = TF_("Time that spends the web-page to be transfered and loaded in browser"); $js_code = " <script type=\"text/javascript\" language=\"javascript\" src=\"".$timer_path."class.Timer.js\"></script> *************** *** 109,117 **** //<![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> "; return $js_code; } --- 113,125 ---- //<![CDATA[ var timer = new Timer(); ! var comment = '$comment'; timer.Start('web-page', comment); //]]> </script> "; + + global $webPage; + $webPage->extract_js_l10n_messages(TIMER_PATH."class.Timer.js"); + return $js_code; } Index: class.Timer.js =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.js,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** class.Timer.js 15 Jul 2004 14:46:04 -0000 1.5 --- class.Timer.js 1 Nov 2005 13:24:25 -0000 1.6 *************** *** 65,69 **** } else ! alert("Timer.Start: '" + proc_id + "' already exists."); } --- 65,73 ---- } else ! { ! var msg = TF_("'v_proc_id' already exists."); ! msg = msg.replace(/v_proc_id/, proc_id); ! alert("Timer.Start: " + msg); ! } } *************** *** 73,77 **** if (idx == -1) //does not exist { ! alert("Timer.Start: '" + proc_id + "' does not exist."); } else --- 77,83 ---- if (idx == -1) //does not exist { ! var msg = TF_("'v_proc_id' does not exist."); ! msg = msg.replace(/v_proc_id/, proc_id); ! alert("Timer.Start: " + msg); } else |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/boxes/folderListing/l10n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/boxes/folderListing/l10n Added Files: folderListing.po Log Message: i18n and l10n of web_app messages --- NEW FILE: folderListing.po --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2005-11-01 10:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../boxes/folderListing/folderListing.php:105 msgid "'v_folder_path' is not a folder." msgstr "" #: ../boxes/folderListing/folderListing.php:114 msgid "Cannot open folder 'v_folder_path'." msgstr "" |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/boxes/menu/edit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/boxes/menu/edit Modified Files: edit_menu.php edit_menu.js Log Message: i18n and l10n of web_app messages Index: edit_menu.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/menu/edit/edit_menu.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** edit_menu.php 9 Jun 2005 13:07:34 -0000 1.3 --- edit_menu.php 1 Nov 2005 13:24:25 -0000 1.4 *************** *** 74,78 **** if ($new_id <> $item_id and $output==$new_id) { ! WebApp::message("Another menu item with id '$new_id' already exists."); return; } --- 74,80 ---- if ($new_id <> $item_id and $output==$new_id) { ! $msg = T_("Another menu item with id 'v_new_id' already exists."); ! $msg = str_replace('v_new_id', $new_id, $msg); ! WebApp::message($msg); return; } *************** *** 115,118 **** --- 117,122 ---- if ($output==$new_id) { + $msg = T_("Another menu item with id 'v_new_id' already exists."); + $msg = str_replace('v_new_id', $new_id, $msg); WebApp::message("Another menu item with id '$new_id' already exists."); return; Index: edit_menu.js =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/menu/edit/edit_menu.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** edit_menu.js 16 Jul 2004 07:41:39 -0000 1.1 --- edit_menu.js 1 Nov 2005 13:24:25 -0000 1.2 *************** *** 34,38 **** if (new_id=='') { ! alert('ID cannot be empty.'); form.item_id.focus(); return false; --- 34,38 ---- if (new_id=='') { ! alert(T_("ID cannot be empty.")); form.item_id.focus(); return false; *************** *** 40,44 **** if (new_caption=='') { ! alert('Caption cannot be empty.'); form.item_caption.focus(); return false; --- 40,44 ---- if (new_caption=='') { ! alert(T_("Caption cannot be empty.")); form.item_caption.focus(); return false; *************** *** 76,80 **** if (new_id=='') { ! alert('Please fill the ID field.'); form.new_id.focus(); return false; --- 76,80 ---- if (new_id=='') { ! alert(T_("Please fill the ID field.")); form.new_id.focus(); return false; *************** *** 82,86 **** if (new_caption=='') { ! alert('Please fill the Caption field.'); form.new_caption.focus(); return false; --- 82,86 ---- if (new_caption=='') { ! alert(T_("Please fill the Caption field.")); form.new_caption.focus(); return false; |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:46
|
Update of /cvsroot/phpwebapp/web_app/webobjects/dbTable/l10n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/webobjects/dbTable/l10n Added Files: dbTable.po Log Message: i18n and l10n of web_app messages --- NEW FILE: dbTable.po --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2005-11-01 10:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../webobjects/dbTable/editRecord.php:83 msgid "invalid state 'v_state'." msgstr "" |
From: Dashamir H. <das...@us...> - 2005-11-01 13:24:42
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/doc Modified Files: to_do.txt changes_5.txt changes.txt Log Message: i18n and l10n of web_app messages Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** to_do.txt 21 Oct 2005 12:17:48 -0000 1.21 --- to_do.txt 1 Nov 2005 13:24:25 -0000 1.22 *************** *** 9,14 **** * - Regenerate the code documentation with doxygen and phpDocumentor. - * - Use the webbox docbook in the documentation of phpWebApp. - * - Write more tutorials for phpWebApp. --- 9,12 ---- *************** *** 17,20 **** --- 15,21 ---- * ------------- Make a new release 1.3 + + + * - Add this functionality to the framework: any webobject can handle an event sent to another webobject, if it defines the Index: changes_5.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes_5.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** changes_5.txt 31 Aug 2005 07:59:48 -0000 1.1 --- changes_5.txt 1 Nov 2005 13:24:25 -0000 1.2 *************** *** 186,191 **** as an argument of the T_() function and should be surrounded by double quotes, like this: T_("Hello!") . This can be used ! both in the PHP code and in the HTML templates (but not in ! JS files, because they are not processed by the framework). Then, the rest is the same as described by the gettext documentation --- 186,205 ---- as an argument of the T_() function and should be surrounded by double quotes, like this: T_("Hello!") . This can be used ! both in the PHP code and in the HTML templates. ! ! In order to have variables inside a message, you have to make ! some tricks. E.g., to make translatable this message: ! --code ! $msg = "file '$filename' does not exist"; ! print "Error: $msg."; ! ---- ! It can be written like this: ! --code ! $msg = T_("file 'v_filename' does not exist"); ! $msg = str_replace('v_filename', $filename, $msg); ! print "Error: $msg."; ! ---- ! This allows the translator to change the position of the variable, ! if needed. Then, the rest is the same as described by the gettext documentation Index: changes.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** changes.txt 31 Aug 2005 07:59:48 -0000 1.22 --- changes.txt 1 Nov 2005 13:24:25 -0000 1.23 *************** *** 5,8 **** --- 5,58 ---- ------------------------------------------------------------------- + + The 'docbook' webbox is used just to display the cache (HTML) files + of a DocBookWiki application. It is useful for including a docbook + document in an application. + + It can be included like this: + <include src="{{DOCBOOK_PATH}}docbook.html" /> + where DOCBOOK_PATH is defined by the framework itself. + If you make a local copy of the webbox, then you have + to use the right path. + + It has these state variables which can be initialized or changed + by the application that includes it: + + docbook->cache_path -- the path of the HTML files (usually the + directory 'contents/books/cache/' of the DocBookWiki + docbook->book_id -- the id of the book + docbook->node_path -- the path of the node to be displayed (default './') + docbook->lng -- the language of the book (default 'en') + + The JS function set_node(node_path) can be used by the application + to change the node that is currently displayed. + + If the constant WEBNOTES_ENABLE is defined as 'true', then webnotes + will be appended at the end of each section (but first they must + be installed and configured properly). This constant is set at the + begining of 'docbook.php'. + + ------------------------------------------------------------------- + + The webbox 'webnotes' can be used to append comments or notes + to documentation pages or to other web pages. It can be included + like this: + <include src="{{WEBNOTES_PATH}}webnotes.html" /> + WEBNOTES_PATH is defined by the framework. + + This component uses the database, and, if not already installed + (e.g. by another application), it should be installed like this: + --scr + bash$ cd webnotes/db/ + bash$ mysql -p -u username < webnotes.sql + ---- + The database connection parameters at + 'templates/docbook/view/webnotes/DB.php' need to be modified as well. + + The application or the webbox that includes it should also give a + value to the state variable 'webnotes->page_id', which is used to + select from the database the notes that will be displayed. + + ------------------------------------------------------------------- ------------------------------------------------------------------- ------------------------------------------------------------------- |