equal
deleted
inserted
replaced
50 require PUN_ROOT.'lang/'.$pun_user['language'].'/profile.php'; |
50 require PUN_ROOT.'lang/'.$pun_user['language'].'/profile.php'; |
51 |
51 |
52 |
52 |
53 if ($action == 'change_pass') |
53 if ($action == 'change_pass') |
54 { |
54 { |
|
55 // Can't do this, Enano's already got it |
|
56 message($lang_common['No permission'] . ' This is because this function is disabled in the Enano port, and Enano handles sessions and user management for PunBB.'); |
|
57 |
55 if (isset($_GET['key'])) |
58 if (isset($_GET['key'])) |
56 { |
59 { |
57 // If the user is already logged in we shouldn't be here :) |
60 // If the user is already logged in we shouldn't be here :) |
58 if (!$pun_user['is_guest']) |
61 if (!$pun_user['is_guest']) |
59 { |
62 { |
1107 <fieldset> |
1110 <fieldset> |
1108 <legend><?php echo $lang_profile['Username and pass legend'] ?></legend> |
1111 <legend><?php echo $lang_profile['Username and pass legend'] ?></legend> |
1109 <div class="infldset"> |
1112 <div class="infldset"> |
1110 <input type="hidden" name="form_sent" value="1" /> |
1113 <input type="hidden" name="form_sent" value="1" /> |
1111 <?php echo $username_field ?> |
1114 <?php echo $username_field ?> |
1112 <?php if ($pun_user['id'] == $id || $pun_user['g_id'] == USER_LEVEL_ADMIN || ($user['g_id'] > PUN_MOD && $pun_config['p_mod_change_passwords'] == '1')): ?><p><a href="profile.php?action=change_pass&id=<?php echo $id ?>"><?php echo $lang_profile['Change pass'] ?></a></p> |
1115 <?php /* if ($pun_user['id'] == $id || $pun_user['g_id'] == USER_LEVEL_ADMIN || ($user['g_id'] > PUN_MOD && $pun_config['p_mod_change_passwords'] == '1')): ?><p><a href="profile.php?action=change_pass&id=<?php echo $id ?>"><?php echo $lang_profile['Change pass'] ?></a></p> |
1113 <?php endif; ?> </div> |
1116 <?php endif; */?> </div> |
1114 </fieldset> |
1117 </fieldset> |
1115 </div> |
1118 </div> |
1116 <div class="inform"> |
1119 <div class="inform"> |
1117 <fieldset> |
1120 <fieldset> |
1118 <legend><?php echo $lang_prof_reg['Localisation legend'] ?></legend> |
1121 <legend><?php echo $lang_prof_reg['Localisation legend'] ?></legend> |