Changeset 1074 in ExiteCMS for modules/PLi-Fusion/donations/php-files/modules/donations/donors.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/donors.php
r971 r1074 20 20 21 21 // load the locale for this module 22 if (file_exists(PATH_MODULES."donations/locale/".$settings['locale'].".php")) { 23 $locale_file = PATH_MODULES."donations/locale/".$settings['locale'].".php"; 24 } else { 25 $locale_file = PATH_MODULES."donations/locale/English.php"; 26 } 27 include $locale_file; 22 locale_load("modules.donations"); 28 23 29 24 // make sure rowstart has a valid value … … 50 45 51 46 // define the body panel variables 52 $template_panels[] = array('type' => 'body', 'name' => 'donations.donors', 'template' => 'modules.donations.donors.tpl', 'locale' => $locale_file);47 $template_panels[] = array('type' => 'body', 'name' => 'donations.donors', 'template' => 'modules.donations.donors.tpl', 'locale' => "modules.donations"); 53 48 $template_variables['donations.donors'] = $variables; 54 49
Note: See TracChangeset
for help on using the changeset viewer.
