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

<tr>
<td colspan="6">
<input type="button" value="check all" onclick="setChecked(this.form,'key',1)"/>

<input type="button" value="clear all" onclick="setChecked(this.form,'key',0)"/>
<input type="button" value="refresh" onclick="window.location.reload(true)"/>
&nbsp;

<select onchange="set_label(this.form,this[this.selectedIndex].value,true)">
<option class="italic">Set label :</option>
<?foreach($_SESSION['labels']->get_labels() as $k=>$l){?>
<option value="<?=$k?>" style="color: <?=$l['color']?>"><?=$l['name']?></option>
<?}?>
</select>

<select onchange="set_label(this.form,this[this.selectedIndex].value,false)">
<option class="italic">Remove label :</option>
<?foreach($_SESSION['labels']->get_labels() as $k=>$l){?>
<option value="<?=$k?>" style="color: <?=$l['color']?>"><?=$l['name']?></option>
<?}?>
</select>


<select onchange="move_messages(this.form,this[this.selectedIndex].value)">
<option class="italic">Move to :</option>
<?foreach($this->mailboxes_list as $k=>$v){?>
<option value="<?=$v?>"><?=$k?></option>
<?}?>
</select>
<input type="checkbox" name="copy" value="ok"/><spam class="small">copy</span>

&nbsp;

<input type="button" value="delete" onclick="action.value='delete';action_confirm(this.form,'Are you sure to delete ?')"/>
<input type="button" value="spam" onclick="action.value='spam';action_confirm(this.form,'Are you sure that its spam ?')"/>

<?if(strtolower(get_class($this)) == 'mailheaders'){?>
<?if($this->view == 'thread'){?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&mailbox=<?=$this->name?>&view=list">view as list</a>
<?}else{?>
<a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&mailbox=<?=$this->name?>&view=thread">view as threads</a>
<?}?>
<?}?>

</td>
</tr>
Return current item: CsWebmail