Show
Ignore:
Timestamp:
10/01/08 13:27:51 (3 months ago)
Author:
gen
Message:

やくみつる

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/akelos/trunk/tmp/views/app/views/help/compiled/_what_is_phwittr.tpl.php

    r20124 r20359  
    22<ul> 
    33  <?php  
    4  empty($endosers) ? null : $endoser_loop_counter = 0; 
    5  empty($endosers) ? null : $endosers_available = count($endosers); 
    6  if(!empty($endosers)) 
    7      foreach ($endosers as $endoser_loop_key=>$endoser){ 
    8          $endoser_loop_counter++; 
    9          $endoser_is_first = $endoser_loop_counter === 1; 
    10          $endoser_is_last = $endoser_loop_counter === $endosers_available; 
    11          $endoser_odd_position = $endoser_loop_counter%2; 
     4 empty($introductions) ? null : $introduction_loop_counter = 0; 
     5 empty($introductions) ? null : $introductions_available = count($introductions); 
     6 if(!empty($introductions)) 
     7     foreach ($introductions as $introduction_loop_key=>$introduction){ 
     8         $introduction_loop_counter++; 
     9         $introduction_is_first = $introduction_loop_counter === 1; 
     10         $introduction_is_last = $introduction_loop_counter === $introductions_available; 
     11         $introduction_odd_position = $introduction_loop_counter%2; 
    1212?> 
    1313  <li> 
    1414    <blockquote> 
    15       <p><?php echo $endoser->body; ?></p> 
     15      <p><?php echo empty($introduction->body) || is_object($introduction->body) ? '' : $text_helper->translate($introduction->body); ?></p> 
    1616    </blockquote> 
    17     <cite class="vcard"><?php echo $endoser->author; ?></cite> 
     17    <cite class="vcard"><?php echo empty($introduction->author) || is_object($introduction->author) ? '' : $text_helper->translate($introduction->author); ?></cite> 
    1818  </li> 
    1919  <?php } ?>