[geeklog-cvs] geeklog-1.3/system lib-plugins.php,1.20,1.21

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Wed Jul 16 10:44:34 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/system
In directory internal.geeklog.net:/tmp/cvs-serv8069

Modified Files:
	lib-plugins.php 
Log Message:
Fixed spelling of getHeader function (we're using all lower-case function names in the API) and fixed two typos in the comments.


Index: lib-plugins.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/lib-plugins.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** lib-plugins.php	28 Jun 2003 01:36:27 -0000	1.20
--- lib-plugins.php	16 Jul 2003 14:44:31 -0000	1.21
***************
*** 796,802 ****
  /**
  * This function is called from COM_siteHeader and will return additional Header information
! * This can be Javascript funcitons required for the plugin or extra Metatags
  *
! * @return   string      returns a concatented string of all plugins extra header code
  */
  function PLG_getHeaderCode()
--- 796,802 ----
  /**
  * This function is called from COM_siteHeader and will return additional Header information
! * This can be Javascript functions required for the plugin or extra Metatags
  *
! * @return   string      returns a concatenated string of all plugins extra header code
  */
  function PLG_getHeaderCode()
***************
*** 808,812 ****
      for ($i = 1; $i <= $nrows; $i++) {
          $A = DB_fetchArray($result);
!         $function = 'plugin_getHeaderCode_' . $A['pi_name'];
          if (function_exists($function)) {
              $headercode .= $function();
--- 808,812 ----
      for ($i = 1; $i <= $nrows; $i++) {
          $A = DB_fetchArray($result);
!         $function = 'plugin_getheadercode_' . $A['pi_name'];
          if (function_exists($function)) {
              $headercode .= $function();





More information about the geeklog-cvs mailing list