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

    r834 r1071  
    1414 
    1515// load the locale for this module 
    16 include PATH_LOCALE.LOCALESET."admin/redirects.php"; 
     16locale_load("admin.redirects"); 
    1717 
    1818// temp storage for template variables 
     
    168168 
    169169// define the admin body panel 
    170 $template_panels[] = array('type' => 'body', 'name' => 'admin.redirects', 'title' => $title, 'template' => 'admin.redirects.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/redirects.php"); 
     170$template_panels[] = array('type' => 'body', 'name' => 'admin.redirects', 'title' => $title, 'template' => 'admin.redirects.tpl', 'locale' => "admin.redirects"); 
    171171$template_variables['admin.redirects'] = $variables; 
    172172 
Note: See TracChangeset for help on using the changeset viewer.