phpwebapp-commits Mailing List for phpWebApp (Page 31)
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...> - 2003-08-11 17:07:49
|
Update of /cvsroot/phpwebapp/web_app/boxes/folderListing In directory sc8-pr-cvs1:/tmp/cvs-serv29261/boxes/folderListing Modified Files: folderListing.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: folderListing.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/folderListing/folderListing.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** folderListing.php 16 Jul 2003 09:27:59 -0000 1.2 --- folderListing.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage folderListing + */ class folderListing extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 17:07:49
|
Update of /cvsroot/phpwebapp/web_app/boxes/folderManager In directory sc8-pr-cvs1:/tmp/cvs-serv29261/boxes/folderManager Modified Files: folderEditing.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: folderEditing.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/folderManager/folderEditing.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** folderEditing.php 16 Jul 2003 09:27:59 -0000 1.2 --- folderEditing.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage folderEditing + */ class folderEditing extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 17:07:49
|
Update of /cvsroot/phpwebapp/web_app/boxes/fileView In directory sc8-pr-cvs1:/tmp/cvs-serv29261/boxes/fileView Modified Files: viewUnknown.php viewPHP.php viewImage.php fileView.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: viewUnknown.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewUnknown.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** viewUnknown.php 7 Aug 2003 16:12:22 -0000 1.2 --- viewUnknown.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage fileView + */ class viewUnknown extends WebObject { Index: viewPHP.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewPHP.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** viewPHP.php 21 Feb 2003 08:15:50 -0000 1.1.1.1 --- viewPHP.php 11 Aug 2003 16:17:52 -0000 1.2 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage fileView + */ class viewPHP extends WebObject { Index: viewImage.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/viewImage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** viewImage.php 7 Aug 2003 16:12:22 -0000 1.2 --- viewImage.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage fileView + */ class viewImage extends WebObject { Index: fileView.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/fileView/fileView.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** fileView.php 16 Jul 2003 09:27:59 -0000 1.2 --- fileView.php 11 Aug 2003 16:17:52 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage fileView + */ class fileView extends WebObject { *************** *** 30,33 **** --- 34,38 ---- case ".gif": case ".jpg": + case ".png": $file_type = "IMG"; break; |
From: Dashamir H. <das...@us...> - 2003-08-11 17:07:49
|
Update of /cvsroot/phpwebapp/web_app/boxes/codeViewer In directory sc8-pr-cvs1:/tmp/cvs-serv29261/boxes/codeViewer Modified Files: codeViewer.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: codeViewer.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/codeViewer/codeViewer.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** codeViewer.php 16 Jul 2003 12:05:23 -0000 1.4 --- codeViewer.php 11 Aug 2003 16:17:53 -0000 1.5 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage codeViewer + */ class codeViewer extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 17:07:48
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus In directory sc8-pr-cvs1:/tmp/cvs-serv29261/boxes/editMenus Modified Files: test_1.php test.php include_menus.js fun.editMenus.php editMenus.php class.XMLMenus.php class.Menus.php class.MenuTopElem.php class.MenuElem.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: test_1.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/test_1.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** test_1.php 21 Feb 2003 08:15:47 -0000 1.1.1.1 --- test_1.php 11 Aug 2003 16:17:52 -0000 1.2 *************** *** 1,7 **** <?php ! //include "../../../application.php"; define("EDITMENUS_PATH", ""); ! include EDITMENUS_PATH."class.Menus.php"; ! include "class.XMLMenus.php"; $xmlMenus = new XMLMenus("sample_menu/sample_Menus.xml"); --- 1,13 ---- <?php ! /** ! * @package boxes ! * @subpackage editMenus ! */ ! ! /** */ ! //include "../../../webapp.php"; define("EDITMENUS_PATH", ""); ! include_once EDITMENUS_PATH."class.Menus.php"; ! include_once "class.XMLMenus.php"; $xmlMenus = new XMLMenus("sample_menu/sample_Menus.xml"); Index: test.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/test.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test.php 16 Jul 2003 12:05:23 -0000 1.3 --- test.php 11 Aug 2003 16:17:53 -0000 1.4 *************** *** 1,4 **** <?php ! //include "../../../application.php"; define("EDITMENUS_PATH", ""); include EDITMENUS_PATH."class.Menus.php"; --- 1,10 ---- <?php ! /** ! * @package boxes ! * @subpackage editMenus ! */ ! ! /** */ ! //include "../../../webapp.php"; define("EDITMENUS_PATH", ""); include EDITMENUS_PATH."class.Menus.php"; Index: include_menus.js =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/include_menus.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** include_menus.js 16 Jul 2003 09:28:00 -0000 1.2 --- include_menus.js 11 Aug 2003 16:17:53 -0000 1.3 *************** *** 45,49 **** itemPad = 3; ! imgSrc = "{{./}}tri.gif"; imgSiz = 8; --- 45,49 ---- itemPad = 3; ! imgSrc = "{{./}}tri.png"; imgSiz = 8; Index: fun.editMenus.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/fun.editMenus.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fun.editMenus.php 16 Jul 2003 12:05:23 -0000 1.3 --- fun.editMenus.php 11 Aug 2003 16:17:53 -0000 1.4 *************** *** 1,3 **** --- 1,9 ---- <?php + /** + * @package boxes + * @subpackage editMenus + */ + + /** */ function editMenus_rewriteFiles() { Index: editMenus.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/editMenus.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** editMenus.php 16 Jul 2003 12:05:23 -0000 1.3 --- editMenus.php 11 Aug 2003 16:17:53 -0000 1.4 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package boxes + * @subpackage editMenus + */ class editMenus extends WebObject { Index: class.XMLMenus.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/class.XMLMenus.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.XMLMenus.php 16 Jul 2003 09:28:00 -0000 1.2 --- class.XMLMenus.php 11 Aug 2003 16:17:53 -0000 1.3 *************** *** 1,4 **** <?php ! class XMLMenus { --- 1,7 ---- <?php ! /** ! * @package boxes ! * @subpackage editMenus ! */ class XMLMenus { Index: class.Menus.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/class.Menus.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.Menus.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.Menus.php 11 Aug 2003 16:17:53 -0000 1.4 *************** *** 1,9 **** <?php ! include EDITMENUS_PATH."class.MenuElem.php"; ! include EDITMENUS_PATH."class.MenuTopElem.php"; ! ///////////////////////////////////////////////////// ! // Class Menu represents all the menus of a page. ! // class Menus extends MenuElem { --- 1,12 ---- <?php ! include_once EDITMENUS_PATH."class.MenuElem.php"; ! include_once EDITMENUS_PATH."class.MenuTopElem.php"; ! /** ! * Class Menu represents all the menus of a page. ! * ! * @package boxes ! * @subpackage editMenus ! */ class Menus extends MenuElem { Index: class.MenuTopElem.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/class.MenuTopElem.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.MenuTopElem.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.MenuTopElem.php 11 Aug 2003 16:17:53 -0000 1.4 *************** *** 1,7 **** <?php ! ! ///////////////////////////////////////////////////// ! // Class MenuTopElem represents a top element of a menu. ! // class MenuTopElem extends MenuElem { --- 1,9 ---- <?php ! /** ! * Class MenuTopElem represents a top element of a menu. ! * ! * @package boxes ! * @subpackage editMenus ! */ class MenuTopElem extends MenuElem { Index: class.MenuElem.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/editMenus/class.MenuElem.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** class.MenuElem.php 16 Jul 2003 12:05:23 -0000 1.3 --- class.MenuElem.php 11 Aug 2003 16:17:53 -0000 1.4 *************** *** 1,223 **** <?php ! if ( !defined("class_MenuElem") ) ! //test so that it is not included multiple times { ! define("class_MenuElem", 1); ! ///////////////////////////////////////////////////// ! // Class MenuElem represents an element of a menu. ! // ! class MenuElem { ! var $id; //identifies this menu element ! var $description; //text that will be shown in the menu ! var $action; //what will be done when this element is selected (typically a JS function call) ! var $parent; //parent of this element in the hierarchy of the menu ! var $children; //array of subelements ! ! function MenuElem($id =UNDEFINED, $descr ="menu element", $act ="") ! { ! $this->id = $id ; ! $this->description = $descr; ! $this->action = $act; ! $this->children = array(); ! } ! /** builds a menu element from a DOMXML node */ ! function build_from_dom($elem) ! { ! //get the attributes ! $this->id = $elem->getattr("id"); ! $this->description = $elem->getattr("description"); ! $this->action = $elem->getattr("action"); ! if ($this->description=="") $this->description = $this->id; ! if ($this->action=="") $this->action = $this->id; ! //add the child elements ! $children = $elem->children(); ! while ( list($i,$child) = each($children) ) { ! if ($child->name=="MenuElem") ! { ! $sub_elem = new MenuElem; ! $sub_elem->build_from_dom($child); ! $this->addChild($sub_elem); ! } } } ! function addChild(&$ch) ! { ! $this->children[] = $ch; ! $ch->parent = &$this; ! } ! function nrChildren() ! { ! return sizeof($this->children); ! } ! function hasChildren() ! { ! $nr_ch = $this->nrChildren(); ! return ($nr_ch <> 0); ! } ! /** ! * set the ids of the children (if unset) ! * used by the function that loads the menu from an xml file ! */ ! function set_children_id() { ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = &$this->children[$i]; ! if ($child->id==UNDEFINED) ! { ! $child->id = $this->id . "_" . ($i+1); ! } ! $child->set_children_id(); } } ! /** returns an id for a new child */ ! function new_child_id() { ! $max_id = $this->id."_0"; ! for ($i=0; $i < $this->nrChildren(); $i++) ! { ! $id = $this->children[$i]->id; ! if ($id > $max_id) $max_id = $id; ! } ! $max_id++; ! return $max_id; } ! /** sets the action that is used when the menu is being edited */ ! function setEditAction() { ! $id = $this->id; ! $descr = $this->description; ! $action = $this->action; ! $this->action = "edit(\\\"$id\\\", \\\"$descr\\\", \\\"$action\\\")"; ! for ($i=0; $i < $this->nrChildren(); $i++) ! { ! $child = &$this->children[$i]; ! $child->setEditAction(); ! } } ! function change($id, $change_func) { ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = &$this->children[$i]; ! if ($child->id==$id) ! { ! $change_func($this, $child); ! return true; ! } ! $changed = $child->change($id, $change_func); ! if ($changed) return true; } ! ! return false; } ! /////////// output functions ///////////// ! /** returns the menu element as an xml string indented by $indent */ ! function to_xml($indent) ! { ! $xml_menu = $indent.'<MenuElem id="'.$this->id."\"\n" ! . "\t\t".$indent.'description="'.$this->description."\"\n" ! . "\t\t".$indent.'action="'.$this->action."\">\n"; ! $xml_menu .= $this->children_to_xml("\t".$indent); ! $xml_menu .= $indent."</MenuElem>\n"; ! return $xml_menu; ! } ! /** returns the children as an xml string indented by $indent */ ! function children_to_xml($indent) { ! for ($i=0; $i < $this->nrChildren(); $i++) ! { ! $child = $this->children[$i]; ! $xml_menu .= $child->to_xml($indent); ! } ! return $xml_menu; } ! /** ! * returns the element and all its subelements ! * in an easily readable text format ! */ ! function to_text($ident) //debug { ! $txt_menu = $ident."> ".$this->id." -> ".$this->description." -> ".$this->action."\n"; ! for ($i=0; $i < $this->nrChildren(); $i++) ! { ! $child = $this->children[$i]; ! $txt_menu .= $child->to_text("\t".$ident); ! } ! return $txt_menu; } ! /** ! * prints the element and all its subelements ! * in an easily readable text format ! */ ! function print_text($ident) //debug { ! print $ident."> ".$this->id." -> ".$this->description." -> ".$this->action."\n"; ! for ($i=0; $i < $this->nrChildren(); $i++) ! { ! $child = $this->children[$i]; ! print $child->print_text("\t".$ident); ! } } ! /** ! * returns the branch starting with this element ! * in the JavaScript format required by hierMenus ! */ ! function to_arrMenus($menu_name) ! { ! if ( !$this->hasChildren() ) return ""; ! $js_menu = $menu_name." = new Array(\n"; ! $nrCh = $this->nrChildren(); ! for ($i=0; $i < $nrCh-1; $i++) ! { ! $ch = $this->children[$i]; ! $js_menu .= "\t\"" . $ch->description . "\", \"" . $ch->action."\", " ! . ($ch->hasChildren() ? "1" : "0") . ",\n"; ! } ! //last child $ch = $this->children[$i]; $js_menu .= "\t\"" . $ch->description . "\", \"" . $ch->action."\", " ! . ($ch->hasChildren() ? "1" : "0") . "\n"; //without a comma ! $js_menu .= ");\n\n"; ! $js_menu .= $this->children_to_arrMenus($menu_name."_"); ! ! return $js_menu; } ! /** ! * transforms all the children to JavaScript code ! * and returns it as a string, used by to_arrMenus() etc. ! */ ! function children_to_arrMenus($menu_name) { ! for ($i=0; $i < $this->nrChildren(); $i++) ! { ! $ch = &$this->children[$i]; ! $ch_menu_name = $menu_name . ($i + 1); ! $js_menu .= $ch->to_arrMenus($ch_menu_name); ! } ! return $js_menu; } } ! ! } //end if !defined ?> --- 1,219 ---- <?php ! /** ! * Class MenuElem represents an element of a menu. ! * ! * @package boxes ! * @subpackage editMenus ! */ ! class MenuElem { ! var $id; //identifies this menu element ! var $description; //text that will be shown in the menu ! var $action; //what will be done when this element is selected (typically a JS function call) ! var $parent; //parent of this element in the hierarchy of the menu ! var $children; //array of subelements ! function MenuElem($id =UNDEFINED, $descr ="menu element", $act ="") { ! $this->id = $id ; ! $this->description = $descr; ! $this->action = $act; ! $this->children = array(); ! } ! /** builds a menu element from a DOMXML node */ ! function build_from_dom($elem) ! { ! //get the attributes ! $this->id = $elem->getattr("id"); ! $this->description = $elem->getattr("description"); ! $this->action = $elem->getattr("action"); ! if ($this->description=="") $this->description = $this->id; ! if ($this->action=="") $this->action = $this->id; ! //add the child elements ! $children = $elem->children(); ! while ( list($i,$child) = each($children) ) ! { ! if ($child->name=="MenuElem") { ! $sub_elem = new MenuElem; ! $sub_elem->build_from_dom($child); ! $this->addChild($sub_elem); } } + } ! function addChild(&$ch) ! { ! $this->children[] = $ch; ! $ch->parent = &$this; ! } ! function nrChildren() ! { ! return sizeof($this->children); ! } ! function hasChildren() ! { ! $nr_ch = $this->nrChildren(); ! return ($nr_ch <> 0); ! } ! /** ! * set the ids of the children (if unset) ! * used by the function that loads the menu from an xml file ! */ ! function set_children_id() ! { ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = &$this->children[$i]; ! if ($child->id==UNDEFINED) { ! $child->id = $this->id . "_" . ($i+1); } + $child->set_children_id(); } + } ! /** returns an id for a new child */ ! function new_child_id() ! { ! $max_id = $this->id."_0"; ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $id = $this->children[$i]->id; ! if ($id > $max_id) $max_id = $id; } + $max_id++; + return $max_id; + } ! /** sets the action that is used when the menu is being edited */ ! function setEditAction() ! { ! $id = $this->id; ! $descr = $this->description; ! $action = $this->action; ! $this->action = "edit(\\\"$id\\\", \\\"$descr\\\", \\\"$action\\\")"; ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = &$this->children[$i]; ! $child->setEditAction(); } + } ! function change($id, $change_func) ! { ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = &$this->children[$i]; ! if ($child->id==$id) { ! $change_func($this, $child); ! return true; } ! $changed = $child->change($id, $change_func); ! if ($changed) return true; } + + return false; + } ! /////////// output functions ///////////// ! /** returns the menu element as an xml string indented by $indent */ ! function to_xml($indent) ! { ! $xml_menu = $indent.'<MenuElem id="'.$this->id."\"\n" ! . "\t\t".$indent.'description="'.$this->description."\"\n" ! . "\t\t".$indent.'action="'.$this->action."\">\n"; ! $xml_menu .= $this->children_to_xml("\t".$indent); ! $xml_menu .= $indent."</MenuElem>\n"; ! return $xml_menu; ! } ! /** returns the children as an xml string indented by $indent */ ! function children_to_xml($indent) ! { ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = $this->children[$i]; ! $xml_menu .= $child->to_xml($indent); } + return $xml_menu; + } ! /** ! * returns the element and all its subelements ! * in an easily readable text format ! */ ! function to_text($ident) //debug ! { ! $txt_menu = $ident."> ".$this->id." -> ".$this->description." -> ".$this->action."\n"; ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = $this->children[$i]; ! $txt_menu .= $child->to_text("\t".$ident); } + return $txt_menu; + } ! /** ! * prints the element and all its subelements ! * in an easily readable text format ! */ ! function print_text($ident) //debug ! { ! print $ident."> ".$this->id." -> ".$this->description." -> ".$this->action."\n"; ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $child = $this->children[$i]; ! print $child->print_text("\t".$ident); } + } ! /** ! * returns the branch starting with this element ! * in the JavaScript format required by hierMenus ! */ ! function to_arrMenus($menu_name) ! { ! if ( !$this->hasChildren() ) return ""; ! $js_menu = $menu_name." = new Array(\n"; ! $nrCh = $this->nrChildren(); ! for ($i=0; $i < $nrCh-1; $i++) ! { $ch = $this->children[$i]; $js_menu .= "\t\"" . $ch->description . "\", \"" . $ch->action."\", " ! . ($ch->hasChildren() ? "1" : "0") . ",\n"; } + //last child + $ch = $this->children[$i]; + $js_menu .= "\t\"" . $ch->description . "\", \"" . $ch->action."\", " + . ($ch->hasChildren() ? "1" : "0") . "\n"; //without a comma + $js_menu .= ");\n\n"; + $js_menu .= $this->children_to_arrMenus($menu_name."_"); ! return $js_menu; ! } ! ! /** ! * transforms all the children to JavaScript code ! * and returns it as a string, used by to_arrMenus() etc. ! */ ! function children_to_arrMenus($menu_name) ! { ! for ($i=0; $i < $this->nrChildren(); $i++) { ! $ch = &$this->children[$i]; ! $ch_menu_name = $menu_name . ($i + 1); ! $js_menu .= $ch->to_arrMenus($ch_menu_name); } + return $js_menu; } ! } ?> |
From: Dashamir H. <das...@us...> - 2003-08-11 17:03:01
|
Update of /cvsroot/phpwebapp/app1/img In directory sc8-pr-cvs1:/tmp/cvs-serv314/img Removed Files: home.gif Back.gif Log Message: .gif images are replaced by .png images --- home.gif DELETED --- --- Back.gif DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-11 16:58:51
|
Update of /cvsroot/phpwebapp/app1 In directory sc8-pr-cvs1:/tmp/cvs-serv534 Modified Files: page3.html page2.html page1.html external_page.html Log Message: .gif images are replaced by .png images Index: page3.html =================================================================== RCS file: /cvsroot/phpwebapp/app1/page3.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** page3.html 21 Feb 2003 08:23:38 -0000 1.1.1.1 --- page3.html 11 Aug 2003 16:39:02 -0000 1.2 *************** *** 18,23 **** | Page 3 ] <p> ! <a href="javascript: history.back()"><img src="img/Back.gif" border="0"></a> ! <a href="{{APP_URL}}"><img src="img/home.gif" border="0"></a> </body> --- 18,23 ---- | Page 3 ] <p> ! <a href="javascript: history.back()"><img src="img/back.png" border="0"></a> ! <a href="{{APP_URL}}"><img src="img/home.png" border="0"></a> </body> Index: page2.html =================================================================== RCS file: /cvsroot/phpwebapp/app1/page2.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** page2.html 21 Feb 2003 08:23:37 -0000 1.1.1.1 --- page2.html 11 Aug 2003 16:39:02 -0000 1.2 *************** *** 20,25 **** <a href="javascript: GoTo('page3.html')"> Page 3 </a> ] <p> ! <a href="javascript: history.back()"><img src="img/Back.gif" border="0"></a> ! <a href="{{APP_URL}}"><img src="img/home.gif" border="0"></a> </body> --- 20,25 ---- <a href="javascript: GoTo('page3.html')"> Page 3 </a> ] <p> ! <a href="javascript: history.back()"><img src="img/back.png" border="0"></a> ! <a href="{{APP_URL}}"><img src="img/home.png" border="0"></a> </body> Index: page1.html =================================================================== RCS file: /cvsroot/phpwebapp/app1/page1.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** page1.html 21 Feb 2003 08:23:37 -0000 1.1.1.1 --- page1.html 11 Aug 2003 16:39:02 -0000 1.2 *************** *** 37,42 **** <a href="javascript: GoTo('page3.html')"> Page 3 </a> ] <p> ! <a href="javascript: history.back()"><img src="img/Back.gif" border="0"></a> ! <a href="{{APP_URL}}"><img src="img/home.gif" border="0"></a> <p> </body> --- 37,42 ---- <a href="javascript: GoTo('page3.html')"> Page 3 </a> ] <p> ! <a href="javascript: history.back()"><img src="img/back.png" border="0"></a> ! <a href="{{APP_URL}}"><img src="img/home.png" border="0"></a> <p> </body> Index: external_page.html =================================================================== RCS file: /cvsroot/phpwebapp/app1/external_page.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** external_page.html 21 Feb 2003 08:23:37 -0000 1.1.1.1 --- external_page.html 11 Aug 2003 16:39:02 -0000 1.2 *************** *** 23,27 **** not work. <p> ! <a href="javascript: history.back()"><img src="img/Back.gif" border="0"></a> </body> --- 23,27 ---- not work. <p> ! <a href="javascript: history.back()"><img src="img/back.png" border="0"></a> </body> |
From: Dashamir H. <das...@us...> - 2003-08-11 16:58:09
|
Update of /cvsroot/phpwebapp/app2/templates In directory sc8-pr-cvs1:/tmp/cvs-serv1808/templates Modified Files: footer.html Log Message: .gif images are replaced by .png images Index: footer.html =================================================================== RCS file: /cvsroot/phpwebapp/app2/templates/footer.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** footer.html 21 Feb 2003 08:24:12 -0000 1.1.1.1 --- footer.html 11 Aug 2003 16:46:43 -0000 1.2 *************** *** 7,10 **** <a href="javascript: goto_page3()"> Page 3 </a> ] <p> ! <a href="javascript: go_back()"><img src="{{IMG_URL}}Back.gif" border="0"></a> ! <a href="{{APP_URL}}"><img src="{{IMG_URL}}home.gif" border="0"></a> --- 7,10 ---- <a href="javascript: goto_page3()"> Page 3 </a> ] <p> ! <a href="javascript: go_back()"><img src="{{IMG_URL}}back.png" border="0"></a> ! <a href="{{APP_URL}}"><img src="{{IMG_URL}}home.png" border="0"></a> |
From: Dashamir H. <das...@us...> - 2003-08-11 16:57:44
|
Update of /cvsroot/phpwebapp/app2/img In directory sc8-pr-cvs1:/tmp/cvs-serv1231/img Added Files: home.png back.png Log Message: .png images that will replace .gif images --- NEW FILE: home.png --- PNG --- NEW FILE: back.png --- PNG ^rÿÿY$!øjº fhÝR¼ß@|Ü@üe*M_¯hígûj_±prQxäÞAõ°üH÷ "V,¢G.2ãzDX]DEÊàÁ9BbAC.¥2ñõ^Ò-ùøãèåØ*Ýã¹=ÁÃØó±øü¥}kk °® Õ8 ¯Ð¿¶T!ôÏÝãHü/ÓAS%ö©AtâË»ÙÎî;®é²Àiic®3fæ>SïÙyûz»Á¡o+c9Í< |
From: Dashamir H. <das...@us...> - 2003-08-11 16:56:19
|
Update of /cvsroot/phpwebapp/app2/img In directory sc8-pr-cvs1:/tmp/cvs-serv1596/img Removed Files: home.gif Back.gif Log Message: .gif images are replaced by .png images --- home.gif DELETED --- --- Back.gif DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-11 16:45:16
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus In directory sc8-pr-cvs1:/tmp/cvs-serv28024/boxes/editMenus Removed Files: tri.gif Log Message: .gif images replaced by .png images --- tri.gif DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-11 16:44:12
|
Update of /cvsroot/phpwebapp/web_app/webobjects/datebox In directory sc8-pr-cvs1:/tmp/cvs-serv26825/webobjects/datebox Added Files: show_calendar.png Log Message: .png images added in place of .gif images --- NEW FILE: show_calendar.png --- PNG |
From: Dashamir H. <das...@us...> - 2003-08-11 16:44:12
|
Update of /cvsroot/phpwebapp/web_app/webobjects/dbTable In directory sc8-pr-cvs1:/tmp/cvs-serv26825/webobjects/dbTable Added Files: select.png Log Message: .png images added in place of .gif images --- NEW FILE: select.png --- GIF89a |
From: Dashamir H. <das...@us...> - 2003-08-11 16:38:01
|
Update of /cvsroot/phpwebapp/web_app/boxes/editMenus/sample_menu In directory sc8-pr-cvs1:/tmp/cvs-serv28024/boxes/editMenus/sample_menu Removed Files: tri.gif Log Message: .gif images replaced by .png images --- tri.gif DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-11 16:37:35
|
Update of /cvsroot/phpwebapp/web_app/webobjects/datebox In directory sc8-pr-cvs1:/tmp/cvs-serv28024/webobjects/datebox Removed Files: show_calendar.gif Log Message: .gif images replaced by .png images --- show_calendar.gif DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-11 16:37:35
|
Update of /cvsroot/phpwebapp/web_app/session/sample In directory sc8-pr-cvs1:/tmp/cvs-serv28024/session/sample Removed Files: Back.gif Add.gif Log Message: .gif images replaced by .png images --- Back.gif DELETED --- --- Add.gif DELETED --- |
From: Dashamir H. <das...@us...> - 2003-08-11 16:34:21
|
Update of /cvsroot/phpwebapp/web_app/webobjects/listbox In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/listbox Modified Files: listbox.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: listbox.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/listbox/listbox.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** listbox.php 21 Feb 2003 08:17:06 -0000 1.1.1.1 --- listbox.php 11 Aug 2003 16:17:51 -0000 1.2 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage listbox + */ class listbox extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 16:34:04
|
Update of /cvsroot/phpwebapp/app1/img In directory sc8-pr-cvs1:/tmp/cvs-serv32210/img Added Files: home.png back.png Log Message: .png images that will replace .gif images --- NEW FILE: home.png --- PNG --- NEW FILE: back.png --- PNG ^rÿÿY$!øjº fhÝR¼ß@|Ü@üe*M_¯hígûj_±prQxäÞAõ°üH÷ "V,¢G.2ãzDX]DEÊàÁ9BbAC.¥2ñõ^Ò-ùøãèåØ*Ýã¹=ÁÃØó±øü¥}kk °® Õ8 ¯Ð¿¶T!ôÏÝãHü/ÓAS%ö©AtâË»ÙÎî;®é²Àiic®3fæ>SïÙyûz»Á¡o+c9Í< |
From: Dashamir H. <das...@us...> - 2003-08-11 16:33:27
|
Update of /cvsroot/phpwebapp/web_app/webobjects/form In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/form Modified Files: formWebObj.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: formWebObj.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/form/formWebObj.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** formWebObj.php 7 Aug 2003 16:12:22 -0000 1.3 --- formWebObj.php 11 Aug 2003 16:17:51 -0000 1.4 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage formWebObj + */ class formWebObj extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 16:33:26
|
Update of /cvsroot/phpwebapp/web_app/webobjects/dbTable In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/dbTable Modified Files: editRecord.php dbTable.php dbTable.html Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: editRecord.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/dbTable/editRecord.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** editRecord.php 16 Jul 2003 09:27:59 -0000 1.2 --- editRecord.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage dbTable + */ class editRecord extends WebObject { Index: dbTable.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/dbTable/dbTable.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dbTable.php 16 Jul 2003 09:27:59 -0000 1.2 --- dbTable.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage dbTable + */ class dbTable extends WebObject { Index: dbTable.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/dbTable/dbTable.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dbTable.html 16 Jul 2003 09:27:59 -0000 1.2 --- dbTable.html 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 21,25 **** <If condition="{{selectable}}"> <th bgcolor="#eeeeee"> ! <a href="javascript: dbTable_select('{{obj_id}}', '{{UNDEFINED}}')"><img border="0" src="{{GRAPHICS}}blue_tri.gif"></a> </th> </If> --- 21,25 ---- <If condition="{{selectable}}"> <th bgcolor="#eeeeee"> ! <a href="javascript: dbTable_select('{{obj_id}}', '{{UNDEFINED}}')"><img border="0" src="{{GRAPHICS}}blue_tri.png"></a> </th> </If> *************** *** 43,47 **** <td bgcolor="{{bgcolor}}"> <a href="javascript: dbTable_select('{{obj_id}}', '{{rec_id}}')"> ! <img border="0" src="{{GRAPHICS}}blue_tri.gif"> </a> </td> --- 43,47 ---- <td bgcolor="{{bgcolor}}"> <a href="javascript: dbTable_select('{{obj_id}}', '{{rec_id}}')"> ! <img border="0" src="{{./}}select.png"> </a> </td> |
From: Dashamir H. <das...@us...> - 2003-08-11 16:32:46
|
Update of /cvsroot/phpwebapp/web_app/webobjects/table In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/table Modified Files: table.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: table.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/table/table.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** table.php 16 Jul 2003 09:27:59 -0000 1.2 --- table.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage dbTable + */ class table extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 16:32:45
|
Update of /cvsroot/phpwebapp/web_app/webobjects/tabs In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/tabs Modified Files: tabs3_items.php tabs3.php tabs2_items.php tabs2.php tabs1_items.php tabs1.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: tabs3_items.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/tabs/tabs3_items.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tabs3_items.php 16 Jul 2003 09:27:59 -0000 1.2 --- tabs3_items.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 2,5 **** --- 2,8 ---- /** * The $menu_items array contains the items of the tabs3. + * + * @package webobjects + * @subpackage tabs */ $menu_items = array( Index: tabs3.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/tabs/tabs3.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tabs3.php 16 Jul 2003 09:27:59 -0000 1.2 --- tabs3.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage tabs + */ class tabs3 extends WebObject { Index: tabs2_items.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/tabs/tabs2_items.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tabs2_items.php 16 Jul 2003 09:27:59 -0000 1.2 --- tabs2_items.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 2,5 **** --- 2,8 ---- /** * The $menu_items array contains the items of the tabs2. + * + * @package webobjects + * @subpackage tabs */ $menu_items = array( Index: tabs2.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/tabs/tabs2.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tabs2.php 16 Jul 2003 09:27:59 -0000 1.2 --- tabs2.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage tabs + */ class tabs2 extends WebObject { Index: tabs1_items.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/tabs/tabs1_items.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tabs1_items.php 16 Jul 2003 09:27:59 -0000 1.2 --- tabs1_items.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 1,5 **** <?php /** ! * The $menu_items array contains the items of the tabs1. */ $menu_items = array( --- 1,8 ---- <?php /** ! * The $menu_items array contains the items of the tabs1. ! * ! * @package webobjects ! * @subpackage tabs */ $menu_items = array( Index: tabs1.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/tabs/tabs1.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tabs1.php 16 Jul 2003 09:27:59 -0000 1.2 --- tabs1.php 11 Aug 2003 16:17:50 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage tabs + */ class tabs1 extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 16:31:14
|
Update of /cvsroot/phpwebapp/web_app/webobjects/datebox In directory sc8-pr-cvs1:/tmp/cvs-serv29261/webobjects/datebox Modified Files: datebox.php datebox.html Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: datebox.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/datebox/datebox.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** datebox.php 16 Jul 2003 09:27:59 -0000 1.2 --- datebox.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package webobjects + * @subpackage datebox + */ class datebox extends WebObject { Index: datebox.html =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/datebox/datebox.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** datebox.html 16 Jul 2003 09:27:59 -0000 1.2 --- datebox.html 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 10,14 **** onfocus="blur()" /> <input type="image" ! src="{{./}}show_calendar.gif" width="12" height="12" onclick="show_calendar(this.form.name+'.text_{{obj_name}}', null, null, '{{format}}');" --- 10,14 ---- onfocus="blur()" /> <input type="image" ! src="{{./}}show_calendar.png" width="12" height="12" onclick="show_calendar(this.form.name+'.text_{{obj_name}}', null, null, '{{format}}');" |
From: Dashamir H. <das...@us...> - 2003-08-11 16:31:14
|
Update of /cvsroot/phpwebapp/web_app/tools/fileBrowser In directory sc8-pr-cvs1:/tmp/cvs-serv29261/tools/fileBrowser Modified Files: panel.php fileBrowser.php file.php Log Message: * added some comments (that are handled by phpDocumentor) for dividing the code into packages and subpackages * replaced .gif images by .png images Index: panel.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/panel.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** panel.php 16 Jul 2003 09:27:59 -0000 1.2 --- panel.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package tools + * @subpackage fileBrowser + */ class panel extends WebObject { Index: fileBrowser.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/fileBrowser.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fileBrowser.php 21 Feb 2003 08:17:01 -0000 1.1.1.1 --- fileBrowser.php 11 Aug 2003 16:17:51 -0000 1.2 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package tools + * @subpackage fileBrowser + */ class fileBrowser extends WebObject { Index: file.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/file.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** file.php 16 Jul 2003 09:27:59 -0000 1.2 --- file.php 11 Aug 2003 16:17:51 -0000 1.3 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @package tools + * @subpackage fileBrowser + */ class file extends WebObject { |
From: Dashamir H. <das...@us...> - 2003-08-11 16:28:12
|
Update of /cvsroot/phpwebapp/documentation/graphics In directory sc8-pr-cvs1:/tmp/cvs-serv31260/graphics Added Files: white.png darkgrey.png bismilah.png Log Message: .png files added in place of .gif files --- NEW FILE: white.png --- PNG IDATxc` --- NEW FILE: darkgrey.png --- PNG IDATxc` --- NEW FILE: bismilah.png --- PNG ' ìCï |