<!-- {include file="header.html"} -->
<link rel="stylesheet" type="text/css" href="../static/scripts/jquery/jquery-ui.css" />
<script src="../static/scripts/jquery/jquery-ui.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../static/css/reset.css" />
<!--{literal}-->
<script>
jQuery(document).ready(function($) {
	$( "#multi_lang_tabs" ).tabs();
	$( "#tabs-ta" ).tabs();
})
</script>
<!--{/literal}-->
<div id="currentPosition">
	<p>{lang your_current_position} {lang trade_management} &raquo; {lang dictionary}</p>
</div>
<div id="rightTop"> 
    <h3>{lang dictionary}</h3> 
    <ul class="subnav">
		<li><a href="dict.php">{lang management}</a></li>
        <li><a class="btn1" href="dict.php?do=edit"><span>{lang add_or_edit}</span></a></li>
        <li><a href="dicttype.php">{lang types}</a></li>
    </ul>
</div>
<div class="info">
  <form action="dict.php" method="post" id="EditFrm" name="edit_frm">
  <input type="hidden" name="id" value="{$item.id}" />
  <input type="hidden" name="page" value="{$smarty.get.page}" />
    <table class="infoTable">
      <tr>
        <th class="paddingT15"> {lang title}{lang colon}</th>
        <td class="paddingT15 wordSpacing5">
		<div id="multi_lang_tabs">
		<!-- {pl frm="input" values=$item.word class="infoTableInput2"} -->
		</div>          
		<label class="field_notice">{lang show_name_n}</label>        </td>
      </tr>
      <tr>
        <th class="paddingT15"> {lang alias_name}</th>
        <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" name="data[dict][word_name]" value="{$item.word_name}" /><label class="field_notice">{lang alias_name}</label></td>
      </tr>
      <tr>
        <th class="paddingT15"> {lang parent_categories}{lang colon}</th>
        <td class="paddingT15 wordSpacing5">
		<select name="data[dict][dicttype_id]">
		<option value="0">{lang top_categories}</option>
        {$dicttypeOptions}
		</select>        
		</td>
      </tr>
      <tr>
        <th class="paddingT15"> {lang detailed_contents}</th>
        <td class="paddingT15 wordSpacing5">
			<div id="tabs-ta">
				<ul>
					<li><a href="#tabs-1">{lang digest}</a></li>
					<li><a href="#tabs-2">{lang detailed_contents}</a></li>
					<li><a href="#tabs-3">{lang reference_material}</a></li>
				</ul>
				<div id="tabs-1">
					<textarea style="width:550px;height:50px;" name="data[dict][digest]">{$item.digest}</textarea>
				</div>
				<div id="tabs-2">
					<textarea style="width:550px;height:50px;" name="data[dict][content]">{$item.content}</textarea>
				</div>
				<div id="tabs-3">
					<textarea style="width:550px;height:50px;" name="data[dict][refer]">{$item.refer}</textarea>
				</div>
			</div>
        </td>
      </tr>
      <tr>
        <th></th>
        <td class="ptb20">
			<input class="formbtn" type="submit" name="save" value="{lang save}" />
		</td>
      </tr>
    </table>
  </form>
</div>
{editor type="tinymce"}
<!-- {include file="footer.html"} -->