<%set set_focus = 'myform.tpl_dir'%>
<%set book_mark = 'tpl_language'%>
<%GList::Tools::language_editor%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
  <tr>
    <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
    <td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
    <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td height="97%" colspan="3" valign="top">
      <form name=myform action="glist.cgi" method=post>
      <table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
        </tr>
        <tr>
          <td class="body" align="center">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
              <tr class="bold_white">
                <td height="20"><img src="<%image_url%>/icons/language.gif" hspace="2" vspace="0" align="texttop">Language</td>
                <td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
              </tr>
            </table>
            <br />
            <%if message%><%message%><%else%>From here you can quickly edit the language settings of your templates.<%endif%><br /><br />
            <table  border="0" cellPadding="3" cellSpacing="3" valign="top" align=center align=center>
              <tr class=body>
                <td class=body >Template Set:
                  <%dir_select%>
                  <input type="submit" value="Change" name="bchange" class=button />
                  <hr color="#97ACBD">
                </td>
              </tr>
              <tr>
                <td class=body><%prefix_list%></td>
              </tr>
            </table>
            <table  border="0" cellPadding="3" cellSpacing="3" valign="top" align=center width=500 align=center>
              <tr class=body>
                <td class=body>
                    <%if prefix%>
                        <table border=0 width=100%>
                            <tr>
                                <td class="body"><b>Language Code</b></font></td>
                                <td class="body"><b>Value</b></font></td>
                                <td class="body"><b>Delete/<br />Restore</b></font></td>
                            </tr>
                            <%language_table%>
                            <tr>
                                <td valign=top class="body"><nobr>New: <input name="new" size="10" value="" /></font></nobr></td>
                                <td><textarea rows="5" cols="50" class="object" name="new-val"><%if new-val%><%new-val%><%endif%></textarea></td>
                                <td>&nbsp;</td>
                            </tr>
                        </table>
                        <p><center><input type="submit" value="Save Changes" name="save" class=button /></center></p>
                    <%endif%>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <input type="hidden" name="do" value="admin_page" />
      <input type="hidden" name="pg" value="admin_template_language.html" />
      <input type="hidden" name="prefix" value="<%prefix%>" />
      <%hidden_objects%>
      </form>
    </td>
  </tr>
</table>
<%include include_footer.html%>

