Changeset 1074 in ExiteCMS for modules/common/mail2forum/php-files/modules/mail2forum/m2f_subscriptions.php
- Timestamp:
- 11/06/07 18:22:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/mail2forum/php-files/modules/mail2forum/m2f_subscriptions.php
r933 r1074 14 14 15 15 // load the locale for this module 16 if (file_exists(PATH_MODULES."mail2forum/locale/".$settings['locale'].".php")) { 17 $locale_file = PATH_MODULES."mail2forum/locale/".$settings['locale'].".php"; 18 } else { 19 $locale_file = PATH_MODULES."mail2forum/locale/English.php"; 20 } 21 include $locale_file; 16 locale_load("modules.mail2forum"); 22 17 23 18 // temp storage for template variables … … 101 96 102 97 // define the admin body panel 103 $template_panels[] = array('type' => 'body', 'name' => 'modules.m2f_subscriptions', 'template' => 'modules.mail2forum.subscriptions.tpl', 'locale' => $locale_file);98 $template_panels[] = array('type' => 'body', 'name' => 'modules.m2f_subscriptions', 'template' => 'modules.mail2forum.subscriptions.tpl', 'locale' => "modules.mail2forum"); 104 99 $template_variables['modules.m2f_subscriptions'] = $variables; 105 100
Note: See TracChangeset
for help on using the changeset viewer.
