Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

394
 
399
 
399
 
language.php
_> 11 <?php
  22 /*
<> 3 -  $Id: language.php 394 2006-01-22 04:43:29Z hpdl $
   3+  $Id: language.php 399 2006-01-25 06:08:03Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
170170       return $this->_languages[$language][$key];
  171171     }
  172172 
<>  173+    function getCodeFromID($id) {
   174+      foreach ($this->_languages as $code => $lang) {
   175+        if ($lang['id'] == $id) {
   176+          return $code;
   177+        }
   178+      }
   179+    }
   180+
<_ 173181     function getID() {
  174182       return $this->_languages[$this->_code]['id'];
  175183     }