Thread: [Phphtmllib-devel] SF.net SVN: phphtmllib:[3155] branches/BRANCH_2_X/phphtmllib
Status: Beta
Brought to you by:
hemna
From: <mpw...@us...> - 2008-09-11 08:53:08
|
Revision: 3155 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3155&view=rev Author: mpwalsh8 Date: 2008-09-11 08:53:18 +0000 (Thu, 11 Sep 2008) Log Message: ----------- Added ability to set InfoText on GoogleMap widget. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/examples/widget24.php branches/BRANCH_2_X/phphtmllib/widgets/GoogleMap.inc Modified: branches/BRANCH_2_X/phphtmllib/examples/widget24.php =================================================================== --- branches/BRANCH_2_X/phphtmllib/examples/widget24.php 2008-09-10 19:42:38 UTC (rev 3154) +++ branches/BRANCH_2_X/phphtmllib/examples/widget24.php 2008-09-11 08:53:18 UTC (rev 3155) @@ -39,7 +39,7 @@ $gm1->set_style("border: 3px solid #afb5ff") ; $gm1->setAddress("1600 Pennsylvania Ave, Washington DC, 20006") ; $gm1->setShowControls(true) ; - $gm1->setShowInfoWindow(true) ; + $gm1->setInfoWindowType(PHL_GMAPS_INFO_WINDOW_PLAIN) ; $gm1->setZoomLevel(10) ; // Get Google Maps key from URI @@ -60,7 +60,7 @@ $address = join($gm1->getAddress(), "<br>") ; $container->add(html_h4("Map Controls: On", html_br(), - "Info Window: On", html_br(), "Zoom Level: 10", html_br(), + "Info Window: On - Plain", html_br(), "Zoom Level: 10", html_br(), "Map Type: Off", html_br(), sprintf("Address: %s", $address))) ; $container->add($gm1) ; @@ -74,7 +74,7 @@ $gm2->setAddress("Buckingham Palace London SW1A 1, United Kingdom") ; $gm2->setShowType(true) ; $gm2->setShowControls(false) ; - $gm2->setShowInfoWindow(false) ; + $gm1->setInfoWindowType(PHL_GMAPS_INFO_WINDOW_NONE) ; $gm2->setZoomLevel(15) ; // Get Google Maps key from URI @@ -105,7 +105,7 @@ $gm3->setAddress("1600 Pennsylvania Ave, Washington DC, 20006") ; $gm3->setAddress("Buckingham Palace London SW1A 1, United Kingdom") ; $gm3->setShowControls(true) ; - $gm3->setShowInfoWindow(true) ; + $gm1->setInfoWindowType(PHL_GMAPS_INFO_WINDOW_HTML) ; $gm3->setZoomLevel(2) ; // Get Google Maps key from URI @@ -119,7 +119,7 @@ $gm3->generateMap() ; $container->add(html_h4("Map Controls: Off", html_br(), - "Info Window: Off", html_br(), "Zoom Level: 2", html_br(), + "Info Window: On - HTML", html_br(), "Zoom Level: 2", html_br(), "Map Type: Off", html_br(), sprintf("Address: %s", $address))) ; $container->add($gm3) ; Modified: branches/BRANCH_2_X/phphtmllib/widgets/GoogleMap.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/GoogleMap.inc 2008-09-10 19:42:38 UTC (rev 3154) +++ branches/BRANCH_2_X/phphtmllib/widgets/GoogleMap.inc 2008-09-11 08:53:18 UTC (rev 3155) @@ -20,6 +20,10 @@ * */ +define("PHL_GMAPS_INFO_WINDOW_NONE", "none") ; +define("PHL_GMAPS_INFO_WINDOW_PLAIN", "plain") ; +define("PHL_GMAPS_INFO_WINDOW_HTML", "html") ; + /** * Google Map class * @@ -40,6 +44,11 @@ var $_address = array() ; /** + * Info Text to display + */ + var $_infotext = array() ; + + /** * Show Google Maps type, off by default */ var $_show_type = false ; @@ -52,7 +61,7 @@ /** * Show Google Maps Info Window, on by default */ - var $_show_info_window = true ; + var $_info_window_type = true ; /** * Google Map width in pixels, 450 by default @@ -80,7 +89,8 @@ var $_head_js_code = " google.load('maps', '2'); - function phl_gmap_load(zoom, type, control, infowindow, canvas, addresses) + function phl_gmap_load(zoom, type, control, + infowindowtype, canvas, addresses, infowindowtext) { if (google.maps.BrowserIsCompatible()) { @@ -88,7 +98,7 @@ // Hide the info window? - if (!infowindow) + if (infowindowtype == '%s') { map.disableInfoWindow(); } @@ -97,14 +107,14 @@ if (type) { - map.addControl(new GMapTypeControl()); + map.addControl(new google.maps.MapTypeControl()); } // Show the map controls? if (control) { - map.addControl(new GSmallMapControl()); + map.addControl(new google.maps.SmallMapControl()); } // Create the GeoCoder @@ -115,15 +125,16 @@ for (var i = 0 ; i < addresses.length ; i++) { - phl_show_address(map, geocoder, addresses[i], zoom); + phl_show_address(map, geocoder, addresses[i], + infowindowtext[i], zoom, infowindowtype) ; } } } - function phl_show_address(map, geocoder, address, zoom) + function phl_show_address(map, geocoder, + address, zoom, infowindowhtml, infowindowtext) { - geocoder.getLatLng( - address, + geocoder.getLatLng(address, function(latlng) { if (!latlng) @@ -135,10 +146,19 @@ map.setCenter(latlng, zoom); var marker = new google.maps.Marker(latlng); map.addOverlay(marker); - GEvent.addListener(marker, \"click\", function() { - marker.openInfoWindow(address); - }); - marker.openInfoWindow(address); + google.maps.Event.addListener(marker, \"click\", + function() + { + if (infowindowtype == '%s') + { + marker.openInfoWindowHtml(infowindowtext); + } + else + { + marker.openInfoWindow(infowindowtext); + } + }); + //marker.openInfoWindow(address); map.checkResize(); } } @@ -162,7 +182,8 @@ */ function getHeadJSCode() { - return $this->_head_js_code ; + return sprintf($this->_head_js_code, + PHL_GMAPS_INFO_WINDOW_NONE, PHL_GMAPS_INFO_WINDOW_HTML) ; } /** @@ -206,6 +227,26 @@ } /** + * Set the info text to display + * + * @param string - info text to display + */ + function setInfoText($infotext) + { + $this->_infotext[] = $infotext ; + } + + /** + * Get the info text to display + * + * @return mixed - info text to display + */ + function getInfoText() + { + return $this->_infotext ; + } + + /** * Set the width of the map * * @param int - width of the map @@ -310,9 +351,9 @@ * * @param boolean - show info window state of the map */ - function setShowInfoWindow($show = true) + function setInfoWindowType($show = true) { - $this->_show_info_window = $show ; + $this->_info_window_type = $show ; } /** @@ -320,9 +361,9 @@ * * @return boolean - show info window state of the map */ - function getShowInfoWindow() + function getInfoWindowType() { - return $this->_show_info_window ; + return $this->_info_window_type ; } /** @@ -392,7 +433,7 @@ $this->getZoomLevel(), $this->getShowType() ? "true" : "false", $this->getShowControls() ? "true" : "false", - $this->getShowInfoWindow() ? "true" : "false", + $this->getInfoWindowType(), $this->get_id(), $addrarg)) ; $this->add($js) ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2009-04-02 14:23:46
|
Revision: 3246 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3246&view=rev Author: mpwalsh8 Date: 2009-04-02 14:23:44 +0000 (Thu, 02 Apr 2009) Log Message: ----------- Fixed typo in version number. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/phphtmllib.php branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/phphtmllib.php =================================================================== --- branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2009-04-02 14:02:00 UTC (rev 3245) +++ branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2009-04-02 14:23:44 UTC (rev 3246) @@ -6,7 +6,7 @@ * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. * * - * Version: 2.6.$WCREV$ + * Version: 2.6.1.$WCREV$ * Last Modified: $WCDATE$ * Author: Mike Walsh * Author URI: http://www.michaelwalsh.org/ Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2009-04-02 14:02:00 UTC (rev 3245) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2009-04-02 14:23:44 UTC (rev 3246) @@ -17,7 +17,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", "2.6.$WCREV$-dev"); +define("PHPHTMLLIB_VERSION", "2.6.1.$WCREV$-dev"); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2009-07-18 12:56:26
|
Revision: 3251 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3251&view=rev Author: mpwalsh8 Date: 2009-07-18 12:56:01 +0000 (Sat, 18 Jul 2009) Log Message: ----------- Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc 2009-05-19 06:50:21 UTC (rev 3250) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc 2009-07-18 12:56:01 UTC (rev 3251) @@ -255,6 +255,7 @@ $attributes = $this->_build_element_attributes(); $attributes["type"] = "radio"; + reset($this->_data_list[$index]) ; list($name, $value) = each($this->_data_list[$index]); $attributes["value"] = $value; Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2009-05-19 06:50:21 UTC (rev 3250) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2009-07-18 12:56:01 UTC (rev 3251) @@ -17,7 +17,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", "2.6.1.$WCREV$-dev"); +define("PHPHTMLLIB_VERSION", '2.6.1.$WCREV$-dev'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-11 11:26:18
|
Revision: 3556 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3556&view=rev Author: mpwalsh8 Date: 2012-03-11 11:26:12 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Fixed PHP5 notices and warnings due to E_STRICT setting. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc Modified: branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -216,7 +216,7 @@ //lets call the special render tag debug function return $this->_render_tag_debug( $indent_level ); } else { - return XMLTag::_render_open_tag($indent_level, $this->_flags & _XHTMLCOMPLIANT); + return parent::_render_open_tag($indent_level, $this->_flags & _XHTMLCOMPLIANT); } } @@ -234,7 +234,7 @@ if ( $output_debug ) { return $this->_render_content_debug( $indent_level ); } else { - return XMLTag::_render_content( $indent_level, $output_debug); + return parent::_render_content( $indent_level, $output_debug); } } @@ -251,7 +251,7 @@ if ( $output_debug ) { return $this->_render_close_tag_debug( $indent_level ); } else { - return XMLTag::_render_close_tag($indent_level); + return parent::_render_close_tag($indent_level); } } Modified: branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -85,13 +85,13 @@ * This function is responsible * for rendering the tag and * its contents - * - * {@source } + * + * {@source } * * @param int - the current indentation * level for the tag */ - function render( $indent_level=0 ) { + function render( $indent_level=0, $output_debug=0 ) { //try and guess the indentation flags //based on the data Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -32,7 +32,7 @@ * * @param array data_list - list of data elements (name=>value) */ - function set_list_data($data) { + function set_list_data($data =array()) { $this->_mdata = $data; Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -128,7 +128,7 @@ * It validates as is_email(). * @param FormValidation object. */ - function validate($_FormValidation) { + function validate(&$_FormValidation) { if (!$_FormValidation->is_email($this->get_value(), $this->_allow_name)) { $this->set_error_message( $_FormValidation->get_error_message() ); return FALSE; Modified: branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -54,7 +54,7 @@ * render the entire table. * */ - function render($indent_level, $output_debug=0) { + function render($indent_level=0, $output_debug=0) { $div =& $this->_build_wrapper(); Modified: branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -59,7 +59,7 @@ * data and the buttons * */ - function render($indent_level, $output_debug=0) { + function render($indent_level=0, $output_debug=0) { $table = html_table($this->get_width(), 0, 0, 0, $this->get_align()); Modified: branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -182,7 +182,7 @@ * * @return string the raw html output. */ - function render( $indent_level = 0) { + function render( $indent_level = 0, $output_debug=0) { //render the http header and xml header $output = $this->_render_header(); @@ -315,7 +315,7 @@ * @return XMLtag object */ function _create_xml_obj() { - $this->_xml_obj = &new XMLtag( array("version" => "1.0") ); + $this->_xml_obj = new XMLtag( array("version" => "1.0") ); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-12 22:08:23
|
Revision: 3560 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3560&view=rev Author: mpwalsh8 Date: 2012-03-12 22:08:16 +0000 (Mon, 12 Mar 2012) Log Message: ----------- Re-release of 2.6.3. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/phphtmllib.php branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/phphtmllib.php =================================================================== --- branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-12 22:01:37 UTC (rev 3559) +++ branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-12 22:08:16 UTC (rev 3560) @@ -1,110 +1,110 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -/** - * Plugin Name: phpHtmlLib - * Plugin URI: http://michaelwalsh.org/wordpress-stuff/wordpress-plugins/phphtmllib/ - * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. - * - * - * Version: MAJOR_RELEASE.MINOR_RELEASE.$WCREV$ - * Last Modified: $WCDATE$ - * Author: Mike Walsh - * Author URI: http://www.michaelwalsh.org/ - * License: GPL - * - * - * $Id$ - * - * (c) 2008 by Mike Walsh - * - * @author Mike Walsh <mik...@mi...> - * @package phpHtmlLib - * @subpackage WordPress - * @version $Rev$ - * @lastmodified $Date$ - * @lastmodifiedby $LastChangedBy$ - * @since 2.6.0 - * - */ - -// Initialize the library - -define("PHPHTMLLIB_ABSPATH", dirname(__FILE__)) ; -define("PHPHTMLLIB_RELPATH", get_bloginfo('url') . - "/" . PLUGINDIR . "/" . basename(dirname(__FILE__))) ; - -require_once(PHPHTMLLIB_ABSPATH . "/version.inc") ; - -/** - * Add wp_head action - * - * This function adds the CSS link and Javascript - * references required by the phpHtmlLib plugin. - * - */ -function phphtmllib_wp_head() -{ - phphtmllib_head_css() ; -} - -/** - * Add admin_head action - * - * This function adds the CSS link and Javascript - * references required by the phpHtmlLib plugin. - * - */ -function phphtmllib_admin_head() -{ - phphtmllib_head_css() ; -} - -/** - * phphtmllib_plugin_installed() - * - * @return - boolean - */ -function phphtmllib_plugin_installed() -{ - return true ; -} - -/** - * phphtmllib_install - set up when the plugin is activated - * - * Store the absolute and relative paths to phpHtmlLib - * in the options table so other plugins can use them. - * - */ -function phphtmllib_install() -{ - update_option('PHPHTMLLIB_ABSPATH', PHPHTMLLIB_ABSPATH) ; - update_option('PHPHTMLLIB_RELPATH', PHPHTMLLIB_RELPATH) ; - update_option('PHPHTMLLIB_VERSION', PHPHTMLLIB_VERSION) ; -} - -/** - * phphtmllib_uninstall - clean up when the plugin is deactivated - * - */ -function phphtmllib_uninstall() -{ - delete_option('PHPHTMLLIB_ABSPATH') ; - delete_option('PHPHTMLLIB_RELPATH') ; - delete_option('PHPHTMLLIB_VERSION') ; -} - -/** - * Hook for adding CSS links and other HEAD stuff - */ -//add_action('wp_head', 'phphtmllib_wp_head'); -//add_action('admin_head', 'phphtmllib_admin_head'); - - -/** - * Activate the plugin initialization function - */ -register_activation_hook(plugin_basename(__FILE__), 'phphtmllib_install') ; -register_deactivation_hook(plugin_basename(__FILE__), 'phphtmllib_uninstall') ; - -?> +<?php +/* vim: set expandtab tabstop=4 shiftwidth=4: */ +/** + * Plugin Name: phpHtmlLib + * Plugin URI: http://michaelwalsh.org/wordpress-stuff/wordpress-plugins/phphtmllib/ + * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. + * + * + * Version: 2.6.3.3559 + * Last Modified: 2012/03/12 23:01:37 + * Author: Mike Walsh + * Author URI: http://www.michaelwalsh.org/ + * License: GPL + * + * + * $Id$ + * + * (c) 2008 by Mike Walsh + * + * @author Mike Walsh <mik...@mi...> + * @package phpHtmlLib + * @subpackage WordPress + * @version $Rev$ + * @lastmodified $Date$ + * @lastmodifiedby $LastChangedBy$ + * @since 2.6.0 + * + */ + +// Initialize the library + +define("PHPHTMLLIB_ABSPATH", dirname(__FILE__)) ; +define("PHPHTMLLIB_RELPATH", get_bloginfo('url') . + "/" . PLUGINDIR . "/" . basename(dirname(__FILE__))) ; + +require_once(PHPHTMLLIB_ABSPATH . "/version.inc") ; + +/** + * Add wp_head action + * + * This function adds the CSS link and Javascript + * references required by the phpHtmlLib plugin. + * + */ +function phphtmllib_wp_head() +{ + phphtmllib_head_css() ; +} + +/** + * Add admin_head action + * + * This function adds the CSS link and Javascript + * references required by the phpHtmlLib plugin. + * + */ +function phphtmllib_admin_head() +{ + phphtmllib_head_css() ; +} + +/** + * phphtmllib_plugin_installed() + * + * @return - boolean + */ +function phphtmllib_plugin_installed() +{ + return true ; +} + +/** + * phphtmllib_install - set up when the plugin is activated + * + * Store the absolute and relative paths to phpHtmlLib + * in the options table so other plugins can use them. + * + */ +function phphtmllib_install() +{ + update_option('PHPHTMLLIB_ABSPATH', PHPHTMLLIB_ABSPATH) ; + update_option('PHPHTMLLIB_RELPATH', PHPHTMLLIB_RELPATH) ; + update_option('PHPHTMLLIB_VERSION', PHPHTMLLIB_VERSION) ; +} + +/** + * phphtmllib_uninstall - clean up when the plugin is deactivated + * + */ +function phphtmllib_uninstall() +{ + delete_option('PHPHTMLLIB_ABSPATH') ; + delete_option('PHPHTMLLIB_RELPATH') ; + delete_option('PHPHTMLLIB_VERSION') ; +} + +/** + * Hook for adding CSS links and other HEAD stuff + */ +//add_action('wp_head', 'phphtmllib_wp_head'); +//add_action('admin_head', 'phphtmllib_admin_head'); + + +/** + * Activate the plugin initialization function + */ +register_activation_hook(plugin_basename(__FILE__), 'phphtmllib_install') ; +register_deactivation_hook(plugin_basename(__FILE__), 'phphtmllib_uninstall') ; + +?> Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:01:37 UTC (rev 3559) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:08:16 UTC (rev 3560) @@ -17,7 +17,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.3.$WCREV$'); +define("PHPHTMLLIB_VERSION", '2.6.3.3559'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-08-28 18:51:27
|
Revision: 3566 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3566&view=rev Author: mpwalsh8 Date: 2012-08-28 18:51:20 +0000 (Tue, 28 Aug 2012) Log Message: ----------- Prep for v2.6.4 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/Version.txt Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-08-28 18:47:59 UTC (rev 3565) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-08-28 18:51:20 UTC (rev 3566) @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.4 = +* Added child constructors which are needed by some versions of PHP (e.g. 5.3.1) to allow proper constructor chain calling. A missing constructor in the middle of a grandchild->child->parent class results in a PHP error in SOME PHP releases. + = 2.6.3 = * Fixed numerous deprecated notices and warnings which result when running under PHP5. * Fixed problem with missing image on Action Bar when displaying empty the action bar on an empty GUIDataList widget. Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2012-08-28 18:47:59 UTC (rev 3565) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2012-08-28 18:51:20 UTC (rev 3566) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=3 +MINOR_RELEASE=4 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-09-03 13:49:45
|
Revision: 3569 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3569&view=rev Author: mpwalsh8 Date: 2012-09-03 13:49:35 +0000 (Mon, 03 Sep 2012) Log Message: ----------- Prep for v2.6.5 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/Version.txt Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-09-03 13:47:40 UTC (rev 3568) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-09-03 13:49:35 UTC (rev 3569) @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.5 = +* Fixed recently added child constructors which addressed PHP5.3 compatibility issues so they play nice with PHP5.2.x as well. + = 2.6.4 = * Added child constructors which are needed by some versions of PHP (e.g. 5.3.1) to allow proper constructor chain calling. A missing constructor in the middle of a grandchild->child->parent class results in a PHP error in SOME PHP releases. Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2012-09-03 13:47:40 UTC (rev 3568) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2012-09-03 13:49:35 UTC (rev 3569) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=4 +MINOR_RELEASE=5 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2013-09-30 13:19:30
|
Revision: 3575 http://sourceforge.net/p/phphtmllib/svn/3575 Author: mpwalsh8 Date: 2013-09-30 13:19:27 +0000 (Mon, 30 Sep 2013) Log Message: ----------- Prep for v2.6.7 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2013-09-30 13:18:38 UTC (rev 3574) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2013-09-30 13:19:27 UTC (rev 3575) @@ -40,6 +40,10 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.7 = +* Fixed spacing issues with radio buttons and check boxes. +* Checked for existing styling before overloading it with CheckBoxList DIVs. + = 2.6.6 = * Fixed compatibility problem with PHP method_exists() function which caused PHP to crash with some versions of PHP 5.3.x on certain platforms (e.g. PHP 5.3.13 on Linux). Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2013-09-30 13:18:38 UTC (rev 3574) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2013-09-30 13:19:27 UTC (rev 3575) @@ -18,7 +18,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.3.$WCREV$'); +define("PHPHTMLLIB_VERSION", '2.6.7.$WCREV$'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2015-05-19 01:09:38
|
Revision: 3577 http://sourceforge.net/p/phphtmllib/svn/3577 Author: mpwalsh8 Date: 2015-05-19 01:09:35 +0000 (Tue, 19 May 2015) Log Message: ----------- Resolved a number of PHP Strict Standard notices resulting from calling non-static functions statically and/or mismatched method signatures between parent and child classes. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc Modified: branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc 2013-09-30 14:58:27 UTC (rev 3576) +++ branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc 2015-05-19 01:09:35 UTC (rev 3577) @@ -67,7 +67,7 @@ * * @return FormValidation object */ - function &singleton() { + static function &singleton() { static $obj=NULL; if (is_null($obj)) { Modified: branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc 2013-09-30 14:58:27 UTC (rev 3576) +++ branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc 2015-05-19 01:09:35 UTC (rev 3577) @@ -350,7 +350,7 @@ * widget * */ - function render($indent_level, $output_debug) { + function render($indent_level=0, $output_debug=0) { //setup the columns in their sorts $this->setup_columns(); @@ -563,7 +563,7 @@ * is the last cell for the current row. * */ - function child_add_row_cell($obj, $col_name, $last_in_row_flag) { + function child_add_row_cell($obj, $col_name, $last_in_row_flag, $row_data, $even_row) { user_error("DataList::child_add_row_cell() - ". "child class must override this method ". "to build the object that will be the ". This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2015-05-19 01:12:21
|
Revision: 3578 http://sourceforge.net/p/phphtmllib/svn/3578 Author: mpwalsh8 Date: 2015-05-19 01:12:19 +0000 (Tue, 19 May 2015) Log Message: ----------- Prep for v2.6.8 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/Version.txt branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2015-05-19 01:09:35 UTC (rev 3577) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2015-05-19 01:12:19 UTC (rev 3578) @@ -2,8 +2,8 @@ Contributors: mpwalsh8 Donate link: http://sourceforge.net/project/project_donations.php?group_id=32790 Tags: HTML, Forms, XHTML, XML, Widgets -Requires at least: 3.1 -Tested up to: 3.5.1 +Requires at least: 3.8 +Tested up to: 4.2.2 Stable tag: trunk The phpHtmlLib library contains a set of PHP classes and library functions to help @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.8 = +* Resolved a number of PHP Strict Standard notices resulting from calling non-static functions statically and/or mismatched method signatures between parent and child classes. + = 2.6.7 = * Fixed spacing issues with radio buttons and check boxes. * Checked for existing styling before overloading it with CheckBoxList DIVs. Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2015-05-19 01:09:35 UTC (rev 3577) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2015-05-19 01:12:19 UTC (rev 3578) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=7 +MINOR_RELEASE=8 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2015-05-19 01:09:35 UTC (rev 3577) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2015-05-19 01:12:19 UTC (rev 3578) @@ -18,7 +18,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.7.$WCREV$'); +define("PHPHTMLLIB_VERSION", '2.6.8.$WCREV$'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |