Changeset 1074 in ExiteCMS for modules/PLi-Fusion/donations/php-files/modules/donations/thanks.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/thanks.php
r971 r1074 32 32 33 33 // load the locale for this module 34 if (file_exists(PATH_MODULES."donations/locale/".$settings['locale'].".php")) { 35 $locale_file = PATH_MODULES."donations/locale/".$settings['locale'].".php"; 36 } else { 37 $locale_file = PATH_MODULES."donations/locale/English.php"; 38 } 39 include $locale_file; 34 locale_load("modules.donations"); 40 35 41 36 if (isset($_POST['first_name']) && isset($_POST['last_name'])) { … … 57 52 58 53 // define the body panel variables 59 $template_panels[] = array('type' => 'body', 'name' => 'modules.donations.thanks', 'template' => 'modules.donations.thanks.tpl', 'locale' => $locale_file);54 $template_panels[] = array('type' => 'body', 'name' => 'modules.donations.thanks', 'template' => 'modules.donations.thanks.tpl', 'locale' => "modules.donations"); 60 55 $template_variables['modules.donations.thanks'] = $variables; 61 56
Note: See TracChangeset
for help on using the changeset viewer.
