eggification
[PlinnDocument.git] / Products / PlinnDocument / skins / plinn_macros.pt
diff --git a/Products/PlinnDocument/skins/plinn_macros.pt b/Products/PlinnDocument/skins/plinn_macros.pt
new file mode 100644 (file)
index 0000000..fd79963
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+  <head>
+    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
+    <title>Plinn macros</title>
+  </head>
+
+  <body>
+<div id="EpozToolbar" metal:define-macro="EpozToolbar" i18n:domain="epoz">
+<select id="formatblock" onchange="SelectFormat(this)" style="margin-bottom: 2px" >
+  <option value="" i18n:translate="">Normal</option>
+  <option value="<p>" i18n:translate="">Paragraph</option>
+  <option value="<h1>" i18n:translate="">Heading1</option>
+  <option value="<h2>" i18n:translate="">Heading2</option>
+  <option value="<h3>" i18n:translate="">Heading3</option>
+  <option value="<h4>" i18n:translate="">Heading4</option>
+  <option value="<h5>" i18n:translate="">Heading5</option>
+  <option value="<h6>" i18n:translate="">Heading6</option>
+  <option value="<pre>" i18n:translate="">Formatted</option>
+</select>
+<img  tal:attributes="src here/epoz_button_bold.gif/absolute_url" width="23" height="22" alt="Bold" title="Bold" onclick="FormatText('bold', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_italic.gif/absolute_url" width="23" height="22" alt="Italic" title="Italic" onclick="FormatText('italic', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_underline.gif/absolute_url" width="23" height="22" alt="Underline" title="Underline" onclick="FormatText('underline', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_strikethrough.gif/absolute_url" width="23" height="22" alt="Strikethrough" title="Strikethrough" onclick="FormatText('strikethrough', '');" i18n:attributes="alt ; title"
+/>&nbsp;<img  tal:attributes="src here/epoz_button_subscript.gif/absolute_url" width="23" height="22" alt="Subscript" title="Subscript" onclick="FormatText('subscript', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_superscript.gif/absolute_url" width="23" height="22" alt="Superscript" title="Superscript" onclick="FormatText('superscript', '');" i18n:attributes="alt ; title"
+/>&nbsp;<img  tal:attributes="src here/epoz_button_unformat.gif/absolute_url" width="23" height="22" alt="RemoveFormat" title="RemoveFormat" onclick="FormatText('removeformat', '');" i18n:attributes="alt ; title"
+/>&nbsp;<img  tal:attributes="src here/epoz_button_textcolor.gif/absolute_url" width="23" height="22" alt="TextColor" title="TextColor" onclick="SetTextColor();" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_bgcolor.gif/absolute_url" width="23" height="22" alt="BackColor" title="BackColor" onclick="SetBackColor();" i18n:attributes="alt ; title"
+/>&nbsp;<img  tal:attributes="src here/epoz_button_left_just.gif/absolute_url" width="23" height="22" alt="AlignLeft" title="AlignLeft" onclick="FormatText('justifyleft', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_centre.gif/absolute_url" width="23" height="22" alt="Center" title="Center" onclick="FormatText('justifycenter', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_right_just.gif/absolute_url" width="23" height="22" alt="AlignRight" title="AlignRight" onclick="FormatText('justifyright', '');" i18n:attributes="alt ; title"
+/>&nbsp;<img  tal:attributes="src here/epoz_button_numbered_list.gif/absolute_url" width="23" height="22" alt="OrderedList" title="OrderedList" onclick="FormatText('insertorderedlist', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_list.gif/absolute_url" width="23" height="22" alt="UnorderedList" title="UnorderedList" onclick="FormatText('insertunorderedlist', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_outdent.gif/absolute_url" width="23" height="22" alt="Outdent" title="Outdent" onclick="FormatText('outdent', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_indent.gif/absolute_url" width="23" height="22" alt="Indent" title="Indent" onclick="FormatText('indent', '');" i18n:attributes="alt ; title"
+/>
+
+<img  tal:attributes="src here/plinn_image_upload.gif/absolute_url" width="23" height="22" alt="InsertImage" title="InsertImage"
+onclick="document.getElementById('ImageUploadForm').style.visibility='visible';" i18n:attributes="alt ; title"
+/><span style="position:relative;vertical-align:top;z-index:1000"><span id="ImageUploadForm"><div style="position:relative;vertical-align:top"><div
+  style="position:absolute;width:23px;height:7px;top:-9px;left:288px;background:#ccc;border-left: 1px solid #aaa;border-right: 1px solid #aaa;float:left"><!-- --></div></div>
+  <iframe tal:attributes="src string:${here/absolute_url}/plinn_attachment_form?formId=ImageUploadForm"
+                        style="width:100% ; height:100% ; border:none" frameborder="0"></iframe></span>
+</span>
+
+<img  tal:attributes="src here/plinn_file_upload.gif/absolute_url" width="23" height="22" alt="InsertFile" title="InsertFile"
+onclick="document.getElementById('FileUploadForm').style.visibility='visible';" i18n:attributes="alt ; title"
+/><span style="position:relative;vertical-align:top;z-index:1000"><span id="FileUploadForm"><div style="position:relative;vertical-align:top"><div
+  style="position:absolute;width:23px;height:7px;top:-9px;left:288px;background:#ccc;border-left: 1px solid #aaa;border-right: 1px solid #aaa;float:left"><!-- --></div></div>
+  <iframe tal:attributes="src string:${here/absolute_url}/plinn_attachment_form?formId=FileUploadForm"
+                        style="width:100% ; height:100% ; border:none" frameborder="0"></iframe></span>
+</span>
+
+<img  tal:attributes="src here/epoz_button_hyperlink.gif/absolute_url" width="23" height="22" alt="InsertLink" title="InsertLink" onclick="CreateLink();"  i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_anchor.gif/absolute_url" width="23" height="22" alt="InsertAnchor" title="InsertAnchor" onclick="CreateAnchor();"  i18n:attributes="alt ; title"
+/>
+<img  tal:attributes="src here/epoz_button_hr.gif/absolute_url" width="23" height="22" alt="InsertRule" title="InsertRule" onclick="FormatText('inserthorizontalrule', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_table.gif/absolute_url" width="23" height="22" alt="InsertTable" title="InsertTable" i18n:attributes="alt ; title" onclick="window.open('epoz_script_table.html','EpozTable','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=220,height=220')"
+/>&nbsp;<img  tal:attributes="src here/epoz_button_undo.gif/absolute_url" width="23" height="22" alt="Undo" title="Undo" onclick="FormatText('undo', '');" i18n:attributes="alt ; title"
+/><img  tal:attributes="src here/epoz_button_redo.gif/absolute_url" width="23" height="22" alt="Redo" title="Redo" onclick="FormatText('redo', '');" i18n:attributes="alt ; title" />
+</div>  </body>
+
+</html>
\ No newline at end of file