[geeklog-cvs] Geeklog-1.x/public_html/links index.php,1.32,1.33
    Dirk Haun 
    dhaun at qs1489.pair.com
       
    Sun Feb  3 04:12:32 EST 2008
    
    
  
Update of /cvsroot/geeklog/Geeklog-1.x/public_html/links
In directory qs1489.pair.com:/tmp/cvs-serv87112/public_html/links
Modified Files:
	index.php 
Log Message:
Removed $_LI_CONF['enable_multilingual_links'] option. COM_getLangSQL() detects the multi-language support automatically.
Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/links/index.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** index.php	5 Jan 2008 20:47:45 -0000	1.32
--- index.php	3 Feb 2008 09:12:30 -0000	1.33
***************
*** 148,155 ****
          // Show categories
          $sql = "SELECT cid,pid,category,description FROM {$_TABLES['linkcategories']} WHERE pid='{$cat}'";
!         // check if we are using the multilanguage hack
!         if ($_LI_CONF['enable_multilingual_links']) {
!             $sql .= COM_getLangSQL('cid', 'AND');
!         }
          $sql .= COM_getPermSQL('AND') . " ORDER BY category";
          $result = DB_query($sql);
--- 148,152 ----
          // Show categories
          $sql = "SELECT cid,pid,category,description FROM {$_TABLES['linkcategories']} WHERE pid='{$cat}'";
!         $sql .= COM_getLangSQL('cid', 'AND');
          $sql .= COM_getPermSQL('AND') . " ORDER BY category";
          $result = DB_query($sql);
    
    
More information about the geeklog-cvs
mailing list