D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
ipwdn
/
plugins
/
system
/
sourcerer
/
Filename :
sourcerer.xml
back
Copy
<?xml version="1.0" encoding="utf-8"?> <extension version="4.0" type="plugin" group="system" method="upgrade"> <name>PLG_SYSTEM_SOURCERER</name> <description>PLG_SYSTEM_SOURCERER_DESC</description> <version>9.0.3</version> <creationDate>November 2021</creationDate> <author>Regular Labs (Peter van Westen)</author> <authorEmail>info@regularlabs.com</authorEmail> <authorUrl>https://regularlabs.com</authorUrl> <copyright>Copyright © 2021 Regular Labs - All Rights Reserved</copyright> <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license> <namespace path="src">RegularLabs\Plugin\System\Sourcerer</namespace> <scriptfile>script.install.php</scriptfile> <updateservers> <server type="extension" priority="1" name="Regular Labs - Sourcerer"> https://download.regularlabs.com/updates.xml?e=sourcerer&type=.xml </server> </updateservers> <files> <file plugin="sourcerer">sourcerer.php</file> <file>script.install.helper.php</file> <folder>language</folder> <folder>src</folder> </files> <media folder="media" destination="sourcerer"> <folder>images</folder> <folder>js</folder> </media> <config> <fields name="params" addfieldprefix="RegularLabs\Library\Form\Field"> <fieldset name="basic"> <field name="@load_script_descriptions" type="LoadMedia" filetype="script" file="regularlabs.admin-form-descriptions" /> <field name="@load_language_regularlabs" type="LoadLanguage" extension="plg_system_regularlabs" /> <field name="@load_language" type="LoadLanguage" extension="plg_system_sourcerer" /> <field name="@jcompatibility" type="JCompatibility" extension="SOURCERER" /> <field name="@license" type="License" extension="SOURCERER" /> <field name="@version" type="Version" extension="SOURCERER" /> <field name="@header" type="Header" label="SOURCERER" description="SOURCERER_DESC" url="https://regularlabs.com/sourcerer" /> </fieldset> <fieldset name="SRC_SECURITY_SETTINGS_DEFAULT"> <field name="@block_default" type="Note" class="rl-alert alert alert-info rl-alert-light" text="SRC_SECURITY_SETTINGS_DEFAULT_DESC" /> <field name="@block_default_css_a" type="Block" start="1" label="SRC_CSS" /> <field name="enable_css" type="Radio" default="1" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_ALLOW_CSS_TAGS" description="SRC_ALLOW_CSS_TAGS_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="@block_default_css_b" type="Block" end="1" /> <field name="@block_default_js_a" type="Block" start="1" label="SRC_JAVASCRIPT" /> <field name="enable_js" type="Radio" default="1" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_ALLOW_JAVASCRIPT_TAGS" description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="@block_default_js_b" type="Block" end="1" /> <field name="@block_default_php_a" type="Block" start="1" label="SRC_PHP" /> <field name="enable_php" type="Radio" default="1" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_ALLOW_PHP_TAGS" description="SRC_ALLOW_PHP_TAGS_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="@showon_default_php_a" type="ShowOn" value="enable_php:1" /> <field name="forbidden_php" type="Textarea" rows="3" cols="40" default="dl, escapeshellarg, escapeshellcmd, exec, passthru, popen, proc_close, proc_open, shell_exec, symlink, system" label="SRC_FORBIDDEN_PHP_FUNCTIONS" description="SRC_FORBIDDEN_PHP_FUNCTIONS_DESC" /> <field name="forbidden_tags" type="Textareaplus" width="400" height="80" default="" label="SRC_FORBIDDEN_HTML_TAGS" description="SRC_FORBIDDEN_HTML_TAGS_DESC" /> <field name="@showon_default_php_b" type="ShowOn" /> <field name="@block_default_php_b" type="Block" end="1" /> </fieldset> <fieldset name="SRC_SECURITY_SETTINGS_ARTICLES"> <field name="@block_articles" type="Note" class="rl-alert alert alert-info rl-alert-light" text="SRC_SECURITY_SETTINGS_ARTICLES_DESC" /> <field name="@notice_articles_security_level" type="OnlyPro" label="SRC_SECURITY_LEVEL" description="SRC_SECURITY_LEVEL_DESC" /> <field name="@block_articles_css_a" type="Block" start="1" label="SRC_CSS" /> <field name="@notice_articles_enable_css" type="OnlyPro" label="SRC_ALLOW_CSS_TAGS" description="SRC_ALLOW_CSS_TAGS_DESC" /> <field name="@block_articles_css_b" type="Block" end="1" /> <field name="@block_articles_js_a" type="Block" start="1" label="SRC_JAVASCRIPT" /> <field name="@notice_articles_enable_js" type="OnlyPro" label="SRC_ALLOW_JAVASCRIPT_TAGS" description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC" /> <field name="@block_articles_js_b" type="Block" end="1" /> <field name="@block_articles_php_a" type="Block" start="1" label="SRC_PHP" /> <field name="@notice_articles_enable_php" type="OnlyPro" label="SRC_ALLOW_PHP_TAGS" description="SRC_ALLOW_PHP_TAGS_DESC" /> <field name="@block_articles_php_b" type="Block" end="1" /> </fieldset> <fieldset name="SRC_SECURITY_SETTINGS_COMPONENTS"> <field name="@block_components" type="Note" class="rl-alert alert alert-info rl-alert-light" text="SRC_SECURITY_SETTINGS_COMPONENTS_DESC" /> <field name="@notice_articles_security_level" type="OnlyPro" label="RL_DISABLE_ON_COMPONENTS" description="SRC_DISABLE_ON_COMPONENTS_DESC" /> <field name="@block_components_css_a" type="Block" start="1" label="SRC_CSS" /> <field name="@notice_components_enable_css" type="OnlyPro" label="SRC_ALLOW_CSS_TAGS" description="SRC_ALLOW_CSS_TAGS_DESC" /> <field name="@block_components_css_b" type="Block" end="1" /> <field name="@block_components_js_a" type="Block" start="1" label="SRC_JAVASCRIPT" /> <field name="@notice_components_enable_js" type="OnlyPro" label="SRC_ALLOW_JAVASCRIPT_TAGS" description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC" /> <field name="@block_components_js_b" type="Block" end="1" /> <field name="@block_components_php_a" type="Block" start="1" label="SRC_PHP" /> <field name="@notice_components_enable_php" type="OnlyPro" label="SRC_ALLOW_PHP_TAGS" description="SRC_ALLOW_PHP_TAGS_DESC" /> <field name="@wizard" type="Radio" default="0" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_SHOW_WIZARD"> <option value="0">JNO</option> <option value="" class="btn btn-outline-success">JYES</option> </field> <field name="@block_wizard" type="Note" class="text-center" text="<img src="../media/sourcerer/images/wizard.gif" alt="" width="160" height="160" /><h4>The Day of the Sourcerer</h4><p>He stands up and he wakes,<br />He adds and he takes,<br />He mixes and he shakes,<br />He explodes and he bakes,<br />But he makes no mistakes!</p>" showon="@wizard:" /> <field name="@block_components_php_b" type="Block" end="1" /> </fieldset> <fieldset name="SRC_SECURITY_SETTINGS_OTHER_AREAS"> <field name="@block_otherareas" type="Note" class="rl-alert alert alert-info rl-alert-light" text="SRC_SECURITY_SETTINGS_OTHER_AREAS_DESC" /> <field name="@notice_articles_security_level" type="OnlyPro" label="RL_ENABLE_OTHER_AREAS" description="SRC_ENABLE_OTHER_AREAS_DESC" /> <field name="@block_otherareas_css_a" type="Block" start="1" label="SRC_CSS" /> <field name="@noticeother_enable_css" type="OnlyPro" label="SRC_ALLOW_CSS_TAGS" description="SRC_ALLOW_CSS_TAGS_DESC" /> <field name="@block_otherareas_css_b" type="Block" end="1" /> <field name="@block_otherareas_js_a" type="Block" start="1" label="SRC_JAVASCRIPT" /> <field name="@notice_other_enable_js" type="OnlyPro" label="SRC_ALLOW_JAVASCRIPT_TAGS" description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC" /> <field name="@block_otherareas_js_b" type="Block" end="1" /> <field name="@block_otherareas_php_a" type="Block" start="1" label="SRC_PHP" /> <field name="@notice_other_enable_php" type="OnlyPro" label="SRC_ALLOW_PHP_TAGS" description="SRC_ALLOW_PHP_TAGS_DESC" /> <field name="@block_otherareas_php_b" type="Block" end="1" /> </fieldset> <fieldset name="RL_SETTINGS_EDITOR_BUTTON"> <field name="button_text" type="Text" default="Code" label="RL_BUTTON_TEXT" description="RL_BUTTON_TEXT_DESC" /> <field name="enable_frontend" type="Radio" default="1" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="RL_ENABLE_IN_FRONTEND" description="RL_ENABLE_IN_FRONTEND_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="color_code" type="Radio" default="1" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_COLOR_CODE" description="SRC_COLOR_CODE_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> <fieldset name="RL_TAG_SYNTAX"> <field name="syntax_word" type="Text" size="20" default="source" label="SRC_SYNTAX_WORD" description="SRC_SYNTAX_WORD_DESC" /> <field name="tag_characters" type="List" class="text-monospace w-auto" default="{.}" label="RL_TAG_CHARACTERS" description="RL_TAG_CHARACTERS_DESC"> <option value="{.}">{...}</option> <option value="[.]">[...]</option> <option value="«.»">«...»</option> <option value="{{.}}">{{...}}</option> <option value="[[.]]">[[...]]</option> <option value="[:.:]">[:...:]</option> <option value="[%.%]">[%...%]</option> </field> </fieldset> <fieldset name="advanced"> <field name="@load_language_config" type="LoadLanguage" extension="com_config" /> <field name="trim" type="Radio" default="0" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="RL_STRIP_SURROUNDING_TAGS" description="RL_STRIP_SURROUNDING_TAGS_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="enable_in_head" type="Radio" default="0" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_ENABLE_IN_HEAD" description="SRC_ENABLE_IN_HEAD_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="remove_from_search" type="Radio" default="0" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="SRC_REMOVE_FROM_SEARCH" description="SRC_REMOVE_FROM_SEARCH_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="include_path" type="Text" default="/" label="SRC_INCLUDE_PATH" description="SRC_INCLUDE_PATH_DESC" /> <field name="tmp_path" type="Text" default="" label="SRC_TEMP_PATH" description="SRC_TEMP_PATH_DESC" hint="JDEFAULT" /> <field name="place_comments" type="Radio" default="1" class="btn-group rl-btn-group btn-group-md btn-group-yesno" label="RL_PLACE_HTML_COMMENTS" description="RL_PLACE_HTML_COMMENTS_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> </fields> </config> </extension>