if ($unread) {
$pagetitle = $title .= ' (' . $unread . ')';
}
+
if ($vfolder || $search_mbox) {
$query_text = htmlspecialchars(wordwrap($imp_search->searchQueryText($imp_search->searchMboxID())));
if ($vfolder) {
$hdr_template = new IMP_Template();
$hdr_template->set('title', $title);
$hdr_template->set('pagetitle', $pagetitle);
+if ($readonly) {
+ $hdr_template->set('readonly', Horde::img('locked.png', _("Read-Only"), '', $graphicsdir));
+}
$hdr_template->set('refresh', Horde::link($refresh_url, $refresh_title, '', '', '', '', $refresh_ak) . Horde::img('reload.png', _("Reload"), '', $graphicsdir) . '</a>');
if (isset($filter_url)) {
$hdr_template->set('filter', Horde::link($filter_url, sprintf(_("Apply Filters to %s"), $rawtitle)) . Horde::img('filters.png', _("Apply Filters")) . '</a>');
<div class="header">
<div <if:page>style="width:40%" </if:page>class="leftFloat">
<span dir="ltr"><tag:pagetitle /></span>
+ <if:readonly><tag:readonly /></if:readonly>
<tag:refresh />
<if:filter><tag:filter /></if:filter>
<if:search><tag:search /></if:search>
if ($pageOb['pagecount'] > 1) {
$title .= ' - ' . $pageOb['page'] . ' ' . _("of") . ' ' . $pageOb['pagecount'];
}
+
+if ($readonly) {
+ $title .= ' [' . _("Read-Only") . ']';
+}
+
$c = &$mimp_render->add(new Horde_Mobile_card('m', $title));
$c->softkey('#o', _("Menu"));