274 lines
13 KiB
XML
274 lines
13 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<form
|
||
|
addrulepath="/administrator/components/com_componentbuilder/models/rules"
|
||
|
addfieldpath="/administrator/components/com_componentbuilder/models/fields"
|
||
|
>
|
||
|
<fieldset name="details">
|
||
|
<!-- 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" />
|
||
|
<!-- 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">
|
||
|
<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"
|
||
|
readonly="true"
|
||
|
filter="unset" />
|
||
|
<!-- 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"
|
||
|
readonly="false"
|
||
|
disabled="false"
|
||
|
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"
|
||
|
multiple="false"
|
||
|
filter="INT"
|
||
|
required="true">
|
||
|
<!-- 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_SSH</option>
|
||
|
</field>
|
||
|
<!-- 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" />
|
||
|
<!-- 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"
|
||
|
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('')};" />
|
||
|
<!-- Authentication Field. Type: Radio. (joomla)-->
|
||
|
<field type="radio"
|
||
|
name="authentication"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_LABEL"
|
||
|
description="COM_COMPONENTBUILDER_SERVER_AUTHENTICATION_DESCRIPTION"
|
||
|
class="btn-group btn-group-yesno"
|
||
|
default="1"
|
||
|
required="true">
|
||
|
<!-- Option Set.-->
|
||
|
<option value="1">COM_COMPONENTBUILDER_SERVER_PASSWORD</option>
|
||
|
<option value="2">COM_COMPONENTBUILDER_SERVER_PRIVATE_KEY</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" />
|
||
|
<!-- Password Field. Type: Password. (joomla)-->
|
||
|
<field type="password"
|
||
|
name="password"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_PASSWORD_LABEL"
|
||
|
size="60"
|
||
|
description="COM_COMPONENTBUILDER_SERVER_PASSWORD_DESCRIPTION"
|
||
|
message="Error! Please add the password here."
|
||
|
class="text_area"
|
||
|
required="true"
|
||
|
filter="raw" />
|
||
|
<!-- Secret Field. Type: Password. (joomla)-->
|
||
|
<field type="password"
|
||
|
name="secret"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_SECRET_LABEL"
|
||
|
size="60"
|
||
|
description="COM_COMPONENTBUILDER_SERVER_SECRET_DESCRIPTION"
|
||
|
message="Error! Please add the passphrase here."
|
||
|
class="text_area"
|
||
|
filter="raw" />
|
||
|
<!-- Host Field. Type: Text. (joomla)-->
|
||
|
<field type="text"
|
||
|
name="host"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_HOST_LABEL"
|
||
|
size="40"
|
||
|
maxlength="150"
|
||
|
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" />
|
||
|
<!-- Signature Field. Type: Text. (joomla)-->
|
||
|
<field type="text"
|
||
|
name="signature"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_SIGNATURE_LABEL"
|
||
|
size="250"
|
||
|
maxlength="250"
|
||
|
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" />
|
||
|
<!-- Username Field. Type: Text. (joomla)-->
|
||
|
<field type="text"
|
||
|
name="username"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_USERNAME_LABEL"
|
||
|
size="60"
|
||
|
maxlength="150"
|
||
|
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" />
|
||
|
<!-- Not_required Field. Type: Hidden. (joomla)-->
|
||
|
<field type="hidden"
|
||
|
name="not_required"
|
||
|
default="[]" />
|
||
|
<!-- 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" />
|
||
|
<!-- Public Field. Type: Text. (joomla)-->
|
||
|
<field type="text"
|
||
|
name="public"
|
||
|
label="COM_COMPONENTBUILDER_SERVER_PUBLIC_LABEL"
|
||
|
size="50"
|
||
|
maxlength="150"
|
||
|
description="COM_COMPONENTBUILDER_SERVER_PUBLIC_DESCRIPTION"
|
||
|
class="text_area"
|
||
|
readonly="false"
|
||
|
disabled="false"
|
||
|
required="true"
|
||
|
filter="PATH"
|
||
|
message="COM_COMPONENTBUILDER_SERVER_PUBLIC_MESSAGE"
|
||
|
hint="COM_COMPONENTBUILDER_SERVER_PUBLIC_HINT" />
|
||
|
</fieldset>
|
||
|
|
||
|
<!-- 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"
|
||
|
/>
|
||
|
</fieldset>
|
||
|
</form>
|