From e54849f018829d700326fd932556798476096727 Mon Sep 17 00:00:00 2001 From: Thomas Hunziker Date: Sun, 12 Mar 2017 13:25:07 +0100 Subject: [PATCH] UseGlobal or list fields (#278) --- .../com_weblinks/models/forms/weblink.xml | 19 +++--- .../views/categories/tmpl/default.xml | 62 +++++++++---------- .../views/category/tmpl/default.xml | 46 +++++++------- 3 files changed, 63 insertions(+), 64 deletions(-) diff --git a/src/administrator/components/com_weblinks/models/forms/weblink.xml b/src/administrator/components/com_weblinks/models/forms/weblink.xml index 3d8c7ce..0d020e4 100644 --- a/src/administrator/components/com_weblinks/models/forms/weblink.xml +++ b/src/administrator/components/com_weblinks/models/forms/weblink.xml @@ -260,8 +260,8 @@ default="" label="COM_WEBLINKS_FIELD_TARGET_LABEL" description="COM_WEBLINKS_FIELD_TARGET_DESC" + useglobal="true" > - @@ -290,8 +290,8 @@ class="chzn-color" label="COM_WEBLINKS_FIELD_COUNTCLICKS_LABEL" description="COM_WEBLINKS_FIELD_COUNTCLICKS_DESC" - > - + useglobal="true" + > @@ -318,8 +318,8 @@ type="list" label="COM_WEBLINKS_FLOAT_LABEL" description="COM_WEBLINKS_FLOAT_DESC" + useglobal="true" > - @@ -358,11 +358,12 @@ name="float_second" type="list" label="COM_WEBLINKS_FLOAT_LABEL" - description="COM_WEBLINKS_FLOAT_DESC"> - - - - + description="COM_WEBLINKS_FLOAT_DESC" + useglobal="true" + > + + + - @@ -44,11 +44,10 @@ /> - @@ -61,8 +60,8 @@ - @@ -70,8 +69,8 @@ - + useglobal="true" + > @@ -79,8 +78,8 @@ - + useglobal="true" + > @@ -95,8 +94,8 @@ - @@ -104,8 +103,8 @@ - @@ -113,8 +112,8 @@ - @@ -122,8 +121,8 @@ - @@ -137,8 +136,8 @@ - @@ -146,8 +145,8 @@ - + useglobal="true" + > @@ -155,8 +154,8 @@ - + useglobal="true" + > @@ -173,17 +172,17 @@ default="" description="JGLOBAL_FILTER_FIELD_DESC" label="JGLOBAL_FILTER_FIELD_LABEL" + useglobal="true" > - - - + label="JGLOBAL_DISPLAY_SELECT_LABEL" + description="JGLOBAL_DISPLAY_SELECT_DESC" + useglobal="true" + > @@ -191,8 +190,8 @@ - @@ -201,8 +200,8 @@ description="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_DESC" label="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL" - > - + useglobal="true" + > @@ -211,8 +210,8 @@ description="COM_WEBLINKS_FIELD_CONFIG_HITS_DESC" label="JGLOBAL_HITS" + useglobal="true" > - @@ -221,19 +220,18 @@ - - - + label="JGLOBAL_PAGINATION_RESULTS_LABEL" + description="JGLOBAL_PAGINATION_RESULTS_DESC" + useglobal="true" + > diff --git a/src/components/com_weblinks/views/category/tmpl/default.xml b/src/components/com_weblinks/views/category/tmpl/default.xml index 0a2b439..d54ab0b 100644 --- a/src/components/com_weblinks/views/category/tmpl/default.xml +++ b/src/components/com_weblinks/views/category/tmpl/default.xml @@ -33,8 +33,8 @@ - @@ -42,8 +42,8 @@ - @@ -51,8 +51,8 @@ - @@ -60,8 +60,8 @@ - @@ -75,8 +75,8 @@ - @@ -84,8 +84,8 @@ - + useglobal="true" + > @@ -93,8 +93,8 @@ - + useglobal="true" + > @@ -112,17 +112,17 @@ default="" description="JGLOBAL_FILTER_FIELD_DESC" label="JGLOBAL_FILTER_FIELD_LABEL" + useglobal="true" > - - - + label="JGLOBAL_DISPLAY_SELECT_LABEL" + description="JGLOBAL_DISPLAY_SELECT_DESC" + useglobal="true" + > @@ -130,8 +130,8 @@ - @@ -140,8 +140,8 @@ description="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_DESC" label="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL" - > - + useglobal="true" + > @@ -150,8 +150,8 @@ description="COM_WEBLINKS_FIELD_CONFIG_HITS_DESC" label="JGLOBAL_HITS" + useglobal="true" > - @@ -160,8 +160,8 @@ - @@ -170,9 +170,9 @@ - - + description="JGLOBAL_PAGINATION_RESULTS_DESC" + useglobal="true" + > @@ -184,8 +184,8 @@ -