$t->setOption('gettext', true);
$t->set('post_action', Util::addParameter(Horde::applicationUrl('compose.php'), 'uniq', uniqid(mt_rand())));
$t->set('allow_compose', !$compose_disable);
-if ($has_js) {
- $t->set('loading_img', Horde::img('loading.gif', _("Loading...")));
-}
if ($redirect) {
/* Prepare the redirect template. */
<else:addr.multiple>
<td class="item addressTr">
<input type="text" id="<tag:addr.id />" autocomplete="off" tabindex="<tag:addr.input_tabindex />" style="direction:ltr" name="<tag:addr.id />" value="<tag:addr.input_value />" />
- <span id="<tag:addr.id />_loading_img" style="display:none;"><tag:loading_img /></span>
+ <span id="<tag:addr.id />_loading_img" style="display:none;" class="loadingImg"></span>
<div id="<tag:addr.id />_results" class="autocomplete"></div>
</td>
<td class="item rightAlign"><tag:addr.help_compose /> </td>
}
/* Message List */
-span.loadingImg {
- z-index: 1000;
- border: 1px #e0e0e0 solid;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- background: #fff url("graphics/loading.gif") no-repeat center;
- padding: 3px;
- width: 16px;
- height: 16px;
-}
#msgLoading, #viewportLoading {
position: absolute;
margin: 10px 0 0 10px;
background-image: url("graphics/tree/rev-joinbottom.png");
}
+/* Loading graphic */
+span.loadingImg {
+ z-index: 1000;
+ border: 1px #e0e0e0 solid;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ background: #fff url("graphics/loading.gif") no-repeat center;
+ padding: 3px;
+ width: 16px;
+ height: 16px;
+}
+td.addressTr span.loadingImg {
+ padding: 0 0 0 16px;
+}
+
/* MIME styles. */
.mimeStatusMessage, .mimeStatusWarning, .mimeHeaders, .mimePartInfo {
padding: 4px;