some styling for compose

This commit is contained in:
Klaus Leithoff 2013-07-20 15:15:29 +00:00
parent 7085d4b51a
commit b64572d9fc
3 changed files with 22 additions and 17 deletions

View File

@ -2515,7 +2515,7 @@ $content['mailtext'] = 'garbage';
$searchString = translation::convert($_searchString, mail_bo::$displayCharset,'UTF7-IMAP');
foreach ($folderObjects as $k =>$fA)
{
error_log(__METHOD__.__LINE__.$_searchString.'/'.$searchString.' in '.$k.'->'.$fA->displayName);
//error_log(__METHOD__.__LINE__.$_searchString.'/'.$searchString.' in '.$k.'->'.$fA->displayName);
$f=false;
if (stripos($fA->displayName,$_searchString)!==false)
{
@ -2529,8 +2529,6 @@ $content['mailtext'] = 'garbage';
}
}
//error_log(__METHOD__.__LINE__.' IcServer:'.$this->mail_bo->icServer->ImapServerId.':'.array2string($results));
//$folderName = translation::convert(html_entity_decode($_folderName, ENT_QUOTES, $this->charset),'UTF7-IMAP', $this->charset);
//$response->add("decodedFolder ='".$folderName."'");
header('Content-Type: application/json; charset=utf-8');
echo json_encode($results);
@ -2612,7 +2610,7 @@ $content['mailtext'] = 'garbage';
}
}
//error_log(__METHOD__.__LINE__.array2string($jsArray));
//error_log(__METHOD__.__LINE__.array2string($jsArray));
header('Content-Type: application/json; charset=utf-8');
echo json_encode($results);
common::egw_exit();

View File

@ -386,10 +386,13 @@ input[type=button] {
div.mailDisplayHeaders > div:first-parent {
overflow: hidden;
}
div.mailDisplayHeaders > span:first-child, div.mailPreviewHeaders > span:first-child {
div.mailDisplayHeaders > span:first-child, div.mailComposeHeaders > span:first-child, div.mailPreviewHeaders > span:first-child {
width: 7em;
display: inline-block;
}
div.mailDisplayHeaders > span:first-child, div.mailPreviewHeaders > * {
div.mailComposeHeaders > span:first-child {
width: 8em;
}
div.mailDisplayHeaders > span:first-child, div.mailComposeHeaders > span:first-child, div.mailComposeBody, div.mailPreviewHeaders > * {
margin-left: 3px;
}

View File

@ -4,42 +4,46 @@
<template id="mail.compose" template="" lang="" group="0" version="1.9.001">
<html id="msg"/>
<vbox class="mailCompose mailComposeHeaderSection" width="100%">
<hbox class="mailComposeHeaders" width="99%">
<description value="Identity"/>
<taglist id="SENDER" width="88%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' allowFreeEntries="false" maxSelection="1" onclick="app.mail.address_click"/>
</hbox>
<hbox class="mailComposeHeaders" width="99%">
<description value="To"/>
<taglist id="TO" width="98%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
<taglist id="TO" width="88%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
</hbox>
<hbox class="mailComposeHeaders" width="99%">
<description value="Cc"/>
<taglist id="CC" width="98%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
<taglist id="CC" width="88%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
</hbox>
<hbox class="mailComposeHeaders" width="99%">
<description value="Bcc"/>
<taglist id="BCC" width="98%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
<taglist id="BCC" width="88%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
</hbox>
<hbox class="mailComposeHeaders" width="99%">
<description value="Reply To"/>
<taglist id="REPLYTO" width="98%" autocomplete_url='mail.mail_compose.ajax_searchIdentities' autocomplete_params='' onclick="app.mail.address_click"/>
<taglist id="REPLYTO" width="88%" autocomplete_url='mail.mail_compose.ajax_searchAddress' autocomplete_params='' onclick="app.mail.address_click"/>
</hbox>
<hbox class="mailComposeHeaders" width="99%">
<description value="Store to Folder"/>
<taglist id="FOLDER" width="98%" autocomplete_url='mail.mail_compose.ajax_searchFolder' autocomplete_params='' onclick="app.mail.address_click"/>
<taglist id="FOLDER" width="88%" autocomplete_url='mail.mail_compose.ajax_searchFolder' autocomplete_params='' allowFreeEntries="false" onclick="app.mail.address_click"/>
</hbox>
<hbox class="mailComposeHeaders" width="99%">
<description value="Subject"/>
<textbox align="left" width="95%" id="mail_composesubject"/>
<textbox align="left" width="88%" id="mail_composesubject"/>
</hbox>
<hbox class="mail_Composeicons">
<html id="mail_composeicons"/>
</hbox>
</vbox>
<vbox class="mailCompose" width="100%">
<hbox disabled="!@is_html">
<vbox class="mailComposeBodySection" width="99%">
<hbox disabled="!@is_html" class="mailComposeBody">
<htmlarea span="all" id="mailtext" mode="$cont[rtfEditorFeatures]" height="320px" width="100%" toolbar="true" base_href="$cont[upload_dir]"/>
</hbox>
<hbox disabled="@is_html">
<textbox multiline="true" rows="15" cols="120" span="all" id="mailtext"/>
<hbox disabled="@is_html" class="mailComposeBody">
<textbox multiline="true" rows="15" cols="120" width="99%" span="all" id="mailtext"/>
</hbox>
<box class="mailComposeAttachments">
<box class="mailComposeAttachments">
<html id="mail_composeattachments"/>
</box>
</vbox>