[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/design/base/override/templates/datatype/ -> ezbinaryfile.tpl (source)

   1  {default icon_size='normal' icon_title=$attribute.content.mime_type icon='no'}
   2  {section show=$attribute.has_content}
   3  {section show=$attribute.content}
   4  {switch match=$icon}
   5      {case match='no'}
   6          <a href={concat("content/download/",$attribute.contentobject_id,"/",$attribute.id,"/file/",$attribute.content.original_filename)|ezurl}>{$attribute.content.original_filename|wash(xhtml)}</a> {$attribute.content.filesize|si(byte)}
   7      {/case}
   8      {case}
   9          <a href={concat("content/download/",$attribute.contentobject_id,"/",$attribute.id,"/file/",$attribute.content.original_filename)|ezurl}>{$attribute.content.mime_type|mimetype_icon( $icon_size, $icon_title )} {$attribute.content.original_filename|wash(xhtml)}</a> {$attribute.content.filesize|si(byte)}
  10      {/case}
  11  {/switch}
  12  {section-else}
  13      <div class="message-error"><h2>{"The file could not be found."|i18n("design/base")}</h2></div>
  14  {/section}
  15  {/section}
  16  {/default}


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