generator-joomla-spc
Version:
Joomla-spc generator for Yeoman. Creates Joomla 2.5 and 3.0 files
36 lines (35 loc) • 1.05 kB
text/xml
<config>
<fieldset
name="greetings"
label="COM_<%= _.slugify(componentName).toUpperCase() %>_CONFIG_GREETING_SETTINGS_LABEL"
description="COM_<%= _.slugify(componentName).toUpperCase() %>_CONFIG_GREETING_SETTINGS_DESC"
>
<field
name="show_category"
type="radio"
label="COM_<%= _.slugify(componentName).toUpperCase() %>_<%= _.slugify(componentName).toUpperCase() %>_FIELD_SHOW_CATEGORY_LABEL"
description="COM_<%= _.slugify(componentName).toUpperCase() %>_<%= _.slugify(componentName).toUpperCase() %>_FIELD_SHOW_CATEGORY_DESC"
default="0"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset
name="permissions"
label="JCONFIG_PERMISSIONS_LABEL"
description="JCONFIG_PERMISSIONS_DESC"
>
<field
name="rules"
type="rules"
label="JCONFIG_PERMISSIONS_LABEL"
class="inputbox"
validate="rules"
filter="rules"
component="com_<%= _.slugify(componentName) %>"
section="component"
/>
</fieldset>
</config>