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

    r1030 r1071  
    1717 
    1818// load the locale for this module 
    19 include PATH_LOCALE.LOCALESET."admin/downloads.php"; 
     19locale_load("admin.downloads"); 
    2020 
    2121// TODO - WANWIZARD - 20070718 - NEED TO MOVE THIS TO SETTINGS 
     
    231231 
    232232// panel definitions 
    233 $template_panels[] = array('type' => 'body', 'name' => 'admin.downloads', 'title' => $title, 'template' => 'admin.downloads.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/downloads.php"); 
     233$template_panels[] = array('type' => 'body', 'name' => 'admin.downloads', 'title' => $title, 'template' => 'admin.downloads.tpl', 'locale' => "admin.downloads"); 
    234234$template_variables['admin.downloads'] = $variables; 
    235235 
Note: See TracChangeset for help on using the changeset viewer.