<?xml version="1.0" encoding="utf-8"?>
<extension version="3.9" type="plugin" group="system" method="upgrade">
	<name>PLG_SYSTEM_REGULARLABS</name>
	<description>PLG_SYSTEM_REGULARLABS_DESC</description>
	<version>22.6.16896</version>
	<creationDate>June 2022</creationDate>
	<author>Regular Labs (Peter van Westen)</author>
	<authorEmail>info@regularlabs.com</authorEmail>
	<authorUrl>https://regularlabs.com</authorUrl>
	<copyright>Copyright © 2022 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 Library">
			https://download.regularlabs.com/updates.xml?e=library&amp;type=.xml
		</server>
	</updateservers>

	<files>
		<file plugin="regularlabs">regularlabs.php</file>
		<file>script.install.helper.php</file>
		<folder>language</folder>
		<folder>src</folder>
		<folder>vendor</folder>
	</files>

	<config>
		<fields name="params" addfieldpath="/libraries/regularlabs/fields">
			<fieldset name="basic">
				<field name="@header" type="rl_header_library"
					   label="REGULAR_LABS_LIBRARY"
					   description="REGULAR_LABS_LIBRARY_DESC"
					   warning="REGULAR_LABS_LIBRARY_DESC_WARNING" />
			</fieldset>

			<fieldset name="advanced">
				<field name="combine_admin_menu" type="radio" class="btn-group" default="0"
					   label="RL_COMBINE_ADMIN_MENU"
					   description="RL_COMBINE_ADMIN_MENU_DESC">
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>
				<field name="show_help_menu" type="radio" class="btn-group" default="1"
					   label="RL_SHOW_HELP_MENU"
					   description="RL_SHOW_HELP_MENU_DESC">
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>
				<field name="max_list_count" type="number" step="1000" size="10" class="input-mini" default="10000"
					   label="RL_MAX_LIST_COUNT"
					   description="RL_MAX_LIST_COUNT_DESC" />
			</fieldset>
		</fields>
	</config>
</extension>
