-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[codestyle] admin non-components xml files #15922
Conversation
@@ -20,70 +20,77 @@ | |||
<help key="JHELP_EXTENSIONS_MODULE_MANAGER_ADMIN_STATUS" /> | |||
<config> | |||
<fields name="params"> | |||
<fieldset name="basic"> | |||
<fieldset name="basic"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this whole fieldset block needs one more tab
description="MOD_CUSTOM_FIELD_PREPARE_CONTENT_DESC" | ||
default="1"> | ||
type="radio" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type before lebal
<option | ||
value="1">JYES</option> | ||
<option | ||
value="0">JNO</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
options deleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wojsmol they are ok now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brianteeman corected this in 8b2075d.
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" | ||
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" /> | ||
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" | ||
rows="3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnidet space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree
description="COM_MODULES_FIELD_CACHE_TIME_DESC" /> | ||
description="COM_MODULES_FIELD_CACHE_TIME_DESC" | ||
default="900" | ||
/> | ||
<field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line
<option value="1">JSHOW</option> | ||
<option value="0">JHIDE</option> | ||
</field> | ||
<field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all fields in this fieldset - add empy line
label="TPL_ISIS_COLOR_SIDEBAR_LABEL" | ||
description="TPL_ISIS_COLOR_SIDEBAR_DESC" | ||
class="" | ||
type="color" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type before lebal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. name, type, label, description as the others
name="loginBackgroundColor" | ||
label="TPL_ISIS_COLOR_LOGIN_BACKGROUND_LABEL" | ||
description="TPL_ISIS_COLOR_LOGIN_BACKGROUND_DESC" | ||
type="color" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type before lebal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. name, type, label, description as the others
name="loginLogoFile" | ||
label="TPL_ISIS_LOGIN_LOGO_LABEL" | ||
description="TPL_ISIS_LOGIN_LOGO_DESC" | ||
type="media" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type before lebal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. name, type, label, description as the others
description="TPL_ISIS_HEADER_DESC" | ||
class="btn-group btn-group-yesno" | ||
default="1" | ||
filter="integer"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
>
in new line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, as the others
@brianteeman check options formating https://developer.joomla.org/coding-standards/xml.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor changes and also agree with @wojsmol comments.
if corrected is fine
<option | ||
value="1">JYES</option> | ||
<option | ||
value="0">JNO</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wojsmol they are ok now
description="MOD_LATEST_FIELD_ORDERING_DESC"> | ||
description="MOD_LATEST_FIELD_ORDERING_DESC" | ||
default="c_dsc" | ||
> | ||
<option | ||
value="c_dsc">MOD_LATEST_FIELD_VALUE_ORDERING_ADDED</option> | ||
<option | ||
value="m_dsc">MOD_LATEST_FIELD_VALUE_ORDERING_MODIFIED</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proposed improvement: option in a single line
description="MOD_LATEST_FIELD_AUTHORS_DESC"> | ||
description="MOD_LATEST_FIELD_AUTHORS_DESC" | ||
default="0" | ||
> | ||
<option | ||
value="0">MOD_LATEST_FIELD_VALUE_AUTHORS_ANYONE</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proposed improvement: option in a single line
@@ -71,25 +76,26 @@ | |||
name="layout" | |||
type="modulelayout" | |||
label="JFIELD_ALT_LAYOUT_LABEL" | |||
description="JFIELD_ALT_MODULE_LAYOUT_DESC" /> | |||
description="JFIELD_ALT_MODULE_LAYOUT_DESC" | |||
/> | |||
|
|||
<field | |||
name="moduleclass_sfx" | |||
type="textarea" rows="3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rows goes down
@@ -26,14 +26,16 @@ | |||
type="text" | |||
default="5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default goes down
label="TPL_ISIS_COLOR_SIDEBAR_LABEL" | ||
description="TPL_ISIS_COLOR_SIDEBAR_DESC" | ||
class="" | ||
type="color" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. name, type, label, description as the others
name="loginBackgroundColor" | ||
label="TPL_ISIS_COLOR_LOGIN_BACKGROUND_LABEL" | ||
description="TPL_ISIS_COLOR_LOGIN_BACKGROUND_DESC" | ||
type="color" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. name, type, label, description as the others
name="loginLogoFile" | ||
label="TPL_ISIS_LOGIN_LOGO_LABEL" | ||
description="TPL_ISIS_LOGIN_LOGO_DESC" | ||
type="media" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. name, type, label, description as the others
description="TPL_ISIS_HEADER_DESC" | ||
class="btn-group btn-group-yesno" | ||
default="1" | ||
filter="integer"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, as the others
value="1">TPL_ISIS_STATUS_BOTTOM</option> | ||
<option | ||
<option | ||
value="0">TPL_ISIS_STATUS_TOP</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proposed improvement: option in a single line
all issues and conflicts have been resolved. |
I have tested this item ✅ successfully on a3672c9 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15922. |
i need to fix my ide!!
I have tested this item ✅ successfully on dfddfd5 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15922. |
1 similar comment
I have tested this item ✅ successfully on dfddfd5 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15922. |
RTC after two successful tests. |
Thanks |
Review all the xml files in the administrator/components folder and make sure they are formatted according to the coding standards
(I had a long train journey)