Changeset 1075 in ExiteCMS
- Timestamp:
- 11/06/07 19:52:06 (4 years ago)
- Location:
- trunk/includes
- Files:
-
- 1 deleted
- 2 edited
-
jscript.js (deleted)
-
locale_functions.php (modified) (1 diff)
-
theme_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/locale_functions.php
r1072 r1075 69 69 function locale_load($locale_name) { 70 70 71 global $settings, $locale ;71 global $settings, $locale, $db_prefix; 72 72 73 73 // 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"; 75 75 76 76 // check if we need to recompile from the database 77 if (dbtable_exists($ prefix."locales")) {77 if (dbtable_exists($db_prefix."locales")) { 78 78 79 79 // get the last update date from the locale strings table -
trunk/includes/theme_functions.php
r1071 r1075 226 226 227 227 // if one or more locales are assigned to this panel, load them first 228 if (isset($panel['locale']) {228 if (isset($panel['locale'])) { 229 229 if (is_array($panel['locale'])) { 230 230 foreach($panel['locale'] as $panel_locale) {
Note: See TracChangeset
for help on using the changeset viewer.
