[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.689,1.690

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


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

Modified Files:
	lib-common.php 
Log Message:
Only set {lang_attribute} in a multi-language environment (bug #0000616)


Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.689
retrieving revision 1.690
diff -C2 -d -r1.689 -r1.690
*** lib-common.php	21 Mar 2008 12:49:13 -0000	1.689
--- lib-common.php	26 Apr 2008 16:18:16 -0000	1.690
***************
*** 1022,1027 ****
          }
      }
!     $header->set_var( 'lang_id', $langId );
!     $header->set_var( 'lang_attribute', $langAttr );
  
      $header->set_var( 'background_image', $_CONF['layout_url']
--- 1022,1031 ----
          }
      }
!     $header->set_var('lang_id', $langId );
!     if (!empty($_CONF['languages']) && !empty($_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