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