This repository has been archived by the owner on Apr 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
addon-aTemplateSecurity.xml
37 lines (37 loc) · 2.66 KB
/
addon-aTemplateSecurity.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="aTemplateSecurity" title="[n] Template Security" version_string="1.1.0" version_id="1010071" url="https://github.com/nanocodeio/template-security" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="">
<admin_navigation/>
<admin_permissions/>
<admin_style_properties/>
<admin_templates/>
<admin_template_modifications/>
<code_events/>
<code_event_listeners>
<listener event_id="load_class_datawriter" execute_order="10" callback_class="Apantic_TemplateSecurity_Listener" callback_method="extend_dw_template" active="1" hint="XenForo_DataWriter_Template" description="Apantic_TemplateSecurity_DataWriter_Template"/>
<listener event_id="load_class_datawriter" execute_order="10" callback_class="Apantic_TemplateSecurity_Listener" callback_method="extend_dw_addon" active="1" hint="XenForo_DataWriter_AddOn" description="Apantic_TemplateSecurity_DataWriter_AddOn"/>
<listener event_id="load_class_datawriter" execute_order="10" callback_class="Apantic_TemplateSecurity_Listener" callback_method="extend_dw_template_modification" active="1" hint="XenForo_DataWriter_TemplateModification" description="Apantic_TemplateSecurity_DataWriter_TemplateModification"/>
</code_event_listeners>
<cron/>
<email_templates/>
<email_template_modifications/>
<optiongroups/>
<permissions>
<permission_groups/>
<permissions/>
<interface_groups/>
</permissions>
<phrases>
<phrase title="ats_user_attempted_to_modify_restricted_template" version_id="1000071" version_string="1.0.0"><![CDATA[{name} attempted to modify a restricted template. Please check admin logs for more information.]]></phrase>
<phrase title="ats_you_cannot_disable_this_addon" version_id="1000071" version_string="1.0.0"><![CDATA[You cannot disable this add-on. This add-on is used for template security, and therefore only super admins can disable this. Please contact a super admin (or make yourself one in config.php) if you require this add-on to be disabled.]]></phrase>
<phrase title="ats_you_cannot_edit_this_template" version_id="1000071" version_string="1.0.0"><![CDATA[You are not allowed to edit this template due to restrictions! Please contact your administrator if this is in error.]]></phrase>
</phrases>
<route_prefixes/>
<style_properties/>
<templates>
<template title="alert_user_forbidden_template" version_id="1000071" version_string="1.0.0"><![CDATA[{xen:phrase ats_user_attempted_to_modify_restricted_template,
'name={xen:helper username, $user}'}]]></template>
</templates>
<public_template_modifications/>
<bb_code_media_sites/>
<bb_codes/>
</addon>