Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/tpl_modify_sel.htm
<!-- TITLE: Manage Templates -->

<form method=post name=frm>

<input type=hidden name=token value="##TOKEN##">

<table width=100% border=0 cellpadding=0>

  <tr> 
  <td width="40%"></td>
  <td width="60%"></td>
  </tr> 
  
<!-- TPL_INSERT : extra -->

<!-- TPL_CELL : mod -->
  <tr> 
    <td> <b>Module</b><br />
    <font class=txt8 color=0000FF> Select non-blank to view module-specific files
    </b>
        </td>
    <td valign=top> <select name=mod OnChange="document.location='index.php?page=tpl&mod='+hwGetMenuValue('frm.mod')">
    <option value="">
    ##mod##
    </select>
    </td>
  </tr> 

<!-- /TPL_CELL : mod -->

<!-- TPL_CELL : fset -->
  <tr> 
    <td><b>Fieldset</b><br />
    <font class=txt8 color=0000FF> Select non-blank to view fieldset-specific files
    </td>
    <td valign=top> <select name=fset OnChange="document.location = 'index.php?page=tpl&fset='+hwGetMenuValue('frm.fset')">
    <option value="">
    ##fset##
    </select>
    </td>
  </tr> 
<!-- /TPL_CELL : fset -->

<!-- /TPL_INSERT : extra -->

<!-- IF ##en_f_sel## -->
 
  <tr> 
    <td>Select file you want to modify
    </td>
    <td>

<select name=file_name>##file_sel##</select>
<input class=button type=submit name=hw_view value="View">

    </td>
  </tr>

<!-- ENDIF -->

</table>

<br />

<!-- TPL_INSERT : entry -->
<!-- TPL_CELL : row -->

<script type="text/javascript">

function ViewTemplate(fn){
  var f = document.frm;
  var url = 'index.php?page=tpl&view_tpl=yes&file_name='+escape(fn);
  if(f.mod.value) url+='&mod='+f.mod.value;
  if(f.fset) url+='&fset='+f.fset.value;
  OpenPreview(url);
}

</script>

       <table border=0 cellspacing=0 cellpadding=4 width="100%">
        <tr valign="top">
          <td><nobr><b>File Name</td>
          <td><font color=0000FF><b>##file_name##</b></font>

<!-- IF ##restore## -->
&nbsp; <a href="javascript:ViewTemplate('##file_name##')" class=txt8>View Original Template</a>
<!-- ENDIF -->

          </td>
        </tr>

<!-- IF ##file_name## == "lang.ini" -->
        <tr valign="top">
          <td></td>
          <td bgcolor="#FF3333" class=txt8><font color="#FFFFFF"><b>Note for lang.ini:</b> These words must not be used as keys: null, yes, no, true, false</td>
        </tr>
<!-- ENDIF -->

        <tr valign="top">
          <td><b>Content</td>
          <td><textarea name=content cols=65 rows=30 wrap="off">##content##</textarea></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>

<input type=submit value="Update" class="button" name="go">

        </td>
        </tr>
      </table>

<!-- /TPL_CELL : row -->
<!-- /TPL_INSERT : entry -->


</form>    
Return current item: Esvon Personals