2021-03-05 03:08:47 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<form
|
2024-03-09 19:47:28 +00:00
|
|
|
addruleprefix="VDM\Component\Componentbuilder\Administrator\Rule"
|
|
|
|
addfieldprefix="VDM\Component\Componentbuilder\Administrator\Field"
|
2021-03-05 03:08:47 +00:00
|
|
|
>
|
2024-03-09 19:47:28 +00:00
|
|
|
<config>
|
|
|
|
<inlinehelp button="show"/>
|
|
|
|
</config>
|
2018-02-15 00:42:39 +00:00
|
|
|
<fieldset name="details">
|
2018-03-18 04:28:54 +00:00
|
|
|
<!-- Default Fields. -->
|
|
|
|
<!-- Id Field. Type: Text (joomla) -->
|
|
|
|
<field
|
|
|
|
name="id"
|
|
|
|
type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
|
|
|
|
description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
|
|
|
|
readonly="true"
|
|
|
|
/>
|
|
|
|
<!-- Date Created Field. Type: Calendar (joomla) -->
|
|
|
|
<field
|
|
|
|
name="created"
|
|
|
|
type="calendar"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_LABEL"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_CREATED_DATE_DESC"
|
|
|
|
size="22"
|
|
|
|
format="%Y-%m-%d %H:%M:%S"
|
|
|
|
filter="user_utc"
|
|
|
|
/>
|
|
|
|
<!-- User Created Field. Type: User (joomla) -->
|
|
|
|
<field
|
|
|
|
name="created_by"
|
|
|
|
type="user"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_CREATED_BY_LABEL"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_CREATED_BY_DESC"
|
|
|
|
/>
|
|
|
|
<!-- Published Field. Type: List (joomla) -->
|
|
|
|
<field name="published" type="list" label="JSTATUS"
|
|
|
|
description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
|
|
|
|
filter="intval" size="1" default="1" >
|
|
|
|
<option value="1">
|
|
|
|
JPUBLISHED</option>
|
|
|
|
<option value="0">
|
|
|
|
JUNPUBLISHED</option>
|
|
|
|
<option value="2">
|
|
|
|
JARCHIVED</option>
|
|
|
|
<option value="-2">
|
|
|
|
JTRASHED</option>
|
|
|
|
</field>
|
|
|
|
<!-- Date Modified Field. Type: Calendar (joomla) -->
|
|
|
|
<field name="modified" type="calendar" class="readonly"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_SERVER_MODIFIED_DATE_DESC"
|
|
|
|
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
|
|
|
|
<!-- User Modified Field. Type: User (joomla) -->
|
|
|
|
<field name="modified_by" type="user"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_MODIFIED_BY_LABEL"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_MODIFIED_BY_DESC"
|
|
|
|
class="readonly"
|
|
|
|
readonly="true"
|
|
|
|
filter="unset"
|
|
|
|
/>
|
|
|
|
<!-- Access Field. Type: Accesslevel (joomla) -->
|
|
|
|
<field name="access"
|
|
|
|
type="accesslevel"
|
|
|
|
label="JFIELD_ACCESS_LABEL"
|
|
|
|
description="JFIELD_ACCESS_DESC"
|
|
|
|
default="1"
|
|
|
|
required="false"
|
|
|
|
/>
|
|
|
|
<!-- Ordering Field. Type: Numbers (joomla) -->
|
|
|
|
<field
|
|
|
|
name="ordering"
|
|
|
|
type="number"
|
|
|
|
class="inputbox validate-ordering"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_ORDERING_LABEL"
|
|
|
|
description=""
|
|
|
|
default="0"
|
|
|
|
size="6"
|
|
|
|
required="false"
|
|
|
|
/>
|
|
|
|
<!-- Version Field. Type: Text (joomla) -->
|
|
|
|
<field
|
|
|
|
name="version"
|
|
|
|
type="text"
|
|
|
|
class="readonly"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_VERSION_LABEL"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_VERSION_DESC"
|
|
|
|
size="6"
|
2024-03-09 19:47:28 +00:00
|
|
|
default="1"
|
2018-03-18 04:28:54 +00:00
|
|
|
readonly="true"
|
|
|
|
filter="unset"
|
|
|
|
/>
|
2020-12-24 13:39:33 +00:00
|
|
|
<!-- Was added due to Permissions JS needing a Title field -->
|
|
|
|
<!-- Let us know at gh-629 should this change -->
|
|
|
|
<!-- https://github.com/vdm-io/Joomla-Component-Builder/issues/629#issuecomment-750117235 -->
|
|
|
|
<field
|
|
|
|
name="title"
|
|
|
|
type="hidden"
|
|
|
|
default="componentbuilder server"
|
|
|
|
/>
|
2018-03-18 04:28:54 +00:00
|
|
|
<!-- Dynamic Fields. -->
|
|
|
|
<!-- Name Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="name"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_NAME_LABEL"
|
|
|
|
size="40"
|
|
|
|
maxlength="150"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_NAME_DESCRIPTION"
|
|
|
|
class="text_area"
|
2022-10-06 17:34:44 +00:00
|
|
|
readonly="false"
|
|
|
|
disabled="false"
|
2018-03-18 04:28:54 +00:00
|
|
|
required="true"
|
|
|
|
filter="STRING"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_NAME_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_NAME_HINT"
|
|
|
|
/>
|
|
|
|
<!-- Protocol Field. Type: List. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="list"
|
|
|
|
name="protocol"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_PROTOCOL_LABEL"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_PROTOCOL_DESCRIPTION"
|
|
|
|
class="list_class"
|
2024-06-28 01:50:30 +00:00
|
|
|
layout="joomla.form.field.list-fancy-select"
|
2018-03-18 04:28:54 +00:00
|
|
|
multiple="false"
|
|
|
|
filter="INT"
|
2018-09-24 14:37:51 +00:00
|
|
|
required="true"
|
|
|
|
default="">
|
2018-03-18 04:28:54 +00:00
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
|
|
|
|
<option value="1">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_FTP</option>
|
|
|
|
<option value="2">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_SFTP</option>
|
|
|
|
</field>
|
|
|
|
<!-- Note_ssh_security Field. Type: Note. A None Database Field. (joomla) -->
|
|
|
|
<field type="note" name="note_ssh_security" label="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_LABEL" description="COM_COMPONENTBUILDER_SERVER_NOTE_SSH_SECURITY_DESCRIPTION" heading="h4" class="alert alert-info note_ssh_security" />
|
|
|
|
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="hidden"
|
|
|
|
name="not_required"
|
2020-02-27 21:05:28 +00:00
|
|
|
default="一_一"
|
2018-03-18 04:28:54 +00:00
|
|
|
/>
|
|
|
|
<!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla) -->
|
|
|
|
<field type="note" name="note_ftp_signature" label="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_LABEL" description="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_DESCRIPTION" heading="h4" class="alert alert-success note_ftp_signature" />
|
|
|
|
<!-- Signature Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="signature"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_SIGNATURE_LABEL"
|
|
|
|
size="250"
|
|
|
|
maxlength="250"
|
2018-09-24 14:37:51 +00:00
|
|
|
default=""
|
2018-03-18 04:28:54 +00:00
|
|
|
description="COM_COMPONENTBUILDER_SERVER_SIGNATURE_DESCRIPTION"
|
|
|
|
class="text_area span12"
|
|
|
|
required="true"
|
|
|
|
filter="STRING"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_SIGNATURE_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_SIGNATURE_HINT"
|
|
|
|
autocomplete="off"
|
|
|
|
/>
|
|
|
|
<!-- Private_key Field. Type: Textarea. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="textarea"
|
|
|
|
name="private_key"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_LABEL"
|
|
|
|
rows="15"
|
|
|
|
cols="5"
|
2018-09-24 14:37:51 +00:00
|
|
|
default=""
|
2018-03-18 04:28:54 +00:00
|
|
|
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_DESCRIPTION"
|
|
|
|
class="input-xxlarge span12"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_HINT"
|
|
|
|
required="true"
|
|
|
|
/>
|
|
|
|
<!-- Secret Field. Type: Password. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="password"
|
|
|
|
name="secret"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_SECRET_LABEL"
|
|
|
|
size="60"
|
2018-09-24 14:37:51 +00:00
|
|
|
default=""
|
2018-03-18 04:28:54 +00:00
|
|
|
description="COM_COMPONENTBUILDER_SERVER_SECRET_DESCRIPTION"
|
|
|
|
message="Error! Please add the passphrase here."
|
|
|
|
class="text_area"
|
|
|
|
filter="raw"
|
|
|
|
/>
|
|
|
|
<!-- Password Field. Type: Password. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="password"
|
|
|
|
name="password"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_PASSWORD_LABEL"
|
|
|
|
size="60"
|
2018-09-24 14:37:51 +00:00
|
|
|
default=""
|
2018-03-18 04:28:54 +00:00
|
|
|
description="COM_COMPONENTBUILDER_SERVER_PASSWORD_DESCRIPTION"
|
|
|
|
message="Error! Please add the password here."
|
|
|
|
class="text_area"
|
|
|
|
required="true"
|
|
|
|
filter="raw"
|
|
|
|
/>
|
|
|
|
<!-- Private Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="private"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_PRIVATE_LABEL"
|
|
|
|
size="50"
|
|
|
|
maxlength="150"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_PRIVATE_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
readonly="false"
|
|
|
|
disabled="false"
|
|
|
|
required="true"
|
|
|
|
filter="PATH"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_PRIVATE_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_PRIVATE_HINT"
|
|
|
|
/>
|
|
|
|
<!-- Authentication Field. Type: List. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="list"
|
|
|
|
name="authentication"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_LABEL"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_DESCRIPTION"
|
|
|
|
class="list_class"
|
2024-06-28 01:50:30 +00:00
|
|
|
layout="joomla.form.field.list-fancy-select"
|
2018-03-18 04:28:54 +00:00
|
|
|
multiple="false"
|
|
|
|
filter="INT"
|
2018-09-24 14:37:51 +00:00
|
|
|
required="true"
|
|
|
|
default="">
|
2018-03-18 04:28:54 +00:00
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_SELECT_AN_OPTION</option>
|
|
|
|
<option value="1">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_PASSWORD</option>
|
|
|
|
<option value="2">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_FILE_PATH</option>
|
|
|
|
<option value="3">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_FILE_PATH</option>
|
|
|
|
<option value="4">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY_TEXT_FIELD</option>
|
|
|
|
<option value="5">
|
|
|
|
COM_COMPONENTBUILDER_SERVER_BOTH_PASSWORD_PRIVATE_KEY_TEXT_FIELD</option>
|
|
|
|
</field>
|
|
|
|
<!-- Path Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="path"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_PATH_LABEL"
|
|
|
|
size="40"
|
|
|
|
maxlength="150"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_PATH_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
readonly="false"
|
|
|
|
disabled="false"
|
|
|
|
required="true"
|
|
|
|
filter="PATH"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_PATH_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_PATH_HINT"
|
|
|
|
/>
|
|
|
|
<!-- Port Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="port"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_PORT_LABEL"
|
|
|
|
size="10"
|
|
|
|
maxlength="50"
|
|
|
|
default="22"
|
|
|
|
description="COM_COMPONENTBUILDER_SERVER_PORT_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
required="true"
|
|
|
|
filter="INT"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_PORT_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_PORT_HINT"
|
|
|
|
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
|
|
|
|
/>
|
|
|
|
<!-- Host Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="host"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_HOST_LABEL"
|
|
|
|
size="40"
|
|
|
|
maxlength="150"
|
2018-09-24 14:37:51 +00:00
|
|
|
default=""
|
2018-03-18 04:28:54 +00:00
|
|
|
description="COM_COMPONENTBUILDER_SERVER_HOST_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
required="true"
|
|
|
|
filter="STRING"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_HOST_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_HOST_HINT"
|
|
|
|
/>
|
|
|
|
<!-- Username Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="username"
|
|
|
|
label="COM_COMPONENTBUILDER_SERVER_USERNAME_LABEL"
|
|
|
|
size="60"
|
|
|
|
maxlength="150"
|
2018-09-24 14:37:51 +00:00
|
|
|
default=""
|
2018-03-18 04:28:54 +00:00
|
|
|
description="COM_COMPONENTBUILDER_SERVER_USERNAME_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
required="true"
|
|
|
|
filter="STRING"
|
|
|
|
message="COM_COMPONENTBUILDER_SERVER_USERNAME_MESSAGE"
|
|
|
|
hint="COM_COMPONENTBUILDER_SERVER_USERNAME_HINT"
|
|
|
|
/>
|
2021-03-05 03:08:47 +00:00
|
|
|
</fieldset>
|
2024-03-09 19:47:28 +00:00
|
|
|
|
2018-02-15 00:42:39 +00:00
|
|
|
<!-- Access Control Fields. -->
|
|
|
|
<fieldset name="accesscontrol">
|
|
|
|
<!-- Asset Id Field. Type: Hidden (joomla) -->
|
|
|
|
<field
|
|
|
|
name="asset_id"
|
|
|
|
type="hidden"
|
|
|
|
filter="unset"
|
|
|
|
/>
|
|
|
|
<!-- Rules Field. Type: Rules (joomla) -->
|
|
|
|
<field
|
|
|
|
name="rules"
|
|
|
|
type="rules"
|
|
|
|
label="Permissions in relation to this server"
|
|
|
|
translate_label="false"
|
|
|
|
filter="rules"
|
|
|
|
validate="rules"
|
|
|
|
class="inputbox"
|
|
|
|
component="com_componentbuilder"
|
|
|
|
section="server"
|
|
|
|
/>
|
2021-03-05 03:08:47 +00:00
|
|
|
</fieldset>
|
2018-02-15 00:42:39 +00:00
|
|
|
</form>
|