117 lines
2.2 KiB
XML
117 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<form>
|
|
<fieldset
|
|
addruleprefix="FooNamespace\Component\Foos\Administrator\Rule"
|
|
addfieldprefix="FooNamespace\Component\Foos\Administrator\Field"
|
|
>
|
|
<field
|
|
name="id"
|
|
type="number"
|
|
label="JGLOBAL_FIELD_ID_LABEL"
|
|
default="0"
|
|
class="readonly"
|
|
readonly="true"
|
|
/>
|
|
|
|
<field
|
|
name="name"
|
|
type="text"
|
|
validate="Letter"
|
|
class="validate-letter"
|
|
label="COM_FOOS_FIELD_NAME_LABEL"
|
|
size="40"
|
|
required="true"
|
|
/>
|
|
|
|
<field
|
|
name="alias"
|
|
type="text"
|
|
label="JFIELD_ALIAS_LABEL"
|
|
size="45"
|
|
hint="JFIELD_ALIAS_PLACEHOLDER"
|
|
/>
|
|
|
|
<field
|
|
name="language"
|
|
type="contentlanguage"
|
|
label="JFIELD_LANGUAGE_LABEL"
|
|
>
|
|
<option value="*">JALL</option>
|
|
</field>
|
|
|
|
<field
|
|
name="published"
|
|
type="list"
|
|
label="JSTATUS"
|
|
default="1"
|
|
id="published"
|
|
class="custom-select-color-state"
|
|
size="1"
|
|
>
|
|
<option value="1">JPUBLISHED</option>
|
|
<option value="0">JUNPUBLISHED</option>
|
|
<option value="2">JARCHIVED</option>
|
|
<option value="-2">JTRASHED</option>
|
|
</field>
|
|
|
|
<field
|
|
name="publish_up"
|
|
type="calendar"
|
|
label="COM_FOOS_FIELD_PUBLISH_UP_LABEL"
|
|
translateformat="true"
|
|
showtime="true"
|
|
size="22"
|
|
filter="user_utc"
|
|
/>
|
|
|
|
<field
|
|
name="publish_down"
|
|
type="calendar"
|
|
label="COM_FOOS_FIELD_PUBLISH_DOWN_LABEL"
|
|
translateformat="true"
|
|
showtime="true"
|
|
size="22"
|
|
filter="user_utc"
|
|
/>
|
|
|
|
<field
|
|
name="catid"
|
|
type="categoryedit"
|
|
label="JCATEGORY"
|
|
extension="com_foos"
|
|
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
|
required="true"
|
|
default=""
|
|
/>
|
|
|
|
<field
|
|
name="access"
|
|
type="accesslevel"
|
|
label="JFIELD_ACCESS_LABEL"
|
|
size="1"
|
|
/>
|
|
|
|
<field
|
|
name="ordering"
|
|
type="ordering"
|
|
label="JFIELD_ORDERING_LABEL"
|
|
content_type="com_foos.foo"
|
|
/>
|
|
</fieldset>
|
|
<fields name="params" label="JGLOBAL_FIELDSET_DISPLAY_OPTIONS">
|
|
<fieldset name="display" label="JGLOBAL_FIELDSET_DISPLAY_OPTIONS">
|
|
<field
|
|
name="show_name"
|
|
type="list"
|
|
label="COM_FOOS_FIELD_PARAMS_NAME_LABEL"
|
|
class="form-select-color-state"
|
|
validate="options"
|
|
useglobal="true"
|
|
>
|
|
<option value="0">JHIDE</option>
|
|
<option value="1">JSHOW</option>
|
|
</field>
|
|
</fieldset>
|
|
</fields>
|
|
</form>
|