Changeset 1289 in ExiteCMS
- Timestamp:
- 02/17/08 21:46:27 (4 years ago)
- Location:
- modules/PLi-Fusion/donations/php-files/modules/donations
- Files:
-
- 2 edited
-
index.php (modified) (2 diffs)
-
notify.php (modified) (1 diff)
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 -
modules/PLi-Fusion/donations/php-files/modules/donations/notify.php
r971 r1289 96 96 97 97 // *** main *** 98 99 if (file_exists(PATH_MODULES."donations/locale/".$settings['locale'].".php")) { 100 include PATH_MODULES."donations/locale/".$settings['locale'].".php"; 101 } else { 102 include PATH_MODULES."donations/locale/English.php"; 103 } 98 locale_load('modules.donations'); 104 99 105 100 // donation log file
Note: See TracChangeset
for help on using the changeset viewer.
