You've already forked joomla_test
first commit
This commit is contained in:
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
113
administrator/components/com_languages/models/forms/language.xml
Normal file
113
administrator/components/com_languages/models/forms/language.xml
Normal file
@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset>
|
||||
<field name="lang_id" type="text"
|
||||
class="readonly"
|
||||
description="JGLOBAL_FIELD_ID_DESC"
|
||||
label="JGLOBAL_FIELD_ID_LABEL"
|
||||
default="0"
|
||||
readonly="true"
|
||||
/>
|
||||
|
||||
<field name="lang_code" type="text"
|
||||
class="inputbox"
|
||||
description="COM_LANGUAGES_FIELD_LANG_TAG_DESC"
|
||||
label="COM_LANGUAGES_FIELD_LANG_TAG_LABEL"
|
||||
maxlength="7"
|
||||
required="true"
|
||||
size="10"
|
||||
/>
|
||||
|
||||
<field name="title" type="text"
|
||||
class="inputbox"
|
||||
description="COM_LANGUAGES_FIELD_TITLE_DESC"
|
||||
label="JGLOBAL_TITLE"
|
||||
maxlength="50"
|
||||
required="true"
|
||||
size="40"
|
||||
/>
|
||||
|
||||
<field name="title_native" type="text"
|
||||
class="inputbox"
|
||||
description="COM_LANGUAGES_FIELD_TITLE_NATIVE_DESC"
|
||||
label="COM_LANGUAGES_FIELD_TITLE_NATIVE_LABEL"
|
||||
maxlength="50"
|
||||
required="true"
|
||||
size="40"
|
||||
/>
|
||||
|
||||
<field name="sef" type="text"
|
||||
class="inputbox"
|
||||
description="COM_LANGUAGES_FIELD_LANG_CODE_DESC"
|
||||
label="COM_LANGUAGES_FIELD_LANG_CODE_LABEL"
|
||||
maxlength="7"
|
||||
required="true"
|
||||
size="10"
|
||||
/>
|
||||
|
||||
<field name="image" type="filelist"
|
||||
class="inputbox"
|
||||
description="COM_LANGUAGES_FIELD_IMAGE_DESC"
|
||||
label="COM_LANGUAGES_FIELD_IMAGE_LABEL"
|
||||
stripext="1"
|
||||
directory="media/mod_languages/images/"
|
||||
hide_none="1"
|
||||
hide_default="1"
|
||||
required="true"
|
||||
filter="\.gif$"
|
||||
size="10"
|
||||
/>
|
||||
|
||||
<field name="description" type="textarea"
|
||||
class="inputbox"
|
||||
cols="80"
|
||||
description="COM_LANGUAGES_FIELD_DESCRIPTION_DESC"
|
||||
label="JGLOBAL_DESCRIPTION"
|
||||
rows="5"
|
||||
/>
|
||||
|
||||
<field name="published" type="list"
|
||||
class="inputbox"
|
||||
default="1"
|
||||
description="COM_LANGUAGES_FIELD_PUBLISHED_DESC"
|
||||
label="JSTATUS"
|
||||
size="1"
|
||||
>
|
||||
<option value="1">JPUBLISHED</option>
|
||||
<option value="0">JUNPUBLISHED</option>
|
||||
<option value="-2">JTRASHED</option>
|
||||
</field>
|
||||
|
||||
<field name="access" type="accesslevel"
|
||||
class="inputbox"
|
||||
size="1"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset name="metadata" label="JGLOBAL_FIELDSET_METADATA_OPTIONS">
|
||||
<field name="metakey" type="textarea"
|
||||
class="inputbox"
|
||||
description="JFIELD_META_KEYWORDS_DESC"
|
||||
label="JFIELD_META_KEYWORDS_LABEL"
|
||||
rows="3"
|
||||
cols="30"
|
||||
/>
|
||||
|
||||
<field name="metadesc" type="textarea"
|
||||
class="inputbox"
|
||||
description="JFIELD_META_DESCRIPTION_DESC"
|
||||
label="JFIELD_META_DESCRIPTION_LABEL"
|
||||
rows="3"
|
||||
cols="30"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset name="site_name" label="COM_LANGUAGES_FIELDSET_SITE_NAME_LABEL">
|
||||
<field name="sitename" type="text"
|
||||
description="COM_LANGUAGES_FIELD_SITE_NAME_DESC"
|
||||
label="COM_LANGUAGES_FIELD_SITE_NAME_LABEL"
|
||||
filter="string"
|
||||
size="50"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset>
|
||||
<field
|
||||
name="key"
|
||||
type="text"
|
||||
class="inputbox"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_KEY_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_KEY_DESC"
|
||||
size="60"
|
||||
required="true"
|
||||
filter="LanguagesHelper::filterKey" />
|
||||
|
||||
<field
|
||||
name="override"
|
||||
type="textarea"
|
||||
class="inputbox"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_OVERRIDE_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_OVERRIDE_DESC"
|
||||
cols="50"
|
||||
rows="5"
|
||||
filter="LanguagesHelper::filterText" />
|
||||
|
||||
<field
|
||||
name="both"
|
||||
type="checkbox"
|
||||
class="inputbox"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_BOTH_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_BOTH_DESC"
|
||||
value="true"
|
||||
filter="boolean" />
|
||||
|
||||
<field
|
||||
name="searchstring"
|
||||
type="text"
|
||||
class="inputbox"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_SEARCHSTRING_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_SEARCHSTRING_DESC"
|
||||
size="50" />
|
||||
|
||||
<field
|
||||
name="searchtype"
|
||||
type="radio"
|
||||
class="btn-group"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_SEARCHTYPE_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_SEARCHTYPE_DESC"
|
||||
default="value">
|
||||
<option value="constant">COM_LANGUAGES_OVERRIDE_FIELD_SEARCHTYPE_CONSTANT</option>
|
||||
<option value="value">COM_LANGUAGES_OVERRIDE_FIELD_SEARCHTYPE_TEXT</option>
|
||||
</field>
|
||||
|
||||
<field name="language" type="text"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_LANGUAGE_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_LANGUAGE_DESC"
|
||||
filter="unset"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
size="50"
|
||||
/>
|
||||
|
||||
<field name="client" type="text"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_CLIENT_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_CLIENT_DESC"
|
||||
filter="unset"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
size="50"
|
||||
/>
|
||||
|
||||
<field name="file" type="text"
|
||||
label="COM_LANGUAGES_OVERRIDE_FIELD_FILE_LABEL"
|
||||
description="COM_LANGUAGES_OVERRIDE_FIELD_FILE_DESC"
|
||||
filter="unset"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
size="80"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="id"
|
||||
type="hidden" />
|
||||
</fieldset>
|
||||
</form>
|
Reference in New Issue
Block a user