mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Delete Account Option
Delete Account Option added in admin area. Also updated the default_install.xml to add missing core options.
This commit is contained in:
@@ -600,13 +600,21 @@ class usersettings_shortcodes extends e_shortcode
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
$pref = e107::getPref();
|
||||
if($pref['del_accu'] == 1)
|
||||
{
|
||||
$confirm = defset("LAN_USET_51", "Are you sure? This procedure cannot be reversed! Once completed all personal data that you have entered on this site will be permanently lost and you will no longer be able to login.");
|
||||
$label = defset('LAN_USET_50', "Delete All Account Information");
|
||||
|
||||
$confirm = defset("LAN_USET_51", "Are you sure? This procedure cannot be reversed! Once completed all personal data that you have entered on this site will be permanently lost and you will no longer be able to login.");
|
||||
$label = defset('LAN_USET_50', "Delete All Account Information");
|
||||
$parm['confirm'] = $confirm;
|
||||
|
||||
$parm['confirm'] = $confirm;
|
||||
|
||||
return e107::getForm()->button('delete_account',1, 'delete', $label, $parm);
|
||||
return e107::getForm()->button('delete_account',1, 'delete', $label, $parm);
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@@ -423,6 +423,14 @@ City, State, Country
|
||||
'pinterest' => '',
|
||||
'vimeo' => '',
|
||||
)]]></core>
|
||||
<core name="avatar_upload">0</core>
|
||||
<core name="photo_upload">0</core>
|
||||
<core name="profile_rate">0</core>
|
||||
<core name="profile_comments">0</core>
|
||||
<core name="force_userupdate">0</core>
|
||||
<core name="del_unv">0</core>
|
||||
<core name="del_accu">1</core>
|
||||
<core name="signature_access">253</core>
|
||||
<emote name="alien!png">!alien</emote>
|
||||
<emote name="amazed!png">!amazed</emote>
|
||||
<emote name="angry!png">!grr !angry</emote>
|
||||
|
Reference in New Issue
Block a user