Ignore:
Timestamp:
11/06/07 17:12:56 (5 years ago)
Author:
root
Message:

Replaced all includes of locales file by a call to locale_load()
Replaced all locale file references in templates by the locale name
Updated the theme functions to call locale_load() for template locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/forum_functions_include.php

    r957 r1071  
    257257    // define the search body panel variables 
    258258    $template_panels[] = array('type' => 'body', 'name' => 'forum.resultdialog', 'title' => $title, 'template' => 'forum.resultdialog.tpl',  
    259                                     'locale' => array(PATH_LOCALE.LOCALESET."forum/main.php",PATH_LOCALE.LOCALESET."forum/post.php", PATH_LOCALE.LOCALESET."admin/forum_polls.php")); 
     259                                    'locale' => array("forum.main", "forum.post", "admin.forum_polls")); 
    260260    $template_variables['forum.resultdialog'] = $variables; 
    261261} 
Note: See TracChangeset for help on using the changeset viewer.