[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {def $state=array( 'old', 'new' ) 3 $counter=0} 4 {foreach array( $diff.old_content, $diff.new_content ) as $attr} 5 {if $attr.content.filename} 6 <div class="block"> 7 <label>{'Type'|i18n( 'design/standard/content/datatype' )}:</label> 8 <p> 9 {switch match=$attr.contentclass_attribute.data_text1} 10 {case match=flash}{'Flash'|i18n( 'design/standard/content/datatype' )}{/case} 11 {case match=quick_time}{'QuickTime'|i18n( 'design/standard/content/datatype' )}{/case} 12 {case match=real_player}{'Real player'|i18n( 'design/standard/content/datatype' )}{/case} 13 {case match=windows_media_player}{'Windows media player'|i18n( 'design/standard/content/datatype' )}{/case} 14 {case}{'Unknown'|i18n( 'design/standard/content/datatype' )}{/case} 15 {/switch} 16 </p> 17 </div> 18 19 {switch match=$attr.contentclass_attribute.data_text1} 20 {case match=flash} 21 <div class="attribute-view-diff-{$state[$counter]}"> 22 {set $counter=inc( $counter )} 23 <label>{'Version %ver'|i18n( 'design/standard/content/datatype',, hash( '%ver', $attr.version ) )}:</label> 24 <table class="list" cellspacing="0"> 25 <tr> 26 <th>{'Filename'|i18n( 'design/standard/content/datatype' )}</th> 27 <th>{'MIME type'|i18n( 'design/standard/content/datatype' )}</th> 28 <th>{'Size'|i18n( 'design/standard/content/datatype' )}</th> 29 <th>{'Width'|i18n( 'design/standard/content/datatype' )}</th> 30 <th>{'Height'|i18n( 'design/standard/content/datatype' )}</th> 31 <th>{'Quality'|i18n( 'design/standard/content/datatype' )}</th> 32 <th>{'Autoplay'|i18n( 'design/standard/content/datatype' )}</th> 33 <th>{'Loop'|i18n( 'design/standard/content/datatype' )}</th> 34 </tr> 35 <tr> 36 <td>{$attr.content.original_filename}</td> 37 <td>{$attr.content.mime_type}</td> 38 <td>{$attr.content.filesize|si( byte )}</td> 39 <td>{if $attr.content.width|gt( 0 )}{$attr.content.width}{/if}</td> 40 <td>{if $attr.content.height|gt( 0 )}{$attr.content.height}{/if}</td> 41 <td>{$attr.content.quality}</td> 42 <td>{if $attr.content.is_autoplay}True{else}False{/if}</td> 43 <td>{if $attr.content.is_loop}True{else}False{/if}</td> 44 </tr> 45 </table> 46 </div> 47 48 {/case} 49 50 {case match=quick_time} 51 <div class="block"> 52 <label>{'Current file'|i18n( 'design/standard/content/datatype' )}:</label> 53 <table class="list" cellspacing="0"> 54 <tr> 55 <th>{'Filename'|i18n( 'design/standard/content/datatype' )}</th> 56 <th>{'MIME type'|i18n( 'design/standard/content/datatype' )}</th> 57 <th>{'Size'|i18n( 'design/standard/content/datatype' )}</th> 58 <th>{'Width'|i18n( 'design/standard/content/datatype' )}</th> 59 <th>{'Height'|i18n( 'design/standard/content/datatype' )}</th> 60 <th>{'Quality'|i18n( 'design/standard/content/datatype' )}</th> 61 <th>{'Autoplay'|i18n( 'design/standard/content/datatype' )}</th> 62 <th>{'Loop'|i18n( 'design/standard/content/datatype' )}</th> 63 <th>{'Controller'|i18n( 'design/standard/content/datatype' )}</th> 64 </tr> 65 <tr> 66 <td>{$attr.content.original_filename}</td> 67 <td>{$attr.content.mime_type}</td> 68 <td>{$attr.content.filesize|si( byte )}</td> 69 <td>{if $attr.content.width|gt( 0 )}{$attr.content.width}{/if}</td> 70 <td>{if $attr.content.height|gt( 0 )}{$attr.content.height}{/if}</td> 71 <td>{$attr.content.quality}</td> 72 <td>{if $attr.content.is_autoplay}True{else}False{/if}</td> 73 <td>{if $attr.content.is_loop}True{else}False{/if}</td> 74 <td>{if $attr.content.has_controller}True{else}False{/if}</td> 75 </tr> 76 </table> 77 </div> 78 {/case} 79 80 {case match=windows_media_player} 81 <div class="block"> 82 <label>{'Current file'|i18n( 'design/standard/content/datatype' )}:</label> 83 <table class="list" cellspacing="0"> 84 <tr> 85 <th>{'Filename'|i18n( 'design/standard/content/datatype' )}</th> 86 <th>{'MIME type'|i18n( 'design/standard/content/datatype' )}</th> 87 <th>{'Size'|i18n( 'design/standard/content/datatype' )}</th> 88 <th>{'Width'|i18n( 'design/standard/content/datatype' )}</th> 89 <th>{'Height'|i18n( 'design/standard/content/datatype' )}</th> 90 <th>{'Quality'|i18n( 'design/standard/content/datatype' )}</th> 91 <th>{'Autoplay'|i18n( 'design/standard/content/datatype' )}</th> 92 <th>{'Loop'|i18n( 'design/standard/content/datatype' )}</th> 93 <th>{'Controller'|i18n( 'design/standard/content/datatype' )}</th> 94 </tr> 95 <tr> 96 <td>{$attr.content.original_filename}</td> 97 <td>{$attr.content.mime_type}</td> 98 <td>{$attr.content.filesize|si( byte )}</td> 99 <td>{if $attr.content.width|gt( 0 )}{$attr.content.width}{/if}</td> 100 <td>{if $attr.content.height|gt( 0 )}{$attr.content.height}{/if}</td> 101 <td>{$attr.content.quality}</td> 102 <td>{if $attr.content.is_autoplay}True{else}False{/if}</td> 103 <td>{if $attr.content.is_loop}True{else}False{/if}</td> 104 <td>{if $attr.content.has_controller}True{else}False{/if}</td> 105 </tr> 106 </table> 107 </div> 108 {/case} 109 110 {case match=real_player} 111 <div class="block"> 112 <label>{'Current file'|i18n( 'design/standard/content/datatype' )}:</label> 113 <table class="list" cellspacing="0"> 114 <tr> 115 <th>{'Filename'|i18n( 'design/standard/content/datatype' )}</th> 116 <th>{'MIME type'|i18n( 'design/standard/content/datatype' )}</th> 117 <th>{'Size'|i18n( 'design/standard/content/datatype' )}</th> 118 <th>{'Width'|i18n( 'design/standard/content/datatype' )}</th> 119 <th>{'Height'|i18n( 'design/standard/content/datatype' )}</th> 120 <th>{'Quality'|i18n( 'design/standard/content/datatype' )}</th> 121 <th>{'Autoplay'|i18n( 'design/standard/content/datatype' )}</th> 122 <th>{'Loop'|i18n( 'design/standard/content/datatype' )}</th> 123 <th>{'Controls'|i18n( 'design/standard/content/datatype' )}</th> 124 </tr> 125 <tr> 126 <td>{$attr.content.original_filename}</td> 127 <td>{$attr.content.mime_type}</td> 128 <td>{$attr.content.filesize|si( byte )}</td> 129 <td>{if $attr.content.width|gt( 0 )}{$attr.content.width}{/if}</td> 130 <td>{if $attr.content.height|gt( 0 )}{$attr.content.height}{/if}</td> 131 <td>{$attr.content.quality}</td> 132 <td>{if $attr.content.is_autoplay}True{else}False{/if}</td> 133 <td>{if $attr.content.is_loop}True{else}False{/if}</td> 134 <td>{$attr.content.controls}</td> 135 </tr> 136 </table> 137 </div> 138 {/case} 139 {/switch} 140 141 {else} 142 <div class="block"> 143 <label>{'Version %ver'|i18n( 'design/standard/content/datatype',, hash( '%ver', $attr.version ) )}:</label> 144 {'No media file is available.'|i18n( 'design/standard/content/datatype' )} 145 </div> 146 {/if} 147 {/foreach}
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 |