-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OS default to color scheme parameter
- Loading branch information
1 parent
df7c6b4
commit 48f6e51
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<extension type="module" client="administrator" method="upgrade"> | ||
<name>mod_colorscheme</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>2023-11</creationDate> | ||
<copyright>(C) 2005 Open Source Matters, Inc.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>admin@joomla.org</authorEmail> | ||
<authorUrl>www.joomla.org</authorUrl> | ||
<version>5.0.0</version> | ||
<description>MOD_COLORSCHEME_XML_DESCRIPTION</description> | ||
<namespace path="src">Joomla\Module\Colorscheme</namespace> | ||
<files> | ||
<folder module="mod_colorscheme">src</folder> | ||
<folder>services</folder> | ||
<folder>tmpl</folder> | ||
</files> | ||
<languages> | ||
<language tag="en-GB">language/en-GB/mod_colorscheme.ini</language> | ||
<language tag="en-GB">language/en-GB/mod_colorscheme.sys.ini</language> | ||
</languages> | ||
<help key="Admin_Modules:_Colorscheme" /> | ||
<config> | ||
<fields name="params"> | ||
<fieldset | ||
name="advanced"> | ||
<field | ||
name="layout" | ||
type="modulelayout" | ||
label="JFIELD_ALT_LAYOUT_LABEL" | ||
class="form-select" | ||
/> | ||
|
||
<field | ||
name="moduleclass_sfx" | ||
type="textarea" | ||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" | ||
rows="3" | ||
validate="CssIdentifier" | ||
/> | ||
|
||
<field | ||
name="cache" | ||
type="list" | ||
label="COM_MODULES_FIELD_CACHING_LABEL" | ||
default="1" | ||
filter="integer" | ||
validate="options" | ||
> | ||
<option value="1">JGLOBAL_USE_GLOBAL</option> | ||
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option> | ||
</field> | ||
|
||
<field | ||
name="cache_time" | ||
type="number" | ||
label="COM_MODULES_FIELD_CACHE_TIME_LABEL" | ||
default="900" | ||
filter="integer" | ||
min="1" | ||
validate="number" | ||
/> | ||
</fieldset> | ||
</fields> | ||
</config> | ||
</extension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters