[geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.611.2.3, 1.611.2.4

Dirk Haun dhaun at qs1489.pair.com
Sat Apr 26 12:24:37 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv17058/public_html

Modified Files:
      Tag: geeklog_1_4_1_1
	lib-common.php 
Log Message:
Only set {lang_attribute} in a multi-language environment (bug #0000616, ported over from the trunk)


Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.611.2.3
retrieving revision 1.611.2.4
diff -C2 -d -r1.611.2.3 -r1.611.2.4
*** lib-common.php	3 Mar 2007 17:39:13 -0000	1.611.2.3
--- lib-common.php	26 Apr 2008 16:24:35 -0000	1.611.2.4
***************
*** 1019,1023 ****
      }
      $header->set_var( 'lang_id', $langId );
!     $header->set_var( 'lang_attribute', $langAttr );
  
      $header->set_var( 'background_image', $_CONF['layout_url']
--- 1019,1027 ----
      }
      $header->set_var( 'lang_id', $langId );
!     if( isset( $_CONF['languages'] ) && isset( $_CONF['language_files'] ))
!         $header->set_var( 'lang_attribute', $langAttr );
!     } else {
!         $header->set_var( 'lang_attribute', '' );
!     }
  
      $header->set_var( 'background_image', $_CONF['layout_url']




More information about the geeklog-cvs mailing list