Ignore:
Timestamp:
Sep 20, 2004, 10:08:15 PM (20 years ago)
Author:
z0rglub
Message:
  • huge refactoring of admin/configuration.php (reminder : tabs in code are forbidden, only blank spaces are allowed)
  • in admin panel, remote site management is in "general" section and not in "configuration" section
  • when retrieving languages, the array keys must be the language code and not its display name (because 2 language codes might have the same display name)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r519 r528  
    117117
    118118  $lang_select = '<select name="' . $select_name . '" onchange="this.form.submit()">';
    119   foreach ($available_lang as $displayname => $code)
     119  foreach ($available_lang as $code => $displayname)
    120120  {
    121121    $selected = ( strtolower($default) == strtolower($code) ) ? ' selected="selected"' : '';
Note: See TracChangeset for help on using the changeset viewer.