Ignore:
Timestamp:
11/07/07 16:57:20 (5 years ago)
Author:
root
Message:

removed empty locale index files
moved some locale settings (charset, country, dateinfo) from $locale to $settings
updated the modules and templates that used these variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/template-plugins/modifier.escape.php

    r917 r1081  
    2222function smarty_modifier_escape($string, $esc_type = 'entities', $char_set = '') 
    2323{ 
    24     global $locale; 
     24    global $locale, $settings; 
    2525     
    2626    // set a default char_set if none given 
    27     if ($char_set == '') $char_set = $locale['charset']; 
     27    if ($char_set == '') $char_set = $settings['charset']; 
    2828 
    2929    switch ($esc_type) { 
Note: See TracChangeset for help on using the changeset viewer.