Changeset 1289 in ExiteCMS for modules/PLi-Fusion/donations/php-files/modules/donations/index.php
- Timestamp:
- 02/17/08 21:46:27 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PLi-Fusion/donations/php-files/modules/donations/index.php
r971 r1289 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 // check if we're running in production. If not, switch to Paypal sandbox … … 44 39 45 40 // define the body panel variables 46 $template_panels[] = array('type' => 'body', 'name' => 'modules.donations.index', 'template' => 'modules.donations.index.tpl', 'locale' => $locale_file);41 $template_panels[] = array('type' => 'body', 'name' => 'modules.donations.index', 'template' => 'modules.donations.index.tpl', 'locale' => 'modules.donations'); 47 42 $template_variables['modules.donations.index'] = $variables; 48 43
Note: See TracChangeset
for help on using the changeset viewer.
