1<div class="horde-buttonbar">
2 <ul class="rightFloat">
3  <li class="horde-nobutton">
4<?php if ($this->multiple_page): ?>
5   <form method="post" class="imp-navbar" action="<?php echo $this->mailbox_url ?>">
6    <input type="hidden" name="mailbox" value="<?php echo $this->mailbox ?>" />
7<?php if ($this->url_first): ?>
8    <a href="<?php echo $this->url_first ?>" title="<?php echo _("First Page") ?>"><span class="iconImg <?php echo $this->pages_first ?>"></span></a>
9<?php else: ?>
10    <span class="iconImg <?php echo $this->pages_first ?>"></span>
11<?php endif; ?>
12<?php if ($this->url_prev): ?>
13    <a href="<?php echo $this->url_prev ?>" title="<?php echo _("Previous Page") ?>"><span class="iconImg <?php echo $this->pages_prev ?>"></span></a>
14<?php else: ?>
15    <span class="iconImg <?php echo $this->pages_prev ?>"></span>
16<?php endif; ?>
17    <label for="mpage<?php echo $this->id ?>" class="hidden"><?php echo _("Page") ?>:</label>
18    <input type="text" id="mpage<?php echo $this->id ?>" name="mpage" value="<?php echo $this->escape($this->page_val) ?>" size="<?php echo $this->page_size ?>" />
19<?php if ($this->url_next): ?>
20    <a href="<?php echo $this->url_next ?>" title="<?php echo _("Next Page") ?>"><span class="iconImg <?php echo $this->pages_next ?>"></span></a>
21<?php else: ?>
22    <span class="iconImg <?php echo $this->pages_next ?>"></span>
23<?php endif; ?>
24<?php if ($this->url_last): ?>
25    <a href="<?php echo $this->url_last ?>" title="<?php echo _("Last Page") ?>"><span class="iconImg <?php echo $this->pages_last ?>"></span></a>
26<?php else: ?>
27    <span class="iconImg <?php echo $this->pages_last ?>"></span>
28<?php endif; ?>
29    </form>
30<?php endif; ?>
31  </li>
32 </ul>
33<?php if (!$this->readonly): ?>
34 <ul>
35<?php if ($this->flaglist_set): ?>
36  <li>
37   <form class="navbarselect">
38    <label for="flag<?php echo $this->id ?>" class="hidden"><?php echo _("Mark Messages") ?></label>
39    <select id="flag<?php echo $this->id ?>" name="flag">
40     <option value="" selected="selected"><?php echo _("Mark Messages") ?></option>
41     <option value="" disabled="disabled">- - - - - - - -</option>
42     <option class="actionsSelectSection" value=""><?php echo _("Mark as:") ?></option>
43<?php foreach ($this->flaglist_set as $v): ?>
44     <option value="<?php echo $v['f'] ?>">&nbsp;&nbsp;<?php echo $this->escape($v['l']) ?></option>
45<?php endforeach; ?>
46     <option value="" disabled="disabled">- - - - - - - -</option>
47     <option class="actionsSelectSection" value=""><?php echo _("Unmark as:") ?></option>
48<?php foreach ($this->flaglist_unset as $v): ?>
49     <option value="<?php echo $v['f'] ?>">&nbsp;&nbsp;<?php echo $this->escape($v['l']) ?></option>
50<?php endforeach; ?>
51    </select>
52   </form>
53  </li>
54<?php endif; ?>
55<?php if ($this->filtermsg): ?>
56  <li>
57   <form class="navbarselect">
58    <label for="filter<?php echo $this->id ?>" class="hidden"><?php echo _("Filter Messages") ?></label>
59    <select id="filter<?php echo $this->id ?>" name="filter">
60     <option value="" selected="selected"><?php echo _("Filter Messages") ?></option>
61<?php if ($this->flag_filter): ?>
62     <option value="" disabled="disabled">- - - - - - - -</option>
63     <option class="actionsSelectSection" value=""><?php echo _("Show Only:") ?></option>
64<?php foreach ($this->flaglist_set as $v): ?>
65     <option value="<?php echo $v['v'] ?>">&nbsp;&nbsp;<?php echo $this->escape($v['l']) ?></option>
66<?php endforeach; ?>
67      <option value="" disabled="disabled">- - - - - - - -</option>
68      <option class="actionsSelectSection" value=""><?php echo _("Don't Show:") ?></option>
69<?php foreach ($this->flaglist_unset as $v): ?>
70     <option value="<?php echo $v['v'] ?>">&nbsp;&nbsp;<?php echo $this->escape($v['l']) ?></option>
71<?php endforeach; ?>
72<?php endif; ?>
73<?php if ($this->filters): ?>
74     <option value="" disabled="disabled">- - - - - - - -</option>
75<?php foreach ($this->filters as $v): ?>
76     <option value="<?php echo $v['v'] ?>">&nbsp;&nbsp;<?php echo $this->escape($v['l']) ?></option>
77<?php endforeach; ?>
78<?php endif; ?>
79    </select>
80   </form>
81  </li>
82<?php endif; ?>
83 </ul>
84<?php if ($this->move): ?>
85 <form method="post" action="<?php echo $this->mailbox_url ?>">
86  <input type="hidden" name="mailbox" value="<?php $this->mailbox ?>" />
87  <ul>
88   <li>
89    <?php echo $this->move ?>
90   </li>
91   <li>
92    <?php echo $this->copy ?>
93   </li>
94   <li>
95    <label for="targetMailbox<?php echo $this->id ?>" class="hidden"><?php echo _("Target Mailbox:") ?></label>
96    <select id="targetMailbox<?php echo $this->id ?>" name="targetMailbox">
97     <?php echo $this->folder_options ?>
98    </select>
99   </li>
100  </ul>
101 </form>
102<?php endif; ?>
103<?php endif; ?>
104</div>
105