]> 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 97c87337f0a87aed124a8c9eaf72d1a3d7f141e2..4609c7b9c962a012374981b252d2142872087dec 100644 (file)
@@ -1,46 +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="UIxPageFrame"
-    title="panelTitle"
-    const:popup="YES"
-    >
-    <div id="headerArea">
+<!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:" />
-        <div id="compose_attachments_list"
-          onclick="clickedEditorAttach(this);"
-          ><var:foreach list="attachmentNames" item="attachmentName">
-            <var:string value="attachmentName" /><br />
-          </var:foreach>
-        </div>
+       <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 />
+       list="fromEMails"
+       item="item"
+       selection="from"
+       /><br />
       <div>
-        <var:component className="UIxMailToSelection"
-          to="to" cc="cc" bcc="bcc" />
+       <var:component className="UIxMailToSelection"
+         to="to" cc="cc" bcc="bcc" />
       </div>
       <div class="addressListElement" id="subjectRow"
-        ><span class="headerField"><var:string label:value="Subject"
-            />:</span
-          ><span class="headerInput"
-          ><input name="subject"
-            type="text"
-            class="textField"
-            var:value="subject"
-            /></span></div>
+       ><span class="headerField"><var:string label:value="Subject"
+           />:</span
+         >
+         <input name="subject"
+           type="text"
+           class="textField"
+           var:value="subject"
+           /></div>
+    <!-- separator line --><hr/>
     </div>
-    <!-- separator line -->
-    <textarea name="content" var:value="text" />
+    <textarea id="text" name="text" rows="30" var:value="text"/>
     <!-- img rsrc:src="tbird_073_compose.png" alt="screenshot" / -->
-  </var:component>
+  </form>
+</var:component>