<!--
<?php
print <<<EOT
--> 
 <SCRIPT LANGUAGE="JavaScript">
<!--
function foreColor_font(obj)
{
  
  var arr = showModalDialog('images/selcolor.htm', '', 'dialogWidth:18.5em; dialogHeight:17.5em; status:0');
  if (arr != null)  obj.value=arr;
  else  obj.focus();
  obj.style.background=arr;
}
//-->
</SCRIPT><form name="myform" method="post" action="index.php?lfj=$lfj&action=$job">
<div class="MainContainers">
  <div class="Header"><span class="tag">修改模板</span><span class="more">&gt;&gt;</span></div>
  <div class="Conter">
  <table class="FormTable">
    <tr> 
      <td class='tdL'> 模板文件</td>
      <td class='tdR'> <a href="../template/default/$filepath" target="_blank">/template/default/$filepath</a></td>
    </tr>
    <tr> 
      <td class='tdL'>模板代码:</td>
      <td class='tdR'>  
        <textarea name="code" cols="140" rows="20" id="tplpart_1">$code</textarea>
        <br>
        <input type="button" value="切换可视化编辑器" onclick="initEditor('tplpart_1','770px','300px');$(this).hide();" />
      </td>
    </tr>
  </table>
  <div class='submits'>
        <input type="hidden" name="filepath" value="$filepath">
        <input type="submit" name="Submit" value="提交">    
  </div>
  </div>
  </div>
</form>
<!--
EOT;
?>
-->
<div class="MainContainers">
  <div class="Header"><span class="tag">帮助说明:</span></div>
  <div class="Conter">
    <ul class="notes">
      <li>1.修改前，请备份一下文件。修改后若出错，方便还原替换！</li>
    </ul>
  </div>
</div>
