[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.391,1.392

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat Oct 23 15:12:49 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv12723

Modified Files:
	lib-common.php 
Log Message:
1. Set the target encoding in Geeklog's RSS parser (bug #301)
2. Set the {topic_icon} variable to an empty string for the "Home" link in the Topics block (reported by jhwhite)


Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.391
retrieving revision 1.392
diff -C2 -d -r1.391 -r1.392
*** lib-common.php	23 Oct 2004 18:23:12 -0000	1.391
--- lib-common.php	23 Oct 2004 19:12:46 -0000	1.392
***************
*** 1963,1966 ****
--- 1963,1967 ----
              $sections->set_var( 'option_label', $LANG01[90] );
              $sections->set_var( 'option_count', '' );
+             $sections->set_var( 'topic_image', '' );
              $retval .= $sections->parse( 'item', 'option' );
          }
***************
*** 1970,1973 ****
--- 1971,1975 ----
              $sections->set_var( 'option_label', $LANG01[90] );
              $sections->set_var( 'option_count', '' );
+             $sections->set_var( 'topic_image', '' );
              $retval .= $sections->parse( 'item', 'inactive' );
          }
***************
*** 3918,3921 ****
--- 3920,3925 ----
      $rdferror = false;
      $xml_parser = xml_parser_create();
+     @xml_parser_set_option( $xml_parser, XML_OPTION_TARGET_ENCODING,
+                             $_CONF['default_charset'] );
      xml_set_element_handler( $xml_parser, 'COM_rdfStartElement',
                               'COM_rdfEndElement');




More information about the geeklog-cvs mailing list