Added delete account options

This commit is contained in:
2026-06-17 13:43:18 +02:00
parent 039f32872c
commit b5154cb9f0
3 changed files with 52 additions and 107 deletions

View File

@@ -306,6 +306,15 @@
</xf:if>
</div>
<xf:if contentcheck="true">
<div class="p-footer-copyright">
<xf:contentcheck>
<xf:copyright />
{{ phrase('extra_copyright') }}
</xf:contentcheck>
</div>
</xf:if>
<xf:ad position="container_breadcrumb_bottom_above" />
<xf:macro id="breadcrumbs"
arg-breadcrumbs="{$breadcrumbs}"
@@ -323,112 +332,6 @@
</xf:if>
</div>
</main>
<xf:comment>
<footer class="p-footer" id="footer">
<div class="p-footer-inner">
<div class="p-footer-row">
<xf:if contentcheck="true">
<div class="p-footer-row-main">
<ul class="p-footer-linkList">
<xf:contentcheck>
<xf:if is="$xf.cookieConsent.getMode() == 'advanced'">
<li><a href="{{ link('misc/cookies') }}" rel="nofollow"
data-xf-init="tooltip" title="{{ phrase('cookie_consent')|for_attr }}"
data-xf-click="cookie-consent-toggle">
<xf:fa icon="fa-cookie" /> {{ phrase('cookie_consent_label') }}
</a></li>
</xf:if>
<xf:if contentcheck="true">
<li>
<xf:contentcheck>
<xf:if is="$xf.visitor.canChangeStyle()">
<a href="{{ link('misc/style') }}" data-xf-click="overlay"
data-xf-init="tooltip" title="{{ phrase('style_chooser')|for_attr }}" rel="nofollow">
<xf:fa icon="fa-paint-brush" /> {$xf.style.title}
</a>
</xf:if>
<xf:if is="$xf.visitor.canChangeStyleVariation($xf.style)">
<a href="{{ link('misc/style-variation') }}" rel="nofollow"
class="js-styleVariationsLink"
data-xf-init="tooltip" title="{{ phrase('style_variation') }}"
data-xf-click="menu" data-z-index-ref=".u-bottomFixer" role="button" aria-expanded="false" aria-haspopup="true">
<xf:fa icon="{{ $xf.style.getVariationIcon($xf.visitor.style_variation) }}" title="{{ phrase('style_variation') }}" />
</a>
<div class="menu" data-menu="menu" aria-hidden="true">
<div class="menu-content js-styleVariationsMenu">
<xf:macro name="style_variation_macros::variation_menu"
arg-style="{$xf.style}"
arg-live="{{ true }}" />
</div>
</div>
</xf:if>
</xf:contentcheck>
</li>
</xf:if>
<xf:if is="$xf.visitor.canChangeLanguage()">
<li><a href="{{ link('misc/language') }}" data-xf-click="overlay"
data-xf-init="tooltip" title="{{ phrase('language_chooser')|for_attr }}" rel="nofollow">
<xf:fa icon="fa-globe" /> {$xf.language.title}</a></li>
</xf:if>
</xf:contentcheck>
</ul>
</div>
</xf:if>
<div class="p-footer-row-opposite">
<ul class="p-footer-linkList">
<xf:if is="$xf.visitor.canUseContactForm()">
<xf:if is="$xf.contactUrl">
<li><a href="{$xf.contactUrl}" data-xf-click="{{ ($xf.options.contactUrl.overlay OR $xf.options.contactUrl.type == 'default') ? 'overlay' : '' }}">{{ phrase('contact_us') }}</a></li>
</xf:if>
</xf:if>
<xf:if is="$xf.tosUrl">
<li><a href="{$xf.tosUrl}">{{ phrase('terms_and_rules') }}</a></li>
</xf:if>
<xf:if is="$xf.privacyPolicyUrl">
<li><a href="{$xf.privacyPolicyUrl}">{{ phrase('privacy_policy') }}</a></li>
</xf:if>
<xf:if is="$xf.helpPageCount">
<li><a href="{{ link('help') }}">{{ phrase('help') }}</a></li>
</xf:if>
<xf:if is="$xf.homePageUrl">
<li><a href="{$xf.homePageUrl}">{{ phrase('home') }}</a></li>
</xf:if>
<li><a href="{{ link('forums/index.rss', '-') }}" target="_blank" class="p-footer-rssLink" title="{{ phrase('rss')|for_attr }}"><span aria-hidden="true"><xf:fa icon="fa-rss" /><span class="u-srOnly">{{ phrase('rss') }}</span></span></a></li>
</ul>
</div>
</div>
<xf:if contentcheck="true">
<div class="p-footer-copyright">
<xf:contentcheck>
<xf:copyright />
{{ phrase('extra_copyright') }}
</xf:contentcheck>
</div>
</xf:if>
<xf:if contentcheck="true">
<div class="p-footer-debug">
<xf:contentcheck>
<xf:macro id="debug_macros::debug"
arg-controller="{$controller}"
arg-action="{$actionMethod}"
arg-template="{$template}" />
</xf:contentcheck>
</div>
</xf:if>
</div>
</footer>
</xf:comment>
</main> <!-- closing p-pageWrapper -->
<div class="u-navButtons js-navButtons">

View File

@@ -0,0 +1,36 @@
<xf:title>{{ phrase('delete_account') }}</xf:title>
<xf:wrap template="account_wrapper" />
<div class="block">
<div class="block-container">
<ol class="block-body">
<div class="block-row">If you want to delete your Romhack Plaza account, please follow these steps:
<ul>
<li>You must send an email via the <a href="{{ link('misc/contact') }}">contact form</a> using the same email address associated with your account.</li>
<li>The subject line of your request must be clear; for example: “Delete account”</li>
<li>The body of your email must include the following code(s), depending on what you wish to do.</li>
</ul>
Without these details, your request cannot be processed.</div>
<div class="block-row">
<h3 style="margin-bottom:10px;">
Codes
</h3>
<xf:datalist>
<xf:datarow rowtype="header">
<xf:cell>Delete my account</xf:cell>
<xf:cell>Delete all my data</xf:cell>
</xf:datarow>
<xf:datarow>
<xf:cell>{$deleteAccountCode}</xf:cell>
<xf:cell>{$deleteAllDataCode}</xf:cell>
</xf:datarow>
</xf:datalist>
<ul>
<li>If you only want to delete your account, just send the first code. Your data will still be on the site, but it will be anonymized.</li>
<li>If you also want to automatically delete all your data, send both codes.</li>
</ul>
</div>
</ol>
</div>
</div>