<head>
<title>{#tagwrap_dlg.titleForm}</title>
<script type="text/javascript" src="../../tinymce/tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/dialog.js"></script>
<link rel="stylesheet" type="text/css" href="css/tagwrap.css" />
</head>

<body>

<div class="y_logo_contener">
	<img src="img/html5.png" alt="HTML5" />
</div>
<div class="yinstr">
    <p>{#tagwrap_dlg.noteForm}</p>
    <p>{#tagwrap_dlg.noteForm13}</p>
</div>
<form onSubmit="TagwrapDialog.insert();return false;" action="#" method="post" name="Form_tag">
<div class="mceActionPanel">
<script type="text/javascript" language="javascript">
var jwl_sel_content4 = tinyMCE.activeEditor.selection.getContent();
</script>

{#tagwrap_dlg.noteForm1} <input id="title_value" type="text" name="title" width="200px" value="" /> <em> {#tagwrap_dlg.noteForm7}</em>
<br /><br />
{#tagwrap_dlg.noteForm2} 
<select id="target2" name="title2">
  <option value=""></option>
  <option value="on">on</option>
  <option value="off">off</option>
</select> <em> {#tagwrap_dlg.noteForm8}</em>
<br /><br />
{#tagwrap_dlg.noteForm3} 
<select id="target3" name="title3">
  <option value=""></option>
  <option value="application/x-www-form-urlencoded">application/x-www-form-urlencoded</option>
  <option value="multipart/form-data">multipart/form-data</option>
  <option value="text/plain">text/plain</option>
</select> <em> {#tagwrap_dlg.noteForm9}</em>
<br /><br />
{#tagwrap_dlg.noteForm4} 
<select id="target4" name="title4">
  <option value=""></option>
  <option value="get">get</option>
  <option value="post">post</option>
  <option value="dialog">dialog</option>
</select> <em> {#tagwrap_dlg.noteForm10}</em>
<br /><br />
{#tagwrap_dlg.noteForm5} <input id="title_value5" type="text" name="title5" width="200px" value="" /> <em> {#tagwrap_dlg.noteForm11}</em>
<br /><br />
{#tagwrap_dlg.noteForm6}
<select id="target6" name="title6">
  <option value=""></option>
  <option value="_blank">_blank</option>
  <option value="_self">_self</option>
  <option value="_top">_top</option>
  <option value="_parent">_parent</option>
</select> <em> {#tagwrap_dlg.noteForm12}</em>
</div>
<div style="margin-top:80px;"</div>
<div class="bottom">
    <p><!--{#tagwrap_dlg.bottomnote}--></p>
    <p class="pagelink_hover"><!--{#tagwrap_dlg.bottomnote2}--></p>
</div>
<script type="text/javascript" language="javascript">
function jwl_pass_form_data () {
  var name = jwl_title = document.getElementsByName("title")[0].value;
  var name = jwl_title2 = document.getElementsByName("title2")[0].value;
  var name = jwl_title3 = document.getElementsByName("title3")[0].value;
  var name = jwl_title4 = document.getElementsByName("title4")[0].value;
  var name = jwl_title5 = document.getElementsByName("title5")[0].value;
  var name = jwl_title6 = document.getElementsByName("title6")[0].value;
}

</script>
<div class="mceActionPanel">
  <div style="float:left;padding-top:5px">
  <input type="button" id="insert" name="insert" value="{#insert}" onClick="jwl_pass_form_data();tinyMCE.execCommand('mceInsertContent',false,'<form action=\'' + jwl_title + '\' autocomplete=\'' + jwl_title2 + '\' enctype=\'' + jwl_title3 + '\' method=\'' + jwl_title4 + '\' name=\'' + jwl_title5 + '\' target=\'' + jwl_title6 + '\'>' + jwl_sel_content4 + '</form>');tinyMCEPopup.close();" />&nbsp;<input type="button" id="cancel" name="cancel" value="{#cancel}" onClick="tinyMCEPopup.close();" />
  </div>
</div>
</form>
<span style="float:right;"><a target="_blank" href="http://www.joshlobe.com/2012/07/ultimate-tinymce-advanced-html-tags/"><img src="img/tinymce_help.png" /></a></span>
</body>