Changeset 1071 in ExiteCMS for trunk/lostpassword.php
- Timestamp:
- 11/06/07 17:12:56 (5 years ago)
- File:
-
- 1 edited
-
trunk/lostpassword.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lostpassword.php
r963 r1071 20 20 21 21 // load the locale for this module 22 include PATH_LOCALE.LOCALESET."lostpassword.php";22 locale_load("main.lostpassword"); 23 23 24 24 // get the sendmail include … … 47 47 $variables['message'] = $locale['402']; 48 48 $variables['bold'] = true; 49 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."lostpassword.php");49 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => "main.lostpassword"); 50 50 $template_variables['lostpassword'] = $variables; 51 51 } else { … … 69 69 $variables['linktext'] = $locale['403']; 70 70 $variables['bold'] = true; 71 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."lostpassword.php");71 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => "main.lostpassword"); 72 72 $template_variables['lostpassword'] = $variables; 73 73 } else { … … 77 77 $variables['linktext'] = $locale['406']; 78 78 $variables['bold'] = true; 79 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."lostpassword.php");79 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => "main.lostpassword"); 80 80 $template_variables['lostpassword'] = $variables; 81 81 } … … 86 86 $variables['linktext'] = $locale['403']; 87 87 $variables['bold'] = true; 88 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => PATH_LOCALE.LOCALESET."lostpassword.php");88 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => '_message_table_panel.tpl', 'locale' => "main.lostpassword"); 89 89 $template_variables['lostpassword'] = $variables; 90 90 } 91 91 } else { 92 92 // define the body panel variables 93 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => 'main.lostpassword.tpl', 'locale' => PATH_LOCALE.LOCALESET."lostpassword.php");93 $template_panels[] = array('type' => 'body', 'name' => 'lostpassword', 'template' => 'main.lostpassword.tpl', 'locale' => "main.lostpassword"); 94 94 $template_variables['lostpassword'] = $variables; 95 95 }
Note: See TracChangeset
for help on using the changeset viewer.
