Skip to content

Commit

Permalink
Small changes to back-end forms
Browse files Browse the repository at this point in the history
  • Loading branch information
minitek committed Apr 25, 2023
1 parent ba6a1d0 commit 2449d47
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 31 deletions.
7 changes: 0 additions & 7 deletions admin/forms/question.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
class="readonly"
label="JGLOBAL_FIELD_ID_LABEL"
description="JGLOBAL_FIELD_ID_DESC"
size="10"
default="0"
readonly="true"
/>
Expand All @@ -36,7 +35,6 @@
label="JFIELD_ALIAS_LABEL"
description="JFIELD_ALIAS_DESC"
hint="JFIELD_ALIAS_PLACEHOLDER"
size="40"
/>

<field
Expand Down Expand Up @@ -183,7 +181,6 @@
type="text"
label="JFIELD_ORDERING_LABEL"
description="JFIELD_ORDERING_DESC"
size="6"
default="0"
/>

Expand All @@ -210,15 +207,13 @@
type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
size="1"
/>

<field
name="hits"
type="text"
label="JGLOBAL_HITS"
class="readonly"
size="6"
readonly="true"
filter="unset"
/>
Expand Down Expand Up @@ -270,7 +265,6 @@
type="text"
label="COM_FAQBOOKPRO_FIELD_IMAGE_ALT_LABEL"
description="COM_FAQBOOKPRO_FIELD_IMAGE_ALT_DESC"
size="20"
/>

</fieldset>
Expand Down Expand Up @@ -299,7 +293,6 @@
type="text"
label="JAUTHOR"
description="JFIELD_METADATA_AUTHOR_DESC"
size="20"
/>

</fieldset>
Expand Down
19 changes: 6 additions & 13 deletions admin/forms/section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
class="readonly"
label="JGLOBAL_FIELD_ID_LABEL"
description="JGLOBAL_FIELD_ID_DESC"
size="10"
default="0"
readonly="true"
/>
Expand All @@ -25,7 +24,6 @@
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>

Expand All @@ -34,7 +32,6 @@
type="text"
label="JFIELD_ALIAS_LABEL"
class="inputbox"
size="45"
/>

<field
Expand Down Expand Up @@ -65,7 +62,6 @@
type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
size="1"
/>

<field
Expand Down Expand Up @@ -101,7 +97,6 @@
label="JFIELD_ORDERING_LABEL"
description="JFIELD_ORDERING_DESC"
class="inputbox"
size="6"
default="0"
/>

Expand Down Expand Up @@ -130,7 +125,6 @@
type="text"
label="JGLOBAL_HITS"
class="readonly"
size="6"
readonly="true"
filter="unset"
/>
Expand Down Expand Up @@ -180,7 +174,6 @@
type="text"
label="JAUTHOR"
description="JFIELD_METADATA_AUTHOR_DESC"
size="20"
/>

</fieldset>
Expand Down Expand Up @@ -729,9 +722,9 @@
default="static"
/>

<field
type="separator"
text="COM_FAQBOOKPRO_FIELD_STATIC_ORDERING_SEPARATOR"
<field
type="separator"
text="COM_FAQBOOKPRO_FIELD_STATIC_ORDERING_SEPARATOR"
showon="questions_ordering_type:static"
/>

Expand Down Expand Up @@ -762,9 +755,9 @@
<option value="DESC">COM_FAQBOOKPRO_FIELD_OPTION_DESC</option>
</field>

<field
type="separator"
text="COM_FAQBOOKPRO_FIELD_DYNAMIC_ORDERING_SEPARATOR"
<field
type="separator"
text="COM_FAQBOOKPRO_FIELD_DYNAMIC_ORDERING_SEPARATOR"
showon="questions_ordering_type:dynamic"
/>

Expand Down
17 changes: 6 additions & 11 deletions admin/forms/topic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
class="readonly"
label="JGLOBAL_FIELD_ID_LABEL"
description="JGLOBAL_FIELD_ID_DESC"
size="10"
default="0"
readonly="true"
/>
Expand All @@ -25,7 +24,6 @@
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>

Expand All @@ -35,7 +33,6 @@
label="JFIELD_ALIAS_LABEL"
description="JFIELD_ALIAS_DESC"
hint="JFIELD_ALIAS_PLACEHOLDER"
size="45"
/>

<field
Expand All @@ -44,7 +41,6 @@
label="COM_CATEGORIES_PATH_LABEL"
description="COM_CATEGORIES_PATH_DESC"
class="readonly"
size="40"
readonly="true"
/>

Expand All @@ -63,7 +59,7 @@
label="JSTATUS"
description="JFIELD_PUBLISHED_DESC"
class="form-select-color-state"
default="1"
default="1"
>
<option value="1">JPUBLISHED</option>
<option value="0">JUNPUBLISHED</option>
Expand Down Expand Up @@ -136,11 +132,13 @@

<field
name="modified_time"
type="text"
label="JGLOBAL_FIELD_MODIFIED_LABEL"
type="calendar"
class="readonly"
filter="unset"
label="JGLOBAL_FIELD_MODIFIED_LABEL"
readonly="true"
translateformat="true"
showtime="true"
filter="user_utc"
/>

<field
Expand Down Expand Up @@ -203,7 +201,6 @@
type="profeature"
class="info"
default="1"
size="0"
label="COM_FAQBOOKPRO_FIELD_TOPIC_QUESTIONS_VISIBILITY_LABEL"
description="COM_FAQBOOKPRO_FIELD_TOPIC_QUESTIONS_VISIBILITY_DESC"
/>
Expand Down Expand Up @@ -244,7 +241,6 @@
type="text"
label="JAUTHOR"
description="JFIELD_METADATA_AUTHOR_DESC"
size="30"
/>

</fieldset>
Expand Down Expand Up @@ -284,7 +280,6 @@
type="text"
label="COM_FAQBOOKPRO_FIELD_IMAGE_ALT_LABEL"
description="COM_FAQBOOKPRO_FIELD_IMAGE_ALT_DESC"
size="20"
/>

</fieldset>
Expand Down

0 comments on commit 2449d47

Please sign in to comment.