Changeset 1071 in ExiteCMS for trunk/members.php


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/members.php

    r1068 r1071  
    2020 
    2121//load the locale for this module 
    22 require_once PATH_LOCALE.LOCALESET."members-profile.php"; 
     22locale_load("main.members-profile"); 
    2323 
    2424// load the GeoIP include module 
     
    9898} 
    9999 
    100 $template_panels[] = array('type' => 'body', 'name' => 'members', 'template' => 'main.members.tpl', 'locale' => PATH_LOCALE.LOCALESET."members-profile.php"); 
     100$template_panels[] = array('type' => 'body', 'name' => 'members', 'template' => 'main.members.tpl', 'locale' => "main.members-profile"); 
    101101$template_variables['members'] = $variables; 
    102102 
Note: See TracChangeset for help on using the changeset viewer.