Changeset 1074 in ExiteCMS for modules/PLi-Fusion/donations/php-files/modules/donations/admin_panel.php
- Timestamp:
- 11/06/07 18:22:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PLi-Fusion/donations/php-files/modules/donations/admin_panel.php
r971 r1074 23 23 24 24 // load the locale for this module 25 if (file_exists(PATH_MODULES."donations/locale/".$settings['locale'].".php")) { 26 $locale_file = PATH_MODULES."donations/locale/".$settings['locale'].".php"; 27 } else { 28 $locale_file = PATH_MODULES."donations/locale/English.php"; 29 } 30 include $locale_file; 25 locale_load("modules.donations"); 31 26 32 27 // define the donation types … … 315 310 316 311 // define the body panel variables 317 $template_panels[] = array('type' => 'body', 'name' => 'donations.admin_panel', 'title' => $title, 'template' => 'modules.donations.admin_panel.tpl', 'locale' => $locale_file);312 $template_panels[] = array('type' => 'body', 'name' => 'donations.admin_panel', 'title' => $title, 'template' => 'modules.donations.admin_panel.tpl', 'locale' => "modules.donations"); 318 313 $template_variables['donations.admin_panel'] = $variables; 319 314
Note: See TracChangeset
for help on using the changeset viewer.
