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

$class = $this->is_unseen?'new':($this->is_deleted?'checked':'');
?>
<tr class="<?=$class?>">
<td class="nowrap"><?=$this->key?>&nbsp;
<a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&amp;mailbox=<?=$this->mbox_name?>" title="go to folder <?=$this->mbox_name?>">
<?=basename($this->mbox_name)?>
</a>

</td>
<td class="center">
<input type="checkbox" name="key[<?=$this->mbox_name?>][]" value="<?=$this->key?>" onclick="checkbox_toggle(this,event,'<?=$this->mbox_name?>')" <?=$this->is_deleted?'checked="checked"':''?>/>
</td>

<td class="nowrap" title="<?=$this->date_print(true)?>">
<?=$this->date_print()?>
</td>

<td>
<div class="cut">
<a href="<?=$_SERVER['PHP_SELF']?>?action=read-mail&amp;mailbox=<?=$this->mbox_name?>&amp;mailkey=<?=$this->key?>" title="<?=$this->from_print(true,false)?>"><?=$this->from_print()?></a>
</div>
</td>

<td class="nowrap">
<?
$src = 'no_attach';
if($this->is_encrypted()) $src = 'encrypted';
else if($this->is_signed()) $src = 'signed';
else if($this->has_attachment()) $src = 'attachment';
?>
<img src="./images/<?=$src?>.gif" alt="<?=$src?>" title="<?=$src?>" height="15"/>&nbsp;<?=bytes2string($this->size)?>&nbsp;
</td>

<td>
<div class="cut">
<a onclick="show_message('<?=$this->mbox_name?>',<?=$this->key?>,this)" title="show preview"><img src="./images/preview.gif"/></a>
<?=$this->labels_print()?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=read-mail&amp;mailbox=<?=$this->mbox_name?>&amp;mailkey=<?=$this->key?>"><?=$this->subject_print()?></a>
</div>
</td>
</tr>
Return current item: CsWebmail