[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {default attribute_base=ContentObjectAttribute} 3 4 {* Current file. *} 5 <div class="block"> 6 <label>{'Current file'|i18n( 'design/standard/content/datatype' )}:</label> 7 {section show=$attribute.content} 8 <table class="list" cellspacing="0"> 9 <tr> 10 <th>{'Filename'|i18n( 'design/standard/content/datatype' )}</th> 11 <th>{'MIME type'|i18n( 'design/standard/content/datatype' )}</th> 12 <th>{'Size'|i18n( 'design/standard/content/datatype' )}</th> 13 </tr> 14 <tr> 15 <td>{$attribute.content.original_filename|wash( xhtml )}</td> 16 <td>{$attribute.content.mime_type|wash( xhtml )}</td> 17 <td>{$attribute.content.filesize|si( byte )}</td> 18 </tr> 19 </table> 20 {section-else} 21 <p>{'There is no file.'|i18n( 'design/standard/content/datatype' )}</p> 22 {/section} 23 24 {section show=$attribute.content} 25 <input class="button" type="submit" name="CustomActionButton[{$attribute.id}_delete_binary]" value="{'Remove'|i18n( 'design/standard/content/datatype' )}" title="{'Remove the file from this draft.'|i18n( 'design/standard/content/datatype' )}" /> 26 {section-else} 27 <input class="button-disabled" type="submit" name="CustomActionButton[{$attribute.id}_delete_binary]" value="{'Remove'|i18n( 'design/standard/content/datatype' )}" disabled="disabled" /> 28 {/section} 29 </div> 30 31 {* New file. *} 32 <div class="block"> 33 <label>{'New file for upload'|i18n( 'design/standard/content/datatype' )}:</label> 34 <input type="hidden" name="MAX_FILE_SIZE" value="{$attribute.contentclass_attribute.data_int1}000000"/> 35 <input id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="box ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" name="{$attribute_base}_data_binaryfilename_{$attribute.id}" type="file" /> 36 </div> 37 38 {/default}
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 |