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

<?if(!$this->iffirst){?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=read-mail&amp;mailbox=<?=$this->mailbox_name?>&amp;mailkey=<?=$this->key-1?>">&laquo; previous</a>
<?}else{?>
<a class="disabled" disabled="disabled">&laquo; previous</a>
<?}?> 

&nbsp;
<?if(!$this->iflast){?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=read-mail&amp;mailbox=<?=$this->mailbox_name?>&amp;mailkey=<?=$this->key+1?>">next &raquo; </a>
<?}else{?>
<a class="disabled" disabled="disabled">next &raquo; </a>
<?}?> 

<br/>

<a href="<?=$_SERVER['PHP_SELF']?>?action=compose-reply&amp;mailbox=<?=$this->mailbox_name?>&amp;mailkey=<?=$this->key?>">reply</a>

<a href="<?=$_SERVER['PHP_SELF']?>?action=compose-reply-all&amp;mailbox=<?=$this->mailbox_name?>&amp;mailkey=<?=$this->key?>">reply all</a>

<a href="<?=$_SERVER['PHP_SELF']?>?action=compose-forward&amp;mailbox=<?=$this->mailbox_name?>&amp;mailkey=<?=$this->key?>">forward</a>
<br/>
<?if(!$this->iflast){?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=delete&amp;mailbox=<?=$this->mailbox_name?>&amp;key=<?=$this->key?>&amp;mailkey=<?=$this->key?>&amp;show-next=1">delete</a>
<?}else{?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=delete&amp;mailbox=<?=$this->mailbox_name?>&amp;key=<?=$this->key?>">delete</a>
<?}?> 

&nbsp;&nbsp;

<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
<input type="hidden" name="mailbox" value="<?=$this->mailbox_name?>"/>
<input type="hidden" name="key" value="<?=$this->key?>"/>
<?if(!$this->iflast){?>
<input type="hidden" name="mailkey" value="<?=$this->key?>"/>
<input type="hidden" name="show-next" value="1"/>
<?}?>
<input type="hidden" name="action" value="move"/>
<select name="newmailbox">
<option value="">Move to:</option>
<option value=""></option>
<?foreach($this->mailboxes_list as $k=>$m){?>
<option value="<?=$m?>"><?=$k?></option>
<?}?>
</select>
<input type="submit" value="move"/>
</form>
Return current item: CsWebmail