Update menu entries and fixes some profile picture problems.
Added help pages too.
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
<phrase title="delete_account_code" version_id="1000000" version_string="1.0.0"><![CDATA[Delete account code]]></phrase>
|
||||
<phrase title="delete_account_codes" version_id="1000000" version_string="1.0.0"><![CDATA[Delete account codes]]></phrase>
|
||||
<phrase title="delete_all_data_code" version_id="1000000" version_string="1.0.0"><![CDATA[Delete all data code]]></phrase>
|
||||
<phrase title="enable_nsfw_entries" version_id="1010070" version_string="1.1.0"><![CDATA[Enable NSFW Entries]]></phrase>
|
||||
<phrase title="entries" version_id="1000000" version_string="1.0.0"><![CDATA[Entries]]></phrase>
|
||||
<phrase title="entries_options" version_id="1010070" version_string="1.1.0"><![CDATA[Entries options]]></phrase>
|
||||
<phrase title="nav.about" version_id="1000000" version_string="1.0.0"><![CDATA[About]]></phrase>
|
||||
<phrase title="nav.clubs" version_id="1000000" version_string="1.0.0"><![CDATA[Clubs]]></phrase>
|
||||
<phrase title="nav.community" version_id="1000000" version_string="1.0.0"><![CDATA[Community]]></phrase>
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<template_modifications>
|
||||
<modification type="public" template="account_preferences" modification_key="rhpz_account_preferences_nsfw_content" description="Add NSFW Content field to the settings" execution_order="10" enabled="1" action="str_replace">
|
||||
<find><![CDATA[<xf:macro id="helper_account::email_options_row" arg-showConversationOption="{{ true }}" />]]></find>
|
||||
<replace><![CDATA[<xf:checkboxrow label="{{ phrase('entries_options') }}">
|
||||
<xf:option value="true" name="user[nsfw_content]" checked="{{ $xf.visitor.nsfw_content == 1 ? true : false }}"
|
||||
label="{{ phrase('enable_nsfw_entries') }}">
|
||||
</xf:option>
|
||||
</xf:checkboxrow>
|
||||
$0]]></replace>
|
||||
</modification>
|
||||
<modification type="public" template="account_wrapper" modification_key="rhpz_account_wrapper_delete_account" description="Add Delete account page URL to account details" execution_order="10" enabled="1" action="str_replace">
|
||||
<find><![CDATA[<!--[XF:settings_links:bottom]-->]]></find>
|
||||
<replace><![CDATA[<a class="blockLink {{ $pageSelected == 'delete_account' ? 'is-selected' : '' }}" href="{{ link('account/delete-account') }}">
|
||||
|
||||
Reference in New Issue
Block a user