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
250 lines
12 KiB
XML
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&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="<img src="../media/sourcerer/images/wizard.gif" alt="" width="100" height="148" /><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="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>
|