[$ include( catfile( get_setting("dir_templates"), "tpl_header.html") ) $]


<!-- begin the instructions for how to use this page. -->
<form action="my_settings.html" method="post" style="margin:0">
<br /><table cellspacing="8" cellpadding="4" border="0" width="90%" align="center"><tr align="center"><td>
   <table width="100%"><tr><td align="center">Below are modifiable settings within AmphetaDesk.
   <br /><strong>Make your changes</strong> and then click "Save Your Configuration".
   <br /><small><font color="#666666">Options are in the order of "most useful" to "esoteric mumbo jumbo".</font></small></td></tr></table>
   <input type="submit" name="reconfigure" value="Save Your Configuration" />
</td></tr></table>


<!-- begin our silly table that creates a grey highlight. -->
<table width="90%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td bgcolor="#cccccc">

    <!-- note: due to the way AmphetaDesk handles it's configuration, -->
    <!--  input checkboxes are currently not working as you'd expect. -->
    <!-- use a popup or a select box instead. ask morbus for details. -->

    <table width="100%" cellpadding="5" cellspacing="1" border="0">
    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>How Should Links Operate?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
        If you'd like all external / third party links to open in a
        new browser window, choose "New Window" from the popup menu.
        Else, choose "Same Window" to use the original AmphetaDesk window.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
        [$ if (get_setting("user_link_target") eq "_blank")  { $OUT .= qq{
           <select name="user_link_target">
              <option selected="selected" value="_blank">New Window</option>
              <option value="_parent">Same Window</option>
           </select>
        }; } else { $OUT .= qq{
           <select name="user_link_target">
              <option selected="selected" value="_parent">Same Window</option>
              <option value="_blank">New Window</option>
           </select>
        }; } $]
        </td>
    </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>How Often Should AmphetaDesk Check Channels?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           AmphetaDesk automatically checks for new data from your
           subscribed channels, by default, every three hours. If you'd like
           to increase or decrease this time (to a minimum of once an hour),
           enter the number of minutes here.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
           <input type="text" name="user_channels_check_interval" value="[$ get_setting("user_channels_check_interval") $]" size="6" /> minutes
        </td>
    </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>Should AmphetaDesk Listen To Radio Userland requests?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           <img src="images/xml_radio.gif" alt="The Radio Userland Coffee Cup Icon" title="The Radio Userland Coffee Cup Icon" width="36" height="36" align="right" />
           Fans of <a href="http://radio.userland.com/">Radio Userland</a> may
           be familiar with the icon to the right, which can be clicked on for
           automatic subscription to the linked RSS channel. AmphetaDesk can now
           process these coffee cup requests (<a href="http://www.disobey.com/amphetadesk/website_integration.html">in
           addition to the standard AmphetaDesk pill icon</a>). This feature is off
           by default so as not to conflict with existing Radio Userland
           installations. <strong>Changes will take
           effect the next time AmphetaDesk is run.</strong>
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
        [$ if (get_setting("user_start_radio_webserver"))  { $OUT .= qq{
           <select name="user_start_radio_webserver">
              <option selected="selected" value="1">Listen For These Icons</option>
              <option value="0">Don't Listen For These Icons</option>
           </select>
        }; } else { $OUT .= qq{
           <select name="user_start_radio_webserver">
              <option selected="selected" value="0">Don't Listen For These Icons</option>
              <option value="1">Listen For These Icons</option>
           </select>
        }; } $]
        </td>
    </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>Do You Use A Proxy Server?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           Some computers are configured to use a proxy server for
           outside access to the Internet. If your computer is one
           of them and you know the name of your proxy server, enter
           it here and AmphetaDesk will use it for all FTP and HTTP
           requests.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
           <input type="text" name="user_proxy_server" value="[$ get_setting("user_proxy_server") $]" size="35" />
           <br /><small><strong>Example:</strong> http://www.proxyserver.com:8080/</small>
        </td>
    </tr>
    <tr><td bgcolor="#ffffff"><small>
           Some proxy servers require a username and password before
           being used. If your proxy requires this sort of authentication
           for access to the Internet, enter your details here.
           <strong>Note:</strong> Your proxy password is stored in plain text.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
            <small>Username:</small> <input type="text" name="user_proxy_username" value="[$ get_setting("user_proxy_username") $]" size="25" />
            <br /><small>Password:</small> <input type="text" name="user_proxy_password" value="[$ get_setting("user_proxy_password") $]" size="25" />
         </td>
     </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>Would You Like Servers To Know Who's Reading?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           Whenever AmphetaDesk makes a request for data, it can
           optionally leave behind an "HTTP Referer" - basically,
           something that says "my user was here". Many users leave
           their personal web site address, which log analysis tools can
           report back to the provider of the content you're reading. If
           you'd like to leave a personal "calling card", enter a URL in
           the box to the right - any future Internet request that
           AmphetaDesk makes will send this information.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
           <input type="text" name="user_http_referer" value="[$ get_setting("user_http_referer") $]" size="35" />
           <br /><small><strong>Example:</strong> http://www.myhomepage.com/weblog/</small>
        </td>
    </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>What's The Full Path To Your Preferred Browser?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           If AmphetaDesk doesn't open your preferred browser, you may
           enter the full path to the browser here. AmphetaDesk will try
           to open that browser with the correct url. An entry of
           "default" will use your computer's default setting.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
           <input type="text" name="user_browser_path" value="[$ get_setting("user_browser_path") $]" size="35" />
           <br /><small><strong>Example:</strong> C:\Program~1\Mozilla\mozilla.exe
           <br /><strong>Example:</strong> MacHD:Internet Applications:iCab
           <br /><strong>Example:</strong> /usr/bin/netscape/netscape<br /></small>
        </td>
    </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>Should AmphetaDesk Be Accessible From Other Computers?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           AmphetaDesk can be usable solely by the computer it's
           installed on, or you can allow it to be accessed by other
           machines, handy if you've installed AmphetaDesk on a server
           and want to use it from different locations throughout the
           day. Anyone who knows your computer's IP address will have
           full access. <strong>Changes will take effect the next time
           AmphetaDesk is run.</strong>
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
        [$ if (get_setting("user_allow_nonlocal_conn"))  { $OUT .= qq{
           <select name="user_allow_nonlocal_conn">
              <option selected="selected" value="1">Allow Other Computers</option>
              <option value="0">Allow Just My Computer</option>
           </select>
        }; } else { $OUT .= qq{
           <select name="user_allow_nonlocal_conn">
              <option selected="selected" value="0">Allow Just My Computer</option>
              <option value="1">Allow Other Computers</option>
           </select>
        }; } $]
        </td>
    </tr>

    <tr><td valign="top" bgcolor="#ffffcc" colspan="2"><strong>How Long Before AmphetaDesk Gives Up?</strong></td></tr>
    <tr><td bgcolor="#ffffff"><small>
           Each time AmphetaDesk contacts the outside world, it'll wait
           a certain amount of time for a response from the remote
           server before giving up. The default is 10 seconds but if
           you'd like to increase or decrease this timeout, enter the
           number of seconds here.
        </small></td>
        <td width="300" bgcolor="#ffffff" align="center">
           <input type="text" name="user_request_timeout" value="[$ get_setting("user_request_timeout") $]" size="6" /> seconds
        </td>
    </tr>
    </table>


<!-- end silliness -->
</td></tr></table>


<!-- begin the instructions for how to use this page. -->
<table cellspacing="8" cellpadding="4" border="0" width="90%" align="center"><tr align="center">
   <td>
      <input type="submit" name="reconfigure" value="Save Your Configuration" />
      <table width="100%"><tr><td align="center">Above are modifiable settings within AmphetaDesk.
      <br /><strong>Make your changes</strong> and then click "Save Your Configuration".
      <br /><small><font color="#666666">Options are in the order of "most useful" to "esoteric mumbo jumbo".</font></small></td></tr></table>
   </td>
</tr></table>
</form>


[$ include( catfile( get_setting("dir_templates"), "tpl_footer.html") ) $]
