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

    r992 r1071  
    1717 
    1818// load the locale for this module 
    19 require_once PATH_LOCALE.LOCALESET."admin/downloads.php"; 
     19locale_load("admin.downloads"); 
    2020 
    2121//check if the user has a right to be here. If not, bail out 
     
    182182 
    183183// panel definitions 
    184 $template_panels[] = array('type' => 'body', 'name' => 'admin.download_cats', 'title' => $title, 'template' => 'admin.download_cats.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/downloads.php"); 
     184$template_panels[] = array('type' => 'body', 'name' => 'admin.download_cats', 'title' => $title, 'template' => 'admin.download_cats.tpl', 'locale' => "admin.downloads"); 
    185185$template_variables['admin.download_cats'] = $variables; 
    186186 
Note: See TracChangeset for help on using the changeset viewer.