Changeset 1075 in ExiteCMS


Ignore:
Timestamp:
11/06/07 19:52:06 (4 years ago)
Author:
hverton
Message:

fixed some typo's and a syntax error
removed jscript.js, no longer used

Location:
trunk/includes
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/locale_functions.php

    r1072 r1075  
    6969function locale_load($locale_name) { 
    7070 
    71     global $settings, $locale; 
     71    global $settings, $locale, $db_prefix; 
    7272 
    7373    // assemble the locale filename 
    74     $locales_file = PATH_ROOT."files/locales/".$locale['locale'].".".$locale_name.".php"; 
     74    $locales_file = PATH_ROOT."files/locales/".$settings['locale'].".".$locale_name.".php"; 
    7575 
    7676    // check if we need to recompile from the database 
    77     if (dbtable_exists($prefix."locales")) { 
     77    if (dbtable_exists($db_prefix."locales")) { 
    7878 
    7979        // get the last update date from the locale strings table 
  • trunk/includes/theme_functions.php

    r1071 r1075  
    226226 
    227227            // if one or more locales are assigned to this panel, load them first 
    228             if (isset($panel['locale']) { 
     228            if (isset($panel['locale'])) { 
    229229                if (is_array($panel['locale'])) { 
    230230                    foreach($panel['locale'] as $panel_locale) { 
Note: See TracChangeset for help on using the changeset viewer.