summaryrefslogtreecommitdiff
path: root/lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/template/template.htm
blob: ac14f1d977cdf453e129c1734d0b63a8a606dd55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>{#template_dlg.title}</title>
    <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
    <script type="text/javascript" src="js/template.js"></script>
    <base target="_self" />
</head>
<body onresize="TemplateDialog.resize();" class="tinyMCE"> 
    <form onsubmit="TemplateDialog.insert();return false;">
        <div id="frmbody">
            <div class="title">{#template_dlg.desc}</div>
            <fieldset class="module">
                <div class="row combine">
                    <div class="column span-4"><label for="tpath" title="{#template_dlg.select}">{#template_dlg.label}:</label></div>
                    <div class="column span-flexible">
                        <select id="tpath" name="tpath" onchange="TemplateDialog.selectTemplate(this.options[this.selectedIndex].value, this.options[this.selectedIndex].text);" class="mceFocus">
                            <option value="">{#template_dlg.select}...</option>
                        </select>
                        <span id="warning"></span>
                    </div>
                </div>
                <div class="row description last">
                    <div class="column span-4"><label for="tdesc">{#template_dlg.desc_label}:</label></div>
                    <div class="column span-flexible">
                        <span id="tmpldesc"></span>
                    </div>
                </div>
                <fieldset style="display: none;">
                    <iframe id="templatesrc" name="templatesrc" src="blank.htm" width="260" height="400" frameborder="0"></iframe>
                </fieldset>
            </fieldset>
        </div>
        <div class="mceActionPanel module submit-row">
            <ul class="submit-row">
                <li class="cancel-button-container left"><input type="button" id="cancel" class="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /></li>
                <li class="submit-button-container"><input type="submit" id="insert" class="default" name="insert" value="{#insert}" /></li>
            </ul>
        </div>
    </form>
</body> 
</html>