32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-10-31 19:02:30 +00:00

module and plugin xmls

This commit is contained in:
zero-24 2017-02-25 12:18:06 +01:00
parent b01cde83c1
commit 7a0c15a453
2 changed files with 95 additions and 93 deletions

View File

@ -25,19 +25,21 @@
extension="com_weblinks" extension="com_weblinks"
required="true" required="true"
label="JCATEGORY" label="JCATEGORY"
description="MOD_WEBLINKS_FIELD_CATEGORY_DESC" /> description="MOD_WEBLINKS_FIELD_CATEGORY_DESC"
/>
<field <field
name="groupby" name="groupby"
type="radio" type="radio"
class="btn-group btn-group-yesno" class="btn-group btn-group-yesno"
default="0" default="0"
label="MOD_WEBLINKS_FIELD_GROUPBY_LABEL" label="MOD_WEBLINKS_FIELD_GROUPBY_LABEL"
description="MOD_WEBLINKS_FIELD_GROUPBY_DESC"> description="MOD_WEBLINKS_FIELD_GROUPBY_DESC"
<option >
value="1">JYES</option> <option value="1">JYES</option>
<option <option value="0">JNO</option>
value="0">JNO</option>
</field> </field>
<field <field
name="groupby_showtitle" name="groupby_showtitle"
type="radio" type="radio"
@ -46,12 +48,11 @@
label="MOD_WEBLINKS_FIELD_GROUPBYSHOWTITLE_LABEL" label="MOD_WEBLINKS_FIELD_GROUPBYSHOWTITLE_LABEL"
description="MOD_WEBLINKS_FIELD_GROUPBYSHOWTITLE_DESC" description="MOD_WEBLINKS_FIELD_GROUPBYSHOWTITLE_DESC"
showon="groupby:1" showon="groupby:1"
> >
<option <option value="1">JYES</option>
value="1">JYES</option> <option value="0">JNO</option>
<option
value="0">JNO</option>
</field> </field>
<field <field
name="groupby_ordering" name="groupby_ordering"
type="list" type="list"
@ -59,12 +60,11 @@
label="MOD_WEBLINKS_FIELD_GROUPBYORDERING_LABEL" label="MOD_WEBLINKS_FIELD_GROUPBYORDERING_LABEL"
description="MOD_WEBLINKS_FIELD_GROUPBYORDERING_DESC" description="MOD_WEBLINKS_FIELD_GROUPBYORDERING_DESC"
showon="groupby:1" showon="groupby:1"
> >
<option <option value="c.title">JGLOBAL_TITLE</option>
value="c.title">JGLOBAL_TITLE</option> <option value="c.lft">MOD_WEBLINKS_FIELD_VALUE_ORDER</option>
<option
value="c.lft">MOD_WEBLINKS_FIELD_VALUE_ORDER</option>
</field> </field>
<field <field
name="groupby_direction" name="groupby_direction"
type="list" type="list"
@ -72,106 +72,101 @@
label="MOD_WEBLINKS_FIELD_GROUPBYDIRECTION_LABEL" label="MOD_WEBLINKS_FIELD_GROUPBYDIRECTION_LABEL"
description="MOD_WEBLINKS_FIELD_GROUPBYDIRECTION_DESC" description="MOD_WEBLINKS_FIELD_GROUPBYDIRECTION_DESC"
showon="groupby:1" showon="groupby:1"
> >
<option <option value="asc">MOD_WEBLINKS_FIELD_VALUE_ASCENDING</option>
value="asc">MOD_WEBLINKS_FIELD_VALUE_ASCENDING</option> <option value="desc">MOD_WEBLINKS_FIELD_VALUE_DESCENDING</option>
<option
value="desc">MOD_WEBLINKS_FIELD_VALUE_DESCENDING</option>
</field> </field>
<field <field
name="groupby_columns" name="groupby_columns"
type="list" type="list"
default="3" default="3"
label="MOD_WEBLINKS_FIELD_COLUMNS_LABEL" label="MOD_WEBLINKS_FIELD_COLUMNS_LABEL"
description="MOD_WEBLINKS_FIELD_COLUMNS_DESC"> description="MOD_WEBLINKS_FIELD_COLUMNS_DESC"
<option >
value="1">1</option> <option value="1">J1</option>
<option <option value="2">J2</option>
value="2">2</option> <option value="3">J3</option>
<option <option value="4">J4</option>
value="3">3</option> <option value="6">J6</option>
<option
value="4">4</option>
<option
value="6">6</option>
</field> </field>
<field <field
name="count" name="count"
type="text" type="text"
default="5" default="5"
label="MOD_WEBLINKS_FIELD_COUNT_LABEL" label="MOD_WEBLINKS_FIELD_COUNT_LABEL"
description="MOD_WEBLINKS_FIELD_COUNT_DESC" /> description="MOD_WEBLINKS_FIELD_COUNT_DESC"
/>
<field <field
name="ordering" name="ordering"
type="list" type="list"
default="title" default="title"
label="MOD_WEBLINKS_FIELD_ORDERING_LABEL" label="MOD_WEBLINKS_FIELD_ORDERING_LABEL"
description="MOD_WEBLINKS_FIELD_ORDERING_DESC"> description="MOD_WEBLINKS_FIELD_ORDERING_DESC"
<option >
value="title">JGLOBAL_TITLE</option> <option value="title">JGLOBAL_TITLE</option>
<option <option value="order">MOD_WEBLINKS_FIELD_VALUE_ORDER</option>
value="order">MOD_WEBLINKS_FIELD_VALUE_ORDER</option> <option value="hits">MOD_WEBLINKS_FIELD_VALUE_HITS</option>
<option
value="hits">MOD_WEBLINKS_FIELD_VALUE_HITS</option>
</field> </field>
<field <field
name="direction" name="direction"
type="list" type="list"
default="asc" default="asc"
label="MOD_WEBLINKS_FIELD_ORDERDIRECTION_LABEL" label="MOD_WEBLINKS_FIELD_ORDERDIRECTION_LABEL"
description="MOD_WEBLINKS_FIELD_ORDERDIRECTION_DESC"> description="MOD_WEBLINKS_FIELD_ORDERDIRECTION_DESC"
<option >
value="asc">MOD_WEBLINKS_FIELD_VALUE_ASCENDING</option> <option value="asc">MOD_WEBLINKS_FIELD_VALUE_ASCENDING</option>
<option <option value="desc">MOD_WEBLINKS_FIELD_VALUE_DESCENDING</option>
value="desc">MOD_WEBLINKS_FIELD_VALUE_DESCENDING</option>
</field> </field>
<field <field
name="target" name="target"
type="list" type="list"
default="3" default="3"
label="MOD_WEBLINKS_FIELD_TARGET_LABEL" label="MOD_WEBLINKS_FIELD_TARGET_LABEL"
description="MOD_WEBLINKS_FIELD_TARGET_DESC"> description="MOD_WEBLINKS_FIELD_TARGET_DESC"
<option >
value="1">JBROWSERTARGET_NEW</option> <option value="1">JBROWSERTARGET_NEW</option>
<option <option value="2">JBROWSERTARGET_POPUP</option>
value="2">JBROWSERTARGET_POPUP</option> <option value="3">JBROWSERTARGET_PARENT</option>
<option
value="3">JBROWSERTARGET_PARENT</option>
</field> </field>
<field <field
name="follow" name="follow"
type="list" type="list"
default="0" default="0"
label="MOD_WEBLINKS_FIELD_FOLLOW_LABEL" label="MOD_WEBLINKS_FIELD_FOLLOW_LABEL"
description="MOD_WEBLINKS_FIELD_FOLLOW_DESC"> description="MOD_WEBLINKS_FIELD_FOLLOW_DESC"
<option >
value="follow">MOD_WEBLINKS_FIELD_VALUE_FOLLOW</option> <option value="follow">MOD_WEBLINKS_FIELD_VALUE_FOLLOW</option>
<option <option value="nofollow">MOD_WEBLINKS_FIELD_VALUE_NOFOLLOW</option>
value="nofollow">MOD_WEBLINKS_FIELD_VALUE_NOFOLLOW</option>
</field> </field>
<field <field
name="description" name="description"
type="radio" type="radio"
class="btn-group btn-group-yesno" class="btn-group btn-group-yesno"
default="0" default="0"
label="MOD_WEBLINKS_FIELD_DESCRIPTION_LABEL" label="MOD_WEBLINKS_FIELD_DESCRIPTION_LABEL"
description="MOD_WEBLINKS_FIELD_DESCRIPTION_DESC"> description="MOD_WEBLINKS_FIELD_DESCRIPTION_DESC"
<option >
value="1">JSHOW</option> <option value="1">JSHOW</option>
<option <option value="0">JHIDE</option>
value="0">JHIDE</option>
</field> </field>
<field <field
name="hits" name="hits"
type="radio" type="radio"
class="btn-group btn-group-yesno" class="btn-group btn-group-yesno"
default="0" default="0"
label="MOD_WEBLINKS_FIELD_HITS_LABEL" label="MOD_WEBLINKS_FIELD_HITS_LABEL"
description="MOD_WEBLINKS_FIELD_HITS_DESC"> description="MOD_WEBLINKS_FIELD_HITS_DESC"
<option >
value="1">JSHOW</option> <option value="1">JSHOW</option>
<option <option value="0">JHIDE</option>
value="0">JHIDE</option>
</field> </field>
<field <field
@ -180,51 +175,53 @@
class="chzn-color" class="chzn-color"
default="0" default="0"
label="MOD_WEBLINKS_FIELD_COUNTCLICKS_LABEL" label="MOD_WEBLINKS_FIELD_COUNTCLICKS_LABEL"
description="MOD_WEBLINKS_FIELD_COUNTCLICKS_DESC"> description="MOD_WEBLINKS_FIELD_COUNTCLICKS_DESC"
<option >
value="">JGLOBAL_USE_GLOBAL</option> <option value="">JGLOBAL_USE_GLOBAL</option>
<option <option value="0">JNO</option>
value="0">JNO</option> <option value="1">JYES</option>
<option
value="1">JYES</option>
</field> </field>
</fieldset> </fieldset>
<fieldset <fieldset name="advanced">
name="advanced">
<field <field
name="layout" name="layout"
type="modulelayout" type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL" label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC" /> description="JFIELD_ALT_MODULE_LAYOUT_DESC"
/>
<field <field
name="moduleclass_sfx" name="moduleclass_sfx"
type="textarea" rows="3" type="textarea"
rows="3"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" /> description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
/>
<field <field
name="cache" name="cache"
type="list" type="list"
default="1" default="1"
label="COM_MODULES_FIELD_CACHING_LABEL" label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"> description="COM_MODULES_FIELD_CACHING_DESC"
<option >
value="1">JGLOBAL_USE_GLOBAL</option> <option value="1">JGLOBAL_USE_GLOBAL</option>
<option <option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field> </field>
<field <field
name="cache_time" name="cache_time"
type="text" type="text"
default="900" default="900"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL" label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC" /> description="COM_MODULES_FIELD_CACHE_TIME_DESC"
/>
<field <field
name="cachemode" name="cachemode"
type="hidden" type="hidden"
default="static"> default="static"
<option />
value="static"></option>
</field>
</fieldset> </fieldset>
</fields> </fields>
</config> </config>

View File

@ -17,16 +17,19 @@
</languages> </languages>
<config> <config>
<fields name="params"> <fields name="params">
<fieldset name="basic"> <fieldset name="basic">
<field name="search_limit" type="text" <field
name="search_limit"
type="text"
default="50" default="50"
description="JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC" description="JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC"
label="JFIELD_PLG_SEARCH_SEARCHLIMIT_LABEL" label="JFIELD_PLG_SEARCH_SEARCHLIMIT_LABEL"
size="5" size="5"
/> />
<field name="search_content" type="radio" <field
name="search_content"
type="radio"
class="btn-group btn-group-yesno" class="btn-group btn-group-yesno"
default="0" default="0"
description="JFIELD_PLG_SEARCH_ALL_DESC" description="JFIELD_PLG_SEARCH_ALL_DESC"
@ -36,7 +39,9 @@
<option value="0">JOFF</option> <option value="0">JOFF</option>
</field> </field>
<field name="search_archived" type="radio" <field
name="search_archived"
type="radio"
class="btn-group btn-group-yesno" class="btn-group btn-group-yesno"
default="0" default="0"
description="JFIELD_PLG_SEARCH_ARCHIVED_DESC" description="JFIELD_PLG_SEARCH_ARCHIVED_DESC"