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

    r1070 r1071  
    125125 
    126126// load the locale for this module 
    127 include PATH_LOCALE.LOCALESET."admin/db-backup.php"; 
     127locale_load("admin.db-backup"); 
    128128 
    129129// make sure the parameter is valid 
     
    299299 
    300300// define the admin body panel 
    301 $template_panels[] = array('type' => 'body', 'name' => 'admin.db_backup', 'template' => 'admin.db_backup.tpl', 'locale' => PATH_LOCALE.LOCALESET."admin/db-backup.php"); 
     301$template_panels[] = array('type' => 'body', 'name' => 'admin.db_backup', 'template' => 'admin.db_backup.tpl', 'locale' => "admin.db-backup"); 
    302302$template_variables['admin.db_backup'] = $variables; 
    303303 
Note: See TracChangeset for help on using the changeset viewer.