Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1165
 
1261
 
1261
 
language.php
_> 1515   class osC_LanguageInstall extends osC_Language_Admin {
  1616 
  1717 /* Private variables */
<> 18 -    var $_languages = array('en_US' => array('code' => 'en_US',
  19 -                                             'charset' => 'utf-8'));
   18+    var $_languages = array('en_US' => array('name' => 'English',
   19+                                             'code' => 'en_US',
   20+                                             'charset' => 'utf-8',
   21+                                             'exist' => '1'),
   22+                            'nl_NL' => array('name' => 'Dutch',
   23+                                             'code' => 'nl_NL',
   24+                                             'charset' => 'utf-8',
   25+                                             'exist' => '0'),
   26+                            'tr_TR' => array('name' => 'Turkisch',
   27+                                             'code' => 'tr_TR',
   28+                                             'charset' => 'utf-8',
   29+                                             'exist' => '0'),
   30+                            'es_ES' => array('name' => 'Spanish',
   31+                                             'code' => 'es_ES',
   32+                                             'charset' => 'utf-8',
   33+                                             'exist' => '0'),
   34+                            'es_CL' => array('name' => 'Chilean',
   35+                                             'code' => 'es_CL',
   36+                                             'charset' => 'utf-8',
   37+                                             'exist' => '0'));
2038 
  2139 /* Class constructor */
  2240 
     
 !
7492 
  7593       return $ini_array;
  7694     }
<>  95+   
   96+    function _scanLanguage() {
   97+      $osC_DirectoryListing = new osC_DirectoryListing('includes/languages');
   98+      $osC_DirectoryListing->setIncludeFiles(false);
   99+
   100+      foreach ($osC_DirectoryListing->getFiles() as $directory) {
   101+        if (array_key_exists($directory['name'], $this->_languages)) {
   102+          $this->_languages[$directory['name']]['exist'] = 1;
   103+        }
   104+      }
   105+    }
<_ 77106   }
  78107 ?>