fd79963a388111a3737011da0f255dbc4ff2135c
[PlinnDocument.git] / skins / plinn_macros.pt
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
7 <title>Plinn macros</title>
8 </head>
9
10 <body>
11 <div id="EpozToolbar" metal:define-macro="EpozToolbar" i18n:domain="epoz">
12 <select id="formatblock" onchange="SelectFormat(this)" style="margin-bottom: 2px" >
13 <option value="" i18n:translate="">Normal</option>
14 <option value="<p>" i18n:translate="">Paragraph</option>
15 <option value="<h1>" i18n:translate="">Heading1</option>
16 <option value="<h2>" i18n:translate="">Heading2</option>
17 <option value="<h3>" i18n:translate="">Heading3</option>
18 <option value="<h4>" i18n:translate="">Heading4</option>
19 <option value="<h5>" i18n:translate="">Heading5</option>
20 <option value="<h6>" i18n:translate="">Heading6</option>
21 <option value="<pre>" i18n:translate="">Formatted</option>
22 </select>
23 <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"
24 /><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"
25 /><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"
26 /><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"
27 />&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"
28 /><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"
29 />&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"
30 />&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"
31 /><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"
32 />&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"
33 /><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"
34 /><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"
35 />&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"
36 /><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"
37 /><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"
38 /><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"
39 />
40
41 <img tal:attributes="src here/plinn_image_upload.gif/absolute_url" width="23" height="22" alt="InsertImage" title="InsertImage"
42 onclick="document.getElementById('ImageUploadForm').style.visibility='visible';" i18n:attributes="alt ; title"
43 /><span style="position:relative;vertical-align:top;z-index:1000"><span id="ImageUploadForm"><div style="position:relative;vertical-align:top"><div
44 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>
45 <iframe tal:attributes="src string:${here/absolute_url}/plinn_attachment_form?formId=ImageUploadForm"
46 style="width:100% ; height:100% ; border:none" frameborder="0"></iframe></span>
47 </span>
48
49 <img tal:attributes="src here/plinn_file_upload.gif/absolute_url" width="23" height="22" alt="InsertFile" title="InsertFile"
50 onclick="document.getElementById('FileUploadForm').style.visibility='visible';" i18n:attributes="alt ; title"
51 /><span style="position:relative;vertical-align:top;z-index:1000"><span id="FileUploadForm"><div style="position:relative;vertical-align:top"><div
52 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>
53 <iframe tal:attributes="src string:${here/absolute_url}/plinn_attachment_form?formId=FileUploadForm"
54 style="width:100% ; height:100% ; border:none" frameborder="0"></iframe></span>
55 </span>
56
57 <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"
58 /><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"
59 />
60 <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"
61 /><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')"
62 />&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"
63 /><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" />
64 </div> </body>
65
66 </html>