delete your own user account? (Design/Themes)

by peter, Friday, January 18, 2008, 16:55 (5914 days ago)

mlf 1.7.4

i found in the file "lang/english.php" this line

$lang['user_del_conf'] = "Are you sure? Do you wish to delete your own user account?";

but i couldn`t found no button in the user area to delete a testaccount by myself.
why not?
is this just a version 2 feature?

greatings
peter

locked
4367 views
Avatar

delete your own user account?

by Alfie ⌂, Vienna, Austria, Friday, January 18, 2008, 20:19 (5914 days ago) @ peter

Dear Peter,

questions concerning the 1.x-branch please to the respective forum.

The section you are interested in is in user.php (v1.7.4) following line 706

   /*
  case "delete":
   if(isset($errors))
    {
     ?><p><span class="caution"><?php echo $lang['error_headline']; ?></span><ul><?php foreach($errors as $error) { ?><li><?php echo $error; ?></li><?php } ?></ul><br /></p><?php
    }
   ?><h2 class="caution"><?php echo $lang['caution']; ?></h2>
   <p><?php echo $lang['user_del_conf']; ?></p>
   <form action="user.php" method="post"><div>
   <input type="hidden" name="action" value="delete submited">
   <b><?php echo $lang['password_marking']; ?></b><br />
   <input type="password" size="25" name="pw_delete" maxlength="50"><br /><br />
   <input type="submit" name="user_delete_submit" value="<?php echo $lang['user_del_subm_b']; ?>" />
   </div></form>
   <p>&nbsp;</p>
   <?php
  break;
  */


As you see, Alex has commented this section out from the script - and I’m quite sure he has good reasons for doing so...

--
Cheers,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)

locked
4454 views

RSS Feed of thread