Current File : //var/wcp4/wongwais/public_html/tmp/templates/preferences.html
<html>
<head>   
<title>FileMan</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="<%html_url%>/<%scheme%>.css">
<script>
function show_default() {
    if (document.frm_main.showall.checked == true) {
        document.frm_main.def_files_page.value = 0;
        document.frm_main.def_pages_screen.value = 0;
    }
    else {
        document.frm_main.def_files_page.value = 25;
        document.frm_main.def_pages_screen.value = 20;
    }
}

function show_scheme(obj) { 
    document.img_scheme.src = '<%html_url%>/schemes/' + obj.options[obj.selectedIndex].value + '.jpg';
}

</script>
</head>
<body  class="bg_main" leftmargin=5 topmargin=5 onload="top.js_status('Please set the options.');document.frm_main.def_passwd_dir.focus()">
<form name=frm_main action='<%http_ref%>' method=post>
<table height=90% width=100%>
<tr><td valign=middle align=center>
    <table width="520" border="1" cellspacing="0" cellpadding="0" align="center" class="bg_window">
      <tr>
        <td>            
          <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000066">
            <tr bgcolor="#000066"> 
              <td class="header_format" height=20 width=60%><Font color=white><b>&nbsp;Preferences&nbsp;</b></font></td>
              <td class="header_format" height=20 width=40% align=right><a href="<%http_ref%>?fdo=cmd_main_display&work_path=<%work_path%>&<%url_opts%>"><img src="<%html_url%>/icons/close.gif" border=0></a></td>
            </tr>
          </table><BR>
          <%if msg%>
          <table width="" border="0" cellspacing="1" cellpadding="1">                   
              <tr><td colspan=2><%font%><%msg%></font></td></tr>
          </table>
          <%endif%>
          <table width="480" cellspacing="0" cellpadding="0" align="center">
              <tr>
                    <td width="1" height="1"> <img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10"  height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                    <td  rowspan="3" align="center" nowrap valign=top><%font%><font style='font-size:10px'><b>Default Paths</b></font></font></td>
                    <td  height="5" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=15 height=1 border=0></td>
                    <td bgcolor="#999999" height="1" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="1"  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=14 height=8 border=0></td>
                    <td  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr> 
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td>&nbsp;</td>                 
                    <td colspan="2">
                        <table width="100%" border="0" cellspacing="1" cellpadding="1">                                                     <tr> 
                                <td width=40% valign=top><%font%>Password Directory <font size=1><%ifnot passwd_dir_level%><b>Root:</b>/<%endif%></font></td>
                                <td width=60%><%font%>
                                    <input  class='button' name='def_passwd_dir' size=25 value="<%if def_passwd_dir%><%def_passwd_dir%><%endif%>"> <font size=1>(No trailing slash)</font></font>
                                </td>
                            </tr>
                            <tr> 
                                <td ><%font%>Working Directory</font></td>
                                <td ><%font%>
                                    <input class='button' name='def_working_dir' size=25 value="<%if def_working_dir%><%def_working_dir%><%endif%>"></font>
                                </td>
                            </tr>             
                        </table>
                    </td>
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="450" colspan="5" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=450 height=1 border=0></td>
                </tr>   
          </table>
          <table width="480" cellspacing="0" cellpadding="0" align="center">
              <tr>
                    <td width="1" height="1"> <img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10"  height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                    <td  rowspan="3" align="center" nowrap  valign=top><%font%><font style='font-size:10px'><b>Display</b></font></font></td>
                    <td  height="5" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=15 height=1 border=0></td>
                    <td bgcolor="#999999" height="1" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="1"  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=14 height=8 border=0></td>
                    <td  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr> 
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td>&nbsp;</td>                 
                    <td colspan="2">
                        <table width="100%" border="0" cellspacing="1" cellpadding="1">                 
                          <tr> 
                            <td  width=40%><%font%>Sort Order</td>
                            <td  width=60%>
                                <select name='def_sort'  class='button'>
                                    <option <%if def_sort eq 'name'%>selected<%endif%> value='name'>Name</option>
                                    <option <%if def_sort eq 'size'%>selected<%endif%> value='size'>Size</option>
                                    <option <%if def_sort eq 'type'%>selected<%endif%> value='type'>Type</option>
                                    <option <%if def_sort eq 'date'%>selected<%endif%> value='date'>Modified</option>
                                    <option <%if def_sort eq 'user'%>selected<%endif%> value='user'>Owner</option>
                                    <option <%if def_sort eq 'perm'%>selected<%endif%> value='perm'>Permissions</option>
                                </select></font>
                            </td>
                          </tr>
                          <tr > 
                            <td ><%font%>Rows per page</font></td>
                            <td ><%font%>
                                <input class='button' name='def_files_page' size=10 value="<%if def_files_page > 0%><%def_files_page%><%endif%>">
                                &nbsp;&nbsp;
                                <input type=checkbox <%if def_files_page eq 'all'%>checked<%endif%> value=on name=showall  onclick="show_default()" >&nbsp;All files</font>
                            </td>
                          </tr> 
                          <tr> 
                            <td ><%font%>Pages per screen</font></td>
                            <td>
                                <input class='button' name='def_pages_screen' size=10 value="<%if def_pages_screen > 0 %><%def_pages_screen%><%endif%>">
                            </td>
                          </tr>                       
                        </table>
                    </td>
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="450" colspan="5" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=450 height=1 border=0></td>
                </tr>   
            </table>
            <table width="480" cellspacing="0" cellpadding="0" align="center">
              <tr>
                    <td width="1" height="1"> <img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10"  height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                    <td  rowspan="3" align="center" nowrap  valign=top><%font%><font style='font-size:10px'><b>File display</b></font></font></td>
                    <td  height="5" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=15 height=1 border=0></td>
                    <td bgcolor="#999999" height="1" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="1"  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=14 height=8 border=0></td>
                    <td  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr> 
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td>&nbsp;</td>                 
                    <td colspan="2" valign=top>
                        <table width="100%" border="0" cellspacing="1" cellpadding="1" align=left>
                            <%if ie%>
                            <tr> 
                                <td width=40%><%font%>Editor mode</font></td>
                                <td width=60%>
                                    <select name='editor_mode' class='button'>
                                        <option value="0" <%ifnot editor_mode%>selected<%endif%>>HTML</option>
                                        <option value="1" <%if editor_mode%>selected<%endif%>>TEXT</option>
                                    </select>                                    
                                </td>
                            </tr>
                            <%endif%>
                            <tr>
                                <td width=40%><%font%>The README's content</font></td> 
                                <td>
                                    <select name='readme_position' class='button'>
                                        <option value="Y" <%if readme_position eq 'Y'%>selected<%endif%>>At the top</option>
                                        <option value="N" <%if readme_position eq 'N'%>selected<%endif%>>At the bottom</option>
                                    </select>
                                </td>
                            </tr>
                            <tr> 
                                <td colspan=2><%font%>
                                    <input name="hidden_file" value="1" type=checkbox <%if hidden_file%>checked<%endif%>>
                                    Do you want to show hidden files?</font>
                                </td>
                            </tr>                            
                        </table>
                    </td>
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="450" colspan="5" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=450 height=1 border=0></td>
                </tr>   
            </table>
            <table width="480" cellspacing="0" cellpadding="0" align="center">
              <tr>
                    <td width="1" height="1"> <img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10"  height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                    <td  rowspan="3" align="center" nowrap  valign=top><%font%><font style='font-size:10px'><b>Color & Font</b></font></font></td>
                    <td  height="5" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=5 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="10" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=15 height=1 border=0></td>
                    <td bgcolor="#999999" height="1" colspan="2"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="1" bgcolor="#999999" height="5"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td width="1"  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=14 height=8 border=0></td>
                    <td  height="1"><img src="<%html_url%>/icons/1pixel.gif" width=300 height=1 border=0></td>
                    <td width="1" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr> 
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                    <td>&nbsp;</td>                 
                    <td colspan="2">
                        <table width="100%" border="0" cellspacing="1" cellpadding="1" align=left>
                            <tr  height=100> 
                                <td  width=50% valign=top>
                                    <table width="100%" border="0" cellspacing="1" cellpadding="1" align=left>
                                        <tr>
                                            <td ><%font%>Scheme:<BR>
                                                <select  class='button' name='scheme' onchange=show_scheme(this)>
                                                    <option value="fileman" <%if scheme eq 'fileman'%>selected<%endif%>>Fileman Standard</option>
                                                    <option value="gt"      <%if scheme eq 'gt'%>selected<%endif%>>GT Style</option>
                                                    <option value="maple"   <%if scheme eq 'maple'%>selected<%endif%>>Maple</option>
                                                    <option value="rainy"   <%if scheme eq 'rainy'%>selected<%endif%>>Rainy Day</option>
                                                    <option value="rose"    <%if scheme eq 'rose'%>selected<%endif%>>Rose</option>
                                                </select>                                               
                                                </font>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td ><%font%>Font:<BR>
                                            <input name=font value="<%if font%><%font%><%else%><font face=Verdana, Arial, Helvetica, sans-serif size=2><%endif%>" size=25 class=button></font>
                                            <%font%><font size=1><BR><BR><b>Refresh the browser if it's Netscape Navigator</b></font>
                                            </td>
                                        </tr>
                                    </table>
                                </td>                               
                                <td width=50%  valign=top rowspan=2>
                                    <img src="<%html_url%>/schemes/<%scheme%>.jpg" vspace=5 hspace=5 width=250 height=146 id="img_scheme" name="img_scheme">
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="1" bgcolor="#999999"><img src="<%html_url%>/icons/1pixel.gif" width=1 height=1 border=0></td>
                </tr>
                <tr>
                    <td width="450" colspan="5" bgcolor="#999999" height="1"><img src="<%html_url%>/icons/1pixel.gif" width=450 height=1 border=0></td>
                </tr>   
            </table>                    
            <BR>
            <table width="" border="0" cellspacing="1" cellpadding="1" align=center>                                          
              <tr>
                <td colspan=2 align=center>
                    <input type=submit name=save value=' Save ' class="submit">
                    <input type=submit name=cancel value=' Cancel ' class="submit"><BR><BR>
                </td>
              </tr>
            </table>
          </div>
        </td>
      </tr>
    </table>
</td></tr></table>
<input type=hidden name='work_path' value='<%work_path%>'>
<input type=hidden name="txt_input">
<input type=hidden name="page">
<input type=hidden name='cmd_do' value='cmd_preferences'>
<input type=hidden name="status" value="Please enter options for the system">
<input type=hidden name=do value="fileman">
<!--Search options-->
<input type=hidden name="c_regex">
<input type=hidden name="c_case">
<input type=hidden name="c_word">
<input type=hidden name="c_content">
<input type=hidden name="c_bak">
<input type=hidden name="scope">
<input type=hidden name="txt_with">
<%ifnot user_sessions%>
<!--multi users-->
<input type=hidden name="session_id" value="<%session_id%>">
<%endif%>
<%if root_selected%>
<input type=hidden name='root_selected' value="<%root_selected%>">
<%endif%></form>
</body>
</html>