[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/modules/mod_languages/ -> mod_languages.xml (source)

   1  <?xml version="1.0" encoding="utf-8"?>
   2  <extension type="module" client="site" method="upgrade">
   3      <name>mod_languages</name>
   4      <author>Joomla! Project</author>
   5      <creationDate>2010-02</creationDate>
   6      <copyright>(C) 2010 Open Source Matters, Inc.</copyright>
   7      <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
   8      <authorEmail>[email protected]</authorEmail>
   9      <authorUrl>www.joomla.org</authorUrl>
  10      <version>3.5.0</version>
  11      <description>MOD_LANGUAGES_XML_DESCRIPTION</description>
  12      <namespace path="src">Joomla\Module\Languages</namespace>
  13      <files>
  14          <filename module="mod_languages">mod_languages.php</filename>
  15          <folder>src</folder>
  16          <folder>tmpl</folder>
  17      </files>
  18      <languages>
  19          <language tag="en-GB">language/en-GB/mod_languages.ini</language>
  20          <language tag="en-GB">language/en-GB/mod_languages.sys.ini</language>
  21      </languages>
  22      <help key="Site_Modules:_Language_Switcher" />
  23      <config>
  24          <fieldset>
  25              <field
  26                  name="language"
  27                  type="list"
  28                  label="JFIELD_LANGUAGE_LABEL"
  29                  description="JFIELD_MODULE_LANGUAGE_DESC"
  30                  validate="options"
  31                  >
  32                  <option value="*">JALL</option>
  33              </field>
  34          </fieldset>
  35          <fields name="params">
  36              <fieldset name="basic">
  37                  <field
  38                      name="header_text"
  39                      type="textarea"
  40                      label="MOD_LANGUAGES_FIELD_HEADER_LABEL"
  41                      filter="safehtml"
  42                      rows="3"
  43                      cols="40"
  44                  />
  45  
  46                  <field
  47                      name="footer_text"
  48                      type="textarea"
  49                      label="MOD_LANGUAGES_FIELD_FOOTER_LABEL"
  50                      filter="safehtml"
  51                      rows="3"
  52                      cols="40"
  53                  />
  54  
  55                  <field
  56                      name="dropdown"
  57                      type="radio"
  58                      layout="joomla.form.field.radio.switcher"
  59                      label="MOD_LANGUAGES_FIELD_DROPDOWN_LABEL"
  60                      default="0"
  61                      filter="integer"
  62                      >
  63                      <option value="0">JNO</option>
  64                      <option value="1">JYES</option>
  65                  </field>
  66  
  67                  <field
  68                      name="dropdownimage"
  69                      type="radio"
  70                      layout="joomla.form.field.radio.switcher"
  71                      label="MOD_LANGUAGES_FIELD_DROPDOWN_IMAGE_LABEL"
  72                      default="1"
  73                      filter="integer"
  74                      showon="dropdown:1"
  75                      >
  76                      <option value="0">JNO</option>
  77                      <option value="1">JYES</option>
  78                  </field>
  79  
  80                  <field
  81                      name="image"
  82                      type="radio"
  83                      layout="joomla.form.field.radio.switcher"
  84                      label="MOD_LANGUAGES_FIELD_USEIMAGE_LABEL"
  85                      default="1"
  86                      filter="integer"
  87                      showon="dropdown:0"
  88                      >
  89                      <option value="0">JNO</option>
  90                      <option value="1">JYES</option>
  91                  </field>
  92  
  93                  <field
  94                      name="full_name"
  95                      type="radio"
  96                      layout="joomla.form.field.radio.switcher"
  97                      label="MOD_LANGUAGES_FIELD_FULL_NAME_LABEL"
  98                      showon="dropdown:1[OR]image:0"
  99                      default="1"
 100                      filter="integer"
 101                      >
 102                      <option value="0">JNO</option>
 103                      <option value="1">JYES</option>
 104                  </field>
 105  
 106                  <field
 107                      name="show_active"
 108                      type="radio"
 109                      layout="joomla.form.field.radio.switcher"
 110                      label="MOD_LANGUAGES_FIELD_ACTIVE_LABEL"
 111                      default="1"
 112                      showon="dropdownimage:1[OR]dropdown:0"
 113                      filter="integer"
 114                      >
 115                      <option value="0">JNO</option>
 116                      <option value="1">JYES</option>
 117                  </field>
 118  
 119                  <field
 120                      name="inline"
 121                      type="radio"
 122                      layout="joomla.form.field.radio.switcher"
 123                      label="MOD_LANGUAGES_FIELD_INLINE_LABEL"
 124                      default="1"
 125                      filter="integer"
 126                      showon="dropdown:0"
 127                      >
 128                      <option value="0">JNO</option>
 129                      <option value="1">JYES</option>
 130                  </field>
 131              </fieldset>
 132              <fieldset name="advanced">
 133                  <field
 134                      name="layout"
 135                      type="modulelayout"
 136                      label="JFIELD_ALT_LAYOUT_LABEL"
 137                      class="form-select"
 138                      validate="moduleLayout"
 139                  />
 140  
 141                  <field
 142                      name="moduleclass_sfx"
 143                      type="textarea"
 144                      label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
 145                      rows="3"
 146                      validate="CssIdentifier"
 147                  />
 148              </fieldset>
 149          </fields>
 150      </config>
 151  </extension>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer