Changeset 1071 in ExiteCMS for trunk/search.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/search.php

    r954 r1071  
    3232 
    3333// load the locale for this module 
    34 include PATH_LOCALE.LOCALESET."search.php"; 
     34locale_load("main.search"); 
    3535 
    3636// validate the possible parameters 
     
    155155 
    156156// define the search body panel variables 
    157 $template_panels[] = array('type' => 'body', 'name' => 'search', 'template' => 'main.search.tpl', 'locale' => PATH_LOCALE.LOCALESET."search.php"); 
     157$template_panels[] = array('type' => 'body', 'name' => 'search', 'template' => 'main.search.tpl', 'locale' => "main.search"); 
    158158$template_variables['search'] = $variables; 
    159159 
Note: See TracChangeset for help on using the changeset viewer.