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