示例#1
0
文件: mail.php 项目: esorone/efcpw
 public function listSend($recipient, $level = 0, $people = null)
 {
     $number = 0;
     $list_send = '';
     foreach ($recipient as $key => $value) {
         if (is_array($value) | is_object($value)) {
             parent::listArray($value, $level += 1);
         } else {
             //				$number = ($key + 1);
             $number = $number + 1;
             $list_send .= str_repeat(" ", $level * 3);
             $list_send .= $number . " : " . $value . "<br>";
         }
     }
     //		$list_send.= '<div>&nbsp;</div>';
     $list_send .= '<h4>' . JText::_('COM_ICAGENDA_NEWSLETTER_NB_EMAIL_SEND') . ' = ' . $number . '';
     $list_send .= '<small> (' . JText::_('COM_ICAGENDA_REGISTRATION_TICKETS') . ': ' . $people . ')</small></h4>';
     return $list_send;
 }