Changeset 1071 in ExiteCMS for trunk/register.php
- Timestamp:
- 11/06/07 17:12:56 (5 years ago)
- File:
-
- 1 edited
-
trunk/register.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/register.php
r1052 r1071 26 26 27 27 // load the locales for this module 28 include PATH_LOCALE.LOCALESET."register.php";29 include PATH_LOCALE.LOCALESET."user_fields.php";28 locale_load("main.register"); 29 locale_load("main.user_fields"); 30 30 31 31 // check whether we allow registrations … … 48 48 } 49 49 // define the body panel variables 50 $template_panels[] = array('type' => 'body', 'name' => 'register.activate', 'template' => 'main.register.activate.tpl', 'locale' => array( PATH_LOCALE.LOCALESET."register.php", PATH_LOCALE.LOCALESET."user_fields.php"));50 $template_panels[] = array('type' => 'body', 'name' => 'register.activate', 'template' => 'main.register.activate.tpl', 'locale' => array("main.register", "main.user_fields")); 51 51 $template_variables['register.activate'] = $variables; 52 52 } else { … … 216 216 $variables['theme_files'] = $theme_files; 217 217 // define the body panel variables 218 $template_panels[] = array('type' => 'body', 'name' => 'register', 'template' => 'main.register.tpl', 'locale' => array( PATH_LOCALE.LOCALESET."register.php", PATH_LOCALE.LOCALESET."user_fields.php"));218 $template_panels[] = array('type' => 'body', 'name' => 'register', 'template' => 'main.register.tpl', 'locale' => array("main.register", "main.user_fields")); 219 219 $template_variables['register'] = $variables; 220 220 }
Note: See TracChangeset
for help on using the changeset viewer.
