[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/design/admin/templates/collaboration/handlers/view/line/ -> ezapprove.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {let content_version=fetch("content","version",hash("object_id",$item.content.content_object_id,"version_id",$item.content.content_object_version,))
   3       item_text=""
   4       object_name=cond( and( is_set( $content_version.name ), $content_version.name ),
   5                         $content_version.name,
   6                         "The content object %1 [deleted]"|i18n( 'design/admin/collaboration/handler/view/line/ezapprove', ,
   7                                                                 array( concat( $item.content.content_object_id ) ) ) )}
   8  {switch match=$item.data_int3}
   9  {case match=0}
  10      {section show=$item.is_creator}
  11          {set item_text="%1 awaits approval by editor"|i18n('design/admin/collaboration/handler/view/line/ezapprove',,array(concat("<i>",$object_name|wash,"</i>")))}
  12      {section-else}
  13          {set item_text="%1 awaits your approval"|i18n('design/admin/collaboration/handler/view/line/ezapprove',,array(concat("<i>",$object_name|wash,"</i>")))}
  14      {/section}
  15  {/case}
  16  {case match=1}
  17      {set item_text="%1 was approved for publishing"|i18n('design/admin/collaboration/handler/view/line/ezapprove',,array(concat("<i>",$object_name|wash,"</i>")))}
  18  {/case}
  19  {case in=array(2,3)}
  20      {set item_text="%1 was not approved for publishing"|i18n('design/admin/collaboration/handler/view/line/ezapprove',,array(concat("<i>",$object_name|wash,"</i>")))}
  21  {/case}
  22  {case/}
  23  {/switch}
  24  <p class="{$:item_class}"><a class="{$:item_class}" href={concat("collaboration/item/full/",$:item.id)|ezurl}>{$item_text}</a></p>
  25  {/let}


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