mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
Поле "copy"
This commit is contained in:
parent
6ed72e5eb6
commit
b429dd3451
@ -1,70 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="global">
|
||||
<field
|
||||
name="id"
|
||||
type="number"
|
||||
label="JGLOBAL_FIELD_ID_LABEL"
|
||||
default="0"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
/>
|
||||
<field name="name"
|
||||
type="text"
|
||||
label="COM_OAUTHSERVER_CLIENT_NAME_LABEL"
|
||||
required="1"
|
||||
/>
|
||||
<field name="public"
|
||||
type="radio"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
label="COM_OAUTHSERVER_CLIENT_PUBLIC_LABEL"
|
||||
description="COM_OAUTHSERVER_CLIENT_PUBLIC_DESCRIPTION"
|
||||
filter="integer"
|
||||
default="0">
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
<field
|
||||
name="redirect_uris"
|
||||
type="subform"
|
||||
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
|
||||
description="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_DESCRIPTION"
|
||||
multiple="true"
|
||||
required="true"
|
||||
hiddenLabel="true"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
>
|
||||
<form>
|
||||
<field
|
||||
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
|
||||
name="uri"
|
||||
type="url"
|
||||
filter="url"
|
||||
validate="url"
|
||||
class="w-100"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<field name="allow_plain_text_pkce"
|
||||
type="radio"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
label="COM_OAUTHSERVER_CLIENT_ALLOW_PLAIN_TEXT_PKCE_LABEL"
|
||||
description="COM_OAUTHSERVER_CLIENT_ALLOW_PLAIN_TEXT_PKCE_DESCRIPTION"
|
||||
filter="integer"
|
||||
default="1">
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
<field name="identifier"
|
||||
type="text"
|
||||
readonly="1"
|
||||
label="COM_OAUTHSERVER_CLIENT_IDENTIFIER_LABEL"/>
|
||||
<field name="secret"
|
||||
type="text"
|
||||
readonly="1"
|
||||
label="COM_OAUTHSERVER_CLIENT_SECRET_LABEL"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="global">
|
||||
<field
|
||||
name="id"
|
||||
type="number"
|
||||
label="JGLOBAL_FIELD_ID_LABEL"
|
||||
default="0"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
/>
|
||||
<field name="name"
|
||||
type="text"
|
||||
label="COM_OAUTHSERVER_CLIENT_NAME_LABEL"
|
||||
required="1"
|
||||
/>
|
||||
<field name="public"
|
||||
type="radio"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
label="COM_OAUTHSERVER_CLIENT_PUBLIC_LABEL"
|
||||
description="COM_OAUTHSERVER_CLIENT_PUBLIC_DESCRIPTION"
|
||||
filter="integer"
|
||||
default="0">
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
<field
|
||||
name="redirect_uris"
|
||||
type="subform"
|
||||
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
|
||||
description="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_DESCRIPTION"
|
||||
multiple="true"
|
||||
required="true"
|
||||
hiddenLabel="true"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
>
|
||||
<form>
|
||||
<field
|
||||
label="COM_OAUTHSERVER_CLIENT_REDIRECT_URI_LABEL"
|
||||
name="uri"
|
||||
type="url"
|
||||
filter="url"
|
||||
validate="url"
|
||||
class="w-100"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<field name="allow_plain_text_pkce"
|
||||
type="radio"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
label="COM_OAUTHSERVER_CLIENT_ALLOW_PLAIN_TEXT_PKCE_LABEL"
|
||||
description="COM_OAUTHSERVER_CLIENT_ALLOW_PLAIN_TEXT_PKCE_DESCRIPTION"
|
||||
filter="integer"
|
||||
default="1">
|
||||
<option value="1">JYES</option>
|
||||
<option value="0">JNO</option>
|
||||
</field>
|
||||
<field name="identifier"
|
||||
type="text"
|
||||
layout="components.oauthserver.field.copy.text"
|
||||
readonly="1"
|
||||
label="COM_OAUTHSERVER_CLIENT_IDENTIFIER_LABEL"/>
|
||||
<field name="secret"
|
||||
type="text"
|
||||
layout="components.oauthserver.field.copy.text"
|
||||
readonly="1"
|
||||
label="COM_OAUTHSERVER_CLIENT_SECRET_LABEL"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
@ -34,4 +34,9 @@ COM_OAUTHSERVER_CLIENTS_HEADING_PUBLIC = "Публичный"
|
||||
|
||||
COM_OAUTHSERVER_SAVE_AND_RESET = "Сохранить и сбросить"
|
||||
|
||||
COM_OAUTHSERVER_CLIENTS = "Клиенты"
|
||||
COM_OAUTHSERVER_CLIENTS = "Клиенты"
|
||||
|
||||
COM_OAUTHSERVER_FIELD_COPY = "Копировать"
|
||||
COM_OAUTHSERVER_FIELD_COPY_DESC = "Копировать значение в буфер обмена"
|
||||
COM_OAUTHSERVER_FIELD_COPY_SUCCESS = "Значение скопировано в буфер обмена"
|
||||
COM_OAUTHSERVER_FIELD_COPY_FAIL = "Не удалось скопировать значение в буфер обмена"
|
||||
|
Loading…
Reference in New Issue
Block a user