Location: PHPKode > projects > CsWebmail > cswebmail-3.10/cswebmail-3.10/templates_mobile/LabelMailHeaders_presentation.php
<?
if(VALID_DOCUMENT != 1) die('what?');

if($this->color){
  $title = '<span style="padding: 0px 3px;background-color:white;color: '.$this->color.'">'.$this->name.' mails</span>';
}
else{
  $title = $this->name.' mails';
}
?>
<div style="<?=BIG_STYLE.BOLD_STYLE?>"><?=$title?></div>

<?if($this->count > 0){
   if(is_array($this->headers)){
     foreach($this->headers as $header)
     $header->print_table_row();
   }      
   $this->print_pages_row();
}
else{?>
<div style="<?=WARNING_STYLE?>">Empty</div>
<?}?>
Return current item: CsWebmail