Changeset 1071 in ExiteCMS for trunk/profile.php
- Timestamp:
- 11/06/07 17:12:56 (5 years ago)
- File:
-
- 1 edited
-
trunk/profile.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/profile.php
r1060 r1071 23 23 24 24 // load the locales for this module 25 include PATH_LOCALE.LOCALESET."members-profile.php";26 include PATH_LOCALE.LOCALESET."user_fields.php";25 locale_load("main.members-profile"); 26 locale_load("main.user_fields"); 27 27 28 28 // temp storage for template variables … … 113 113 // define the body panel variables 114 114 $variables['data'] = $data; 115 $template_panels[] = array('type' => 'body', 'name' => 'profile', 'template' => 'main.profile.members.tpl', 'locale' => array( PATH_LOCALE.LOCALESET."members-profile.php", PATH_LOCALE.LOCALESET."user_fields.php"));115 $template_panels[] = array('type' => 'body', 'name' => 'profile', 'template' => 'main.profile.members.tpl', 'locale' => array("main.members-profile", "main.user_fields")); 116 116 $template_variables['profile'] = $variables; 117 117 } … … 145 145 // define the body panel variables 146 146 $variables['members'] = $members; 147 $template_panels[] = array('type' => 'body', 'name' => 'profile', 'template' => 'main.profile.groups.tpl', 'locale' => array( PATH_LOCALE.LOCALESET."members-profile.php", PATH_LOCALE.LOCALESET."user_fields.php"));147 $template_panels[] = array('type' => 'body', 'name' => 'profile', 'template' => 'main.profile.groups.tpl', 'locale' => array("main.members-profile", "main.user_fields")); 148 148 $template_variables['profile'] = $variables; 149 149 }
Note: See TracChangeset
for help on using the changeset viewer.
