Skip to content
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

New formfield Modal_User : using BS modal with no B/C issue #10772

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions administrator/components/com_banners/models/forms/banner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,11 @@
<field
name="created_by"
type="user"
basetype="modal"
label="COM_BANNERS_FIELD_CREATED_BY_LABEL"
description="COM_BANNERS_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field
Expand All @@ -168,6 +171,7 @@
<field
name="modified_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,11 @@
<field
name="created_user_id"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_CREATED_BY_LABEL"
desc="JGLOBAL_FIELD_CREATED_BY_DESC"
description="JGLOBAL_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field
Expand All @@ -194,6 +197,7 @@
<field
name="modified_user_id"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
Expand Down
7 changes: 7 additions & 0 deletions administrator/components/com_contact/models/forms/contact.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@
<field
name="user_id"
type="user"
basetype="modal"
label="COM_CONTACT_FIELD_LINKED_USER_LABEL"
description="COM_CONTACT_FIELD_LINKED_USER_DESC"
edit="true"
new="true"
/>

<field
Expand Down Expand Up @@ -100,8 +103,11 @@
<field
name="created_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_CREATED_BY_LABEL"
description="COM_CONTACT_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field
Expand Down Expand Up @@ -137,6 +143,7 @@
<field
name="modified_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
Expand Down
26 changes: 18 additions & 8 deletions administrator/components/com_content/models/forms/article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,15 @@
description="COM_CONTENT_FIELD_CREATED_DESC" size="22"
format="%Y-%m-%d %H:%M:%S" filter="user_utc" />

<field name="created_by" type="user"
label="COM_CONTENT_FIELD_CREATED_BY_LABEL" description="COM_CONTENT_FIELD_CREATED_BY_DESC" />
<field
name="created_by"
type="user"
basetype="modal"
label="COM_CONTENT_FIELD_CREATED_BY_LABEL"
description="COM_CONTENT_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field name="created_by_alias" type="text"
label="COM_CONTENT_FIELD_CREATED_BY_ALIAS_LABEL" description="COM_CONTENT_FIELD_CREATED_BY_ALIAS_DESC"
Expand All @@ -81,12 +88,15 @@
label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />

<field name="modified_by" type="user"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
filter="unset"
/>
<field
name="modified_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
filter="unset"
/>

<field name="checked_out" type="hidden" filter="unset" />

Expand Down
27 changes: 19 additions & 8 deletions administrator/components/com_finder/models/forms/filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,29 @@
label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_FINDER_FIELD_MODIFIED_DESCRIPTION"
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />

<field name="created_by" type="user"
label="COM_FINDER_FIELD_CREATED_BY_LABEL" description="COM_FINDER_FIELD_CREATED_BY_DESC" />
<field
name="created_by"
type="user"
basetype="modal"
label="COM_FINDER_FIELD_CREATED_BY_LABEL"
description="COM_FINDER_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field name="created_by_alias" type="text"
label="COM_FINDER_FIELD_CREATED_BY_ALIAS_LABEL" description="COM_FINDER_FIELD_CREATED_BY_ALIAS_DESC"
size="20" />
<field name="modified_by" type="user"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
filter="unset"
/>

<field
name="modified_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
filter="unset"
/>

<field name="checked_out" type="hidden" filter="unset" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,11 @@
<field
name="created_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_Created_by_Label"
description="JGLOBAL_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field
Expand All @@ -176,6 +179,7 @@
<field
name="modified_by"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
Expand Down
8 changes: 6 additions & 2 deletions administrator/components/com_tags/models/forms/tag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,11 @@
<field
name="created_user_id"
type="user"
basetype="modal"
label="JGLOBAL_FIELD_CREATED_BY_LABEL"
desc="JGLOBAL_FIELD_CREATED_BY_DESC"
description="JGLOBAL_FIELD_CREATED_BY_DESC"
edit="true"
new="true"
/>

<field
Expand All @@ -180,8 +183,9 @@
<field
name="modified_user_id"
type="user"
class="readonly"
basetype="modal"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
filter="unset"
/>
Expand Down
9 changes: 6 additions & 3 deletions administrator/components/com_users/models/forms/note.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@
<field
name="user_id"
type="user"
size="50"
basetype="modal"
label="COM_USERS_FIELD_USER_ID_LABEL"
class="input-medium"
size="50"
required="true"
label="COM_USERS_FIELD_USER_ID_LABEL"
/>
edit="true"
new="true"
/>

<field
name="catid"
Expand Down