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

    r1060 r1071  
    5454 
    5555    // load the locale for this module 
    56     include PATH_LOCALE.LOCALESET."admin/upgrade.php"; 
     56    locale_load("admin.upgrade"); 
    5757 
    5858    // temp storage for template variables 
     
    152152    $variables['new_upgrades'] = false; 
    153153 
    154     $template_panels[] = array('type' => 'body', 'name' => 'admin.upgrade', 'template' => 'admin.upgrade.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/upgrade.php"); 
     154    $template_panels[] = array('type' => 'body', 'name' => 'admin.upgrade', 'template' => 'admin.upgrade.tpl', 'locale' => "admin.upgrade"); 
    155155    $template_variables['admin.upgrade'] = $variables; 
    156156 
Note: See TracChangeset for help on using the changeset viewer.