[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_media/ -> config.xml (source)

   1  <?xml version="1.0" encoding="utf-8"?>
   2  <config>
   3      <fieldset name="component">
   4          <field
   5              name="upload_extensions"
   6              type="text"
   7              size="50"
   8              default="bmp,csv,doc,gif,ico,jpg,jpeg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,GIF,ICO,JPG,JPEG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS"
   9              label="COM_MEDIA_FIELD_LEGAL_EXTENSIONS_LABEL"
  10              description="COM_MEDIA_FIELD_LEGAL_EXTENSIONS_DESC" />
  11  
  12          <field
  13              name="upload_maxsize"
  14              type="text"
  15              size="50"
  16              default="10"
  17              label="COM_MEDIA_FIELD_MAXIMUM_SIZE_LABEL"
  18              description="COM_MEDIA_FIELD_MAXIMUM_SIZE_DESC" />
  19  
  20          <field name="spacer1" type="spacer"
  21              hr="true"
  22          />
  23  
  24          <field name="spacer2" type="spacer" class="text"
  25              label="COM_MEDIA_FOLDERS_PATH_LABEL"
  26          />
  27  
  28          <field
  29              name="file_path"
  30              type="text"
  31              size="50"
  32              default="images"
  33              label="COM_MEDIA_FIELD_PATH_FILE_FOLDER_LABEL"
  34              description="COM_MEDIA_FIELD_PATH_FILE_FOLDER_DESC" />
  35  
  36          <field
  37              name="image_path"
  38              type="text"
  39              size="50"
  40              default="images"
  41              label="COM_MEDIA_FIELD_PATH_IMAGE_FOLDER_LABEL"
  42              description="COM_MEDIA_FIELD_PATH_IMAGE_FOLDER_DESC" />
  43  
  44          <field name="spacer3" type="spacer"
  45              hr="true"
  46          />
  47  
  48          <field
  49              name="restrict_uploads"
  50              type="radio"
  51              default="1"
  52              label="COM_MEDIA_FIELD_RESTRICT_UPLOADS_LABEL"
  53              description="COM_MEDIA_FIELD_RESTRICT_UPLOADS_DESC">
  54              <option
  55                  value="0">JNO</option>
  56              <option
  57                  value="1">JYES</option>
  58          </field>
  59  
  60          <field
  61              name="check_mime"
  62              type="radio"
  63              default="1"
  64              label="COM_MEDIA_FIELD_CHECK_MIME_LABEL"
  65              description="COM_MEDIA_FIELD_CHECK_MIME_DESC">
  66              <option
  67                  value="0">JNO</option>
  68              <option
  69                  value="1">JYES</option>
  70          </field>
  71  
  72          <field
  73              name="image_extensions"
  74              type="text"
  75              size="50"
  76              default="bmp,gif,jpg,png"
  77              label="COM_MEDIA_FIELD_LEGAL_IMAGE_EXTENSIONS_LABEL"
  78              description="COM_MEDIA_FIELD_LEGAL_IMAGE_EXTENSIONS_DESC" />
  79  
  80          <field
  81              name="ignore_extensions"
  82              type="text"
  83              size="50"
  84              label="COM_MEDIA_FIELD_IGNORED_EXTENSIONS_LABEL"
  85              description="COM_MEDIA_FIELD_IGNORED_EXTENSIONS_DESC" />
  86  
  87          <field
  88              name="upload_mime"
  89              type="text"
  90              size="50"
  91              default="image/jpeg,image/gif,image/png,image/bmp,application/x-shockwave-flash,application/msword,application/excel,application/pdf,application/powerpoint,text/plain,application/x-zip"
  92              label="COM_MEDIA_FIELD_LEGAL_MIME_TYPES_LABEL"
  93              description="COM_MEDIA_FIELD_LEGAL_MIME_TYPES_DESC" />
  94  
  95          <field
  96              name="upload_mime_illegal"
  97              type="text"
  98              size="50"
  99              default="text/html"
 100              label="COM_MEDIA_FIELD_ILLEGAL_MIME_TYPES_LABEL"
 101              description="COM_MEDIA_FIELD_ILLEGAL_MIME_TYPES_DESC" />
 102  
 103          <field
 104              name="enable_flash"
 105              type="radio"
 106              default="0"
 107              label="COM_MEDIA_FIELD_ENABLE_FLASH_UPLOADER_LABEL"
 108              description="COM_MEDIA_FIELD_ENABLE_FLASH_UPLOADER_DESC">
 109              <option
 110                  value="0">JNO</option>
 111              <option
 112                  value="1">JYES</option>
 113          </field>
 114      </fieldset>
 115  
 116      <fieldset
 117          name="permissions"
 118          label="JCONFIG_PERMISSIONS_LABEL"
 119          description="JCONFIG_PERMISSIONS_DESC"
 120          >
 121  
 122          <field
 123              name="rules"
 124              type="rules"
 125              label="JCONFIG_PERMISSIONS_LABEL"
 126              filter="rules"
 127              validate="rules"
 128              component="com_media"
 129              section="component">
 130              <action
 131                  name="core.admin"
 132                  title="JACTION_ADMIN"
 133                  description="JACTION_ADMIN_COMPONENT_DESC" />
 134              <action
 135                  name="core.manage"
 136                  title="JACTION_MANAGE"
 137                  description="JACTION_MANAGE_COMPONENT_DESC" />
 138              <action
 139                  name="core.create"
 140                  title="JACTION_CREATE"
 141                  description="JACTION_CREATE_COMPONENT_DESC" />
 142              <action
 143                  name="core.delete"
 144                  title="JACTION_DELETE"
 145                  description="JACTION_DELETE_COMPONENT_DESC" />
 146          </field>
 147      </fieldset>
 148  </config>


Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1