www_archline_hu/deployed/regularlabs/plugins/system/sourcerer/sourcerer.xml
LÁZÁR Imre AI Agent f18df8b9b3 feat(deployed): add Regular Labs suite (no-source, vetted live)
Regular Labs (Peter van Westen): Advanced Module Manager 7.7.1 + Sourcerer 7.4.0 + Modals 9.13.0 + RegularLabs library 18.12.3953; commercial (regularlabs.com) -> deployed files.

Signed-off-by: LÁZÁR Imre <imre@illusion.hu>
Assisted-by: claude-code@claude-opus-4-8
2026-07-16 11:24:43 +02:00

250 lines
12 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<extension version="3.9" type="plugin" group="system" method="upgrade">
<name>plg_system_sourcerer</name>
<description>PLG_SYSTEM_SOURCERER_DESC</description>
<version>7.4.0</version>
<creationDate>December 2018</creationDate>
<author>Regular Labs (Peter van Westen)</author>
<authorEmail>info@regularlabs.com</authorEmail>
<authorUrl>https://www.regularlabs.com</authorUrl>
<copyright>Copyright © 2018 Regular Labs - All Rights Reserved</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<scriptfile>script.install.php</scriptfile>
<updateservers>
<server type="extension" priority="1" name="Regular Labs - Sourcerer">
https://download.regularlabs.com/updates.xml?e=sourcerer&amp;type=.xml
</server>
</updateservers>
<files>
<filename plugin="sourcerer">sourcerer.php</filename>
<filename>script.install.helper.php</filename>
<folder>language</folder>
<folder>src</folder>
<folder>vendor</folder>
</files>
<media folder="media" destination="sourcerer">
<folder>css</folder>
<folder>images</folder>
<folder>js</folder>
<folder>less</folder>
</media>
<config>
<fields name="params" addfieldpath="/libraries/regularlabs/fields">
<fieldset name="basic">
<field name="@loadlanguage_regularlabs" type="rl_loadlanguage" extension="plg_system_regularlabs" />
<field name="@loadlanguage" type="rl_loadlanguage" extension="plg_system_sourcerer" />
<field name="@license" type="rl_license" extension="SOURCERER" />
<field name="@version" type="rl_version" extension="SOURCERER" />
<field name="@header" type="rl_header"
label="SOURCERER"
description="SOURCERER_DESC"
url="https://www.regularlabs.com/sourcerer" />
</fieldset>
<fieldset name="SRC_SECURITY_SETTINGS_DEFAULT">
<field name="@block_default" type="note" class="alert alert-info" description="SRC_SECURITY_SETTINGS_DEFAULT_DESC" />
<field name="@block_default_css_a" type="rl_block" start="1" label="SRC_CSS" />
<field name="enable_css" type="radio" class="btn-group" default="1"
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="rl_block" end="1" />
<field name="@block_default_js_a" type="rl_block" start="1" label="SRC_JAVASCRIPT" />
<field name="enable_js" type="radio" class="btn-group" default="1"
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="rl_block" end="1" />
<field name="@block_default_php_a" type="rl_block" start="1" label="SRC_PHP" />
<field name="enable_php" type="radio" class="btn-group" default="1"
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="rl_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="rl_textareaplus" width="400" height="80" default=""
label="SRC_FORBIDDEN_HTML_TAGS"
description="SRC_FORBIDDEN_HTML_TAGS_DESC" />
<field name="@showon_default_php_b" type="rl_showon" />
<field name="@block_default_php_b" type="rl_block" end="1" />
</fieldset>
<fieldset name="SRC_SECURITY_SETTINGS_ARTICLES">
<field name="@block_articles" type="note" class="alert alert-info" description="SRC_SECURITY_SETTINGS_ARTICLES_DESC" />
<field name="@notice_articles_security_level" type="rl_onlypro"
label="SRC_SECURITY_LEVEL"
description="SRC_SECURITY_LEVEL_DESC" />
<field name="@block_articles_css_a" type="rl_block" start="1" label="SRC_CSS" />
<field name="@notice_articles_enable_css" type="rl_onlypro"
label="SRC_ALLOW_CSS_TAGS"
description="SRC_ALLOW_CSS_TAGS_DESC" />
<field name="@block_articles_css_b" type="rl_block" end="1" />
<field name="@block_articles_js_a" type="rl_block" start="1" label="SRC_JAVASCRIPT" />
<field name="@notice_articles_enable_js" type="rl_onlypro"
label="SRC_ALLOW_JAVASCRIPT_TAGS"
description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC" />
<field name="@block_articles_js_b" type="rl_block" end="1" />
<field name="@block_articles_php_a" type="rl_block" start="1" label="SRC_PHP" />
<field name="@notice_articles_enable_php" type="rl_onlypro"
label="SRC_ALLOW_PHP_TAGS"
description="SRC_ALLOW_PHP_TAGS_DESC" />
<field name="@block_articles_php_b" type="rl_block" end="1" />
</fieldset>
<fieldset name="SRC_SECURITY_SETTINGS_COMPONENTS">
<field name="@block_components" type="note" class="alert alert-info" description="SRC_SECURITY_SETTINGS_COMPONENTS_DESC" />
<field name="@notice_articles_security_level" type="rl_onlypro"
label="RL_DISABLE_ON_COMPONENTS"
description="SRC_DISABLE_ON_COMPONENTS_DESC" />
<field name="@block_components_css_a" type="rl_block" start="1" label="SRC_CSS" />
<field name="@notice_components_enable_css" type="rl_onlypro"
label="SRC_ALLOW_CSS_TAGS"
description="SRC_ALLOW_CSS_TAGS_DESC" />
<field name="@block_components_css_b" type="rl_block" end="1" />
<field name="@block_components_js_a" type="rl_block" start="1" label="SRC_JAVASCRIPT" />
<field name="@notice_components_enable_js" type="rl_onlypro"
label="SRC_ALLOW_JAVASCRIPT_TAGS"
description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC" />
<field name="@block_components_js_b" type="rl_block" end="1" />
<field name="@block_components_php_a" type="rl_block" start="1" label="SRC_PHP" />
<field name="@notice_components_enable_php" type="rl_onlypro"
label="SRC_ALLOW_PHP_TAGS"
description="SRC_ALLOW_PHP_TAGS_DESC" />
<field name="@wizard" type="radio" class="btn-group" default="0" label="SRC_SHOW_WIZARD">
<option value="0">JNO</option>
<option value="">JYES</option>
</field>
<field name="@block_wizard" type="note" class="alert alert-info text-center"
description="&#x3C;&#x69;&#x6D;&#x67;&#x20;&#x73;&#x72;&#x63;&#x3D;&#x22;&#x2E;&#x2E;&#x2F;&#x6D;&#x65;&#x64;&#x69;&#x61;&#x2F;&#x73;&#x6F;&#x75;&#x72;&#x63;&#x65;&#x72;&#x65;&#x72;&#x2F;&#x69;&#x6D;&#x61;&#x67;&#x65;&#x73;&#x2F;&#x77;&#x69;&#x7A;&#x61;&#x72;&#x64;&#x2E;&#x67;&#x69;&#x66;&#x22;&#x20;&#x61;&#x6C;&#x74;&#x3D;&#x22;&#x22;&#x20;&#x77;&#x69;&#x64;&#x74;&#x68;&#x3D;&#x22;&#x31;&#x30;&#x30;&#x22;&#x20;&#x68;&#x65;&#x69;&#x67;&#x68;&#x74;&#x3D;&#x22;&#x31;&#x34;&#x38;&#x22;&#x20;&#x2F;&#x3E;&#x3C;&#x68;&#x34;&#x3E;&#x54;&#x68;&#x65;&#x20;&#x44;&#x61;&#x79;&#x20;&#x6F;&#x66;&#x20;&#x74;&#x68;&#x65;&#x20;&#x53;&#x6F;&#x75;&#x72;&#x63;&#x65;&#x72;&#x65;&#x72;&#x3C;&#x2F;&#x68;&#x34;&#x3E;&#x3C;&#x70;&#x3E;&#x48;&#x65;&#x20;&#x73;&#x74;&#x61;&#x6E;&#x64;&#x73;&#x20;&#x75;&#x70;&#x20;&#x61;&#x6E;&#x64;&#x20;&#x68;&#x65;&#x20;&#x77;&#x61;&#x6B;&#x65;&#x73;&#x2C;&#x3C;&#x62;&#x72;&#x20;&#x2F;&#x3E;&#x48;&#x65;&#x20;&#x61;&#x64;&#x64;&#x73;&#x20;&#x61;&#x6E;&#x64;&#x20;&#x68;&#x65;&#x20;&#x74;&#x61;&#x6B;&#x65;&#x73;&#x2C;&#x3C;&#x62;&#x72;&#x20;&#x2F;&#x3E;&#x48;&#x65;&#x20;&#x6D;&#x69;&#x78;&#x65;&#x73;&#x20;&#x61;&#x6E;&#x64;&#x20;&#x68;&#x65;&#x20;&#x73;&#x68;&#x61;&#x6B;&#x65;&#x73;&#x2C;&#x3C;&#x62;&#x72;&#x20;&#x2F;&#x3E;&#x48;&#x65;&#x20;&#x65;&#x78;&#x70;&#x6C;&#x6F;&#x64;&#x65;&#x73;&#x20;&#x61;&#x6E;&#x64;&#x20;&#x68;&#x65;&#x20;&#x62;&#x61;&#x6B;&#x65;&#x73;&#x2C;&#x3C;&#x62;&#x72;&#x20;&#x2F;&#x3E;&#x42;&#x75;&#x74;&#x20;&#x68;&#x65;&#x20;&#x6D;&#x61;&#x6B;&#x65;&#x73;&#x20;&#x6E;&#x6F;&#x20;&#x6D;&#x69;&#x73;&#x74;&#x61;&#x6B;&#x65;&#x73;&#x21;&#x3C;&#x2F;&#x70;&#x3E;"
showon="@wizard:" />
<field name="@block_components_php_b" type="rl_block" end="1" />
</fieldset>
<fieldset name="SRC_SECURITY_SETTINGS_OTHER_AREAS">
<field name="@block_otherareas" type="note" class="alert alert-info" description="SRC_SECURITY_SETTINGS_OTHER_AREAS_DESC" />
<field name="@notice_articles_security_level" type="rl_onlypro"
label="RL_ENABLE_OTHER_AREAS"
description="SRC_ENABLE_OTHER_AREAS_DESC" />
<field name="@block_otherareas_css_a" type="rl_block" start="1" label="SRC_CSS" />
<field name="@noticeother_enable_css" type="rl_onlypro"
label="SRC_ALLOW_CSS_TAGS"
description="SRC_ALLOW_CSS_TAGS_DESC" />
<field name="@block_otherareas_css_b" type="rl_block" end="1" />
<field name="@block_otherareas_js_a" type="rl_block" start="1" label="SRC_JAVASCRIPT" />
<field name="@notice_other_enable_js" type="rl_onlypro"
label="SRC_ALLOW_JAVASCRIPT_TAGS"
description="SRC_ALLOW_JAVASCRIPT_TAGS_DESC" />
<field name="@block_otherareas_js_b" type="rl_block" end="1" />
<field name="@block_otherareas_php_a" type="rl_block" start="1" label="SRC_PHP" />
<field name="@notice_other_enable_php" type="rl_onlypro"
label="SRC_ALLOW_PHP_TAGS"
description="SRC_ALLOW_PHP_TAGS_DESC" />
<field name="@block_otherareas_php_b" type="rl_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" class="btn-group" default="1"
label="RL_ENABLE_IN_FRONTEND"
description="RL_ENABLE_IN_FRONTEND_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="@block_defaults_a" type="rl_block" start="1"
label="SRC_DEFAULTS"
description="SRC_DEFAULTS_DESC" />
<field name="addsourcetags" type="radio" class="btn-group" default="1"
label="SRC_ADD_SOURCE_TAGS"
description="SRC_ADD_SOURCE_TAGS_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="@block_defaults_b" type="rl_block" end="1" />
<field name="@block_example_a" type="rl_block" start="1" label="SRC_EXAMPLE_CODE" />
<field name="@notice_use_example_code" type="rl_onlypro"
label="SRC_USE_EXAMPLE_CODE"
description="SRC_USE_EXAMPLE_CODE_DESC" />
<field name="@block_example_b" type="rl_block" end="1" />
</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" default="{.}" class="input-small"
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="trim" type="radio" class="btn-group" default="0"
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" class="btn-group" default="0"
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" class="btn-group" default="0"
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="place_comments" type="radio" class="btn-group" default="1"
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>