]> err.no Git - scalable-opengroupware.org/blobdiff - UI/Templates/MailerUI/UIxMailEditor.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1305 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / MailerUI / UIxMailEditor.wox
index 2a3d3a335c54a03b032ee440007d40766c272e15..4609c7b9c962a012374981b252d2142872087dec 100644 (file)
@@ -1,88 +1,60 @@
 <?xml version='1.0' standalone='yes'?>
-<var:component xmlns="http://www.w3.org/1999/xhtml"
-               xmlns:var="http://www.skyrix.com/od/binding"
-               xmlns:const="http://www.skyrix.com/od/constant"
-               xmlns:uix="OGo:uix"
-               xmlns:rsrc="OGo:url"
-               xmlns:label="OGo:label"
-               className="UIxMailPanelFrame"
-               title="panelTitle"
->
-  <script rsrc:src="layout2or3_xlib.js" > <!-- space required --></script>
-  <div id="compose_panel">
-    <var:if condition="showInternetMarker">
-      <div id="compose_internetmarker">
-        <var:string
-            label:value="This mail is being sent from an unsecure network!" />
+<!DOCTYPE var:component>
+<var:component
+  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:var="http://www.skyrix.com/od/binding"
+  xmlns:const="http://www.skyrix.com/od/constant"
+  xmlns:uix="OGo:uix"
+  xmlns:rsrc="OGo:url"
+  xmlns:label="OGo:label"
+  className="UIxPageFrame"
+  title="panelTitle"
+  const:popup="YES"
+  const:jsFiles="UIxMailToSelection.js">
+  <div class="menu" id="attachmentsMenu">
+    <ul>
+      <li><var:string label:value="Open"/></li>
+      <li><var:string label:value="Delete" /></li>
+      <li><var:string label:value="Select All" /></li>
+      <li><!-- separator --></li>
+      <li><var:string label:value="Attach File(s)..." /></li>
+      <li><var:string label:value="Attach Web Page..." /></li>
+    </ul>
+  </div>
+
+  <form const:href="send" name="pageform" enctype="multipart/form-data">
+      <div id="attachmentsArea">
+       <var:string label:value="Attachments:" />
+       <ul id="attachments">
+         <var:foreach list="attachmentNames" item="attachmentName"
+           ><li><img rsrc:src="attachment.gif"
+               /><var:string value="attachmentName"
+               /></li></var:foreach>
+       </ul>
+      </div>
+    <div id="headerArea">
+      <span class="headerField"><var:string label:value="From" />:</span>
+      <var:popup const:name="from"
+       list="fromEMails"
+       item="item"
+       selection="from"
+       /><br />
+      <div>
+       <var:component className="UIxMailToSelection"
+         to="to" cc="cc" bcc="bcc" />
       </div>
-    </var:if>
-    <table border="0" width="100%" id="compose_table">
-      <tr>
-        <td id="compose_leftside" var:style="initialLeftsideStyle">
-          <div id="compose_toselection">
-            <var:component className="UIxMailToSelection"
-                           to="to"
-                           cc="cc"
-                           bcc="bcc"
-            />
-          </div>
-          <!-- moved below to selection to make it look better -->
-          <div id="compose_fromline">
-            <table border="0" width="100%">
-              <tr>
-                <td class="compose_label" width="20%">
-                  <var:string label:value="From" />:
-                </td>
-                <td width="80%">
-                  <var:popup const:name="from" list="fromEMails" item="item"
-                             selection="from"
-                             const:style="width: 100%; font-size: 8pt;"
-                    />
-                </td>
-              </tr>
-            </table>
-          </div>
-    
-          <div id="compose_subject">
-            <table border="0" width="100%">
-              <tr>
-                <td class="compose_label" width="20%">
-                  <var:string label:value="Subject" />:
-                </td>
-                <td width="80%"><input name="subject"
-                                       id="compose_subject_input"
-                                       type="text"
-                                       var:value="subject"
-                                /></td>
-              </tr>
-            </table>
-          </div>
-        </td>
-        <td id="compose_rightside" var:style="initialRightsideStyle">
-          <div id="compose_attachments">
-            <div id="compose_attachments_header">  
-              <span class="compose_label"
-              ><var:string label:value="Attachments" />:</span>
-               <!--<a href="#"
-                  onclick="hideInlineAttachmentList(this);"
-               ><var:string label:value="close" /></a>-->
-            </div>
-            <div id="compose_attachments_list"
-                 onclick="clickedEditorAttach(this);"
-            >
-              <var:foreach list="attachmentNames" item="attachmentName">
-                <var:string value="attachmentName" /><br />
-              </var:foreach>
-            </div>
-          </div>
-        </td>
-      </tr>
-    </table>
-    <!-- separator line -->
-    <div id="compose_text">
-      <textarea name="content" var:value="text" />
+      <div class="addressListElement" id="subjectRow"
+       ><span class="headerField"><var:string label:value="Subject"
+           />:</span
+         >
+         <input name="subject"
+           type="text"
+           class="textField"
+           var:value="subject"
+           /></div>
+    <!-- separator line --><hr/>
     </div>
-
+    <textarea id="text" name="text" rows="30" var:value="text"/>
     <!-- img rsrc:src="tbird_073_compose.png" alt="screenshot" / -->
-  </div>
+  </form>
 </var:component>