[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 #?ini charset="iso-8859-1"? 2 # eZ publish configuration file for content browsing. 3 # 4 # NOTE: It is not recommended to edit this files directly, instead 5 # a file in override should be created for setting the 6 # values that is required for your site. Either create 7 # a file called settings/override/upload.ini.append or 8 # settings/override/upload.ini.append.php for more security 9 # in non-virtualhost modes (the .php file may already be present 10 # and can be used for this purpose). 11 12 # Settings for the upload page. 13 # For start nodes and top level nodes it is possible to use text aliases 14 # You can use the following aliases: 15 # content - Represents the content root node defined NodeSettings/RootNode in content.ini, usually 2 16 # users - Represents the users root node defined NodeSettings/UserRootNode in content.ini, usually 5 17 # Other aliases are also possible by defining them in AliasList below 18 19 [UploadSettings] 20 DefaultReturnType=NodeID 21 22 # A map of node aliases to node ids, here it's possible to define custom alias names 23 # It maps from the alias name to a node ID 24 AliasList[] 25 26 [LocationSettings] 27 # A list of class identifiers that should be included in the location dropdown 28 ClassList[] 29 ClassList[]=folder 30 31 # Which root node to fetch locations from 32 # Either use a node ID or a node path (e.g. media ) 33 # - content - The content structure 34 # - users - The user tree 35 # - media - Media tree for images, files and media 36 RootNode=media 37 38 # The maximum number of levels to look for objects 39 # A depth of 1 means direct descendants 40 MaxDepth=3 41 # The maxium number of elements in the drop down 42 # Setting it too high might slow down the system and make the dropdown hard to use. 43 # A number between 10 to 30 is OK. 44 MaxItems=30 45 46 [CreateSettings] 47 # Maps from a mime-type or mime-group to a class identifier 48 MimeClassMap[] 49 MimeClassMap[image]=image 50 MimeClassMap[video/quicktime]=quicktime 51 MimeClassMap[video/x-msvideo]=windows_media 52 MimeClassMap[video/vnd.rn-realvideo]=real_video 53 MimeClassMap[application/vnd.rn-realmedia]=real_video 54 MimeClassMap[application/x-shockwave-flash]=flash 55 56 # Maps from MIME-Type to the name of an upload handler 57 # If the handler is found for the given MIME-Type it will be 58 # used instead of the normal attribute based upload. 59 # The syntax is 60 # MimeUploadHandlerMap[<mime-type>]=<handler_identifier> 61 # The <handler_identifier> will be used for the class name as well 62 # as the filename of the PHP file. 63 # The <mime_type> can either be specified by the full MIME-Type like 64 # MimeUploadHandlerMap[image/jpeg] 65 # with just the group 66 # MimeUploadHandlerMap[image] 67 # By using just the group the handler can take care of a whole set of mime-types 68 MimeUploadHandlerMap[] 69 # Example of OpenOffice.org handling 70 # MimeUploadHandlerMap[application/vnd.sun.xml.writer]=ezopenofficeupload 71 # The system will then look for ezopenofficeupload.php 72 73 # The class for all files that are not recognized. 74 # The default is to use the file class 75 DefaultClass=file 76 77 # 78 # Consists of the class identifier name with _ClassSettings appended 79 # This example is the for 'image' identifier. 80 # [image_ClassSettings] 81 # 82 # The class attribute identifier which will get the file data 83 # FileAttribute=image 84 # 85 # The class attribute identifier which will get the name, 86 # the name is calculated using NamePattern 87 # NameAttribute=name 88 # 89 # A pattern that defines the name of the object, it is 90 # contains text and tags enclosed in < and >. 91 # Available tags are: 92 # - original_filename: The filename of the uploaded file like it was on the locale machine 93 # - original_filename_base: Like original_filename but has just the base of the name (i.e no suffix) 94 # - original_filename_suffix: Like original_filename but has just suffix 95 # - mime_type: The detected MIME-Type of the file 96 # NamePattern=<original_filename_base> 97 98 [image_ClassSettings] 99 FileAttribute=image 100 NameAttribute=name 101 NamePattern=<original_filename_base> 102 103 [file_ClassSettings] 104 FileAttribute=file 105 NameAttribute=name 106 NamePattern=<original_filename_base> 107 108 [quicktime_ClassSettings] 109 FileAttribute=file 110 NameAttribute=name 111 NamePattern=<original_filename_base> 112 113 [real_video_ClassSettings] 114 FileAttribute=file 115 NameAttribute=name 116 NamePattern=<original_filename_base> 117 118 [windows_media_ClassSettings] 119 FileAttribute=file 120 NameAttribute=name 121 NamePattern=<original_filename_base> 122 123 [flash_ClassSettings] 124 FileAttribute=file 125 NameAttribute=name 126 NamePattern=<original_filename_base> 127 128 # Example of action, the group name is named just what the action is named 129 # [ExampleAction] 130 # # The navigation part to use for the page (optional) 131 # NavigationPartIdentifier=ezcontentnavigationpart 132 # # The type of the return values, possible values are: 133 # # NodeID - Returns the node ids of the selected items 134 # # ObjectID - Returns the object ids of the selected items 135 # ReturnType=NodeID 136 137 # # An array with nodes where the object should be placed (optional) 138 # # Each entry is either an alias or the node ID. 139 # # Aliases can be defined in the AliasList variable at the top of this file 140 # # or one of the system defined aliases can be used. 141 # # The system defined aliases are: 142 # # content, users, media, setup 143 # ParentNodes[] 144 # ParentNodes[]=media 145 146 147 # Action used when uploading a new file as related object 148 [RelatedObjectUpload] 149 ReturnType=ObjectID 150 151 [BugFileUpload] 152 NavigationPartIdentifier=ezsetupnavigationpart
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |