[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/content/datatype/diff/ -> ezimage.tpl (source)

   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      <div class="attribute-view-diff-{$state[$counter]}">
   6      {set $counter=inc( $counter )}
   7      <label>{'Image version %ver'|i18n( 'design/standard/content/datatype',, hash( '%ver', $attr.version ) )}:</label>
   8      {if $attr.content.original.is_valid}
   9          <table class="list" cellspacing="0">
  10          <tr>
  11              <th class="tight">{'Preview'|i18n( 'design/standard/content/datatype' )}</th>
  12              <th>{'Filename'|i18n( 'design/standard/content/datatype' )}</th>
  13              <th>{'MIME type'|i18n( 'design/standard/content/datatype' )}</th>
  14              <th>{'Size'|i18n( 'design/standard/content/datatype' )}</th>
  15          </tr>
  16          <tr>
  17              <td>{attribute_view_gui image_class=small attribute=$attr}</td>
  18              <td>{$attr.content.original.original_filename|wash( xhtml )}</td>
  19              <td>{$attr.content.original.mime_type|wash( xhtml )}</td>
  20              <td>{$attr.content.original.filesize|si( byte )}</td>
  21          </tr>
  22          </table>
  23          <label>{'Alternative image text'|i18n( 'design/standard/content/datatype' )}:</label>
  24          <p>{$attr.content.alternative_text|wash( xhtml )}</p>
  25      {else}
  26          <p>{'There is no image file.'|i18n( 'design/standard/content/datatype' )}</p>
  27      {/if}
  28      </div>
  29  {/foreach}


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7