includes/clientside/tinymce/plugins/template/template.htm
changeset 1 fe660c52c48f
equal deleted inserted replaced
0:902822492a68 1:fe660c52c48f
       
     1 <html xmlns="http://www.w3.org/1999/xhtml">
       
     2 <head>
       
     3 	<title>{$lang_template_title}</title>
       
     4 	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
       
     5 	<script language="javascript" type="text/javascript" src="jscripts/template.js"></script>
       
     6 	<link href="css/template.css" rel="stylesheet" type="text/css" />
       
     7 	<base target="_self" />
       
     8 </head>
       
     9 <body onload="tinyMCEPopup.executeOnLoad('TPU.init();');" onresize="TPU.resizeInputs();"> 
       
    10 	<form onsubmit="insert();return false;">
       
    11 		<div id="frmbody">
       
    12 			<div class="title">{$lang_template_desc}</div>
       
    13 			<div class="frmRow"><label for="tpath" title="{$lang_template_select}">{$lang_template_label}:</label>
       
    14 			<select id="tpath" name="tpath" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="TPU.selectTemplate(this.options[this.selectedIndex]);">
       
    15 				<option value="">{$lang_template_select}...</option>
       
    16 			</select>
       
    17 			<span id="warning"></span></div>
       
    18 			<div class="frmRow"><label for="tdesc">{$lang_template_desc_label}:</label>
       
    19 			<span id="tmpldesc"></span></div>
       
    20 			<fieldset>
       
    21 				<legend>{$lang_template_preview}</legend>
       
    22 				<iframe id="templatesrc" name="templatesrc" src="blank.htm" width="690" height="400" frameborder="0"></iframe>
       
    23 			</fieldset>
       
    24 		</div>
       
    25 		
       
    26 		<div class="mceActionPanel">
       
    27 			<div style="float: left">
       
    28 				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="TPU.insertTemplate();" />
       
    29 			</div>
       
    30 
       
    31 			<div style="float: right">
       
    32 				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
       
    33 			</div>
       
    34 		</div>
       
    35 	</form>
       
    36 </body> 
       
    37 </html>