You can remove the URL box on the homepage by removing this code from your main.php in the theme folder:
|
Code:
|
<form action="includes/process.php?action=update" method="post" onsubmit="return updateLocation(this);" class="form">
<input type="text" name="u" id="input" size="40" class="textbox">
<input type="submit" value="Go" class="button">
[<a style="cursor:pointer;" onclick="document.getElementById('options').style.display = (document.getElementById('options').style.display=='none'?'':'none')">options</a>]
<ul id="options">
<?php foreach ( $toShow as $option ) echo <<<HTML
<li>
<input type="checkbox" name="{$option['name']}" id="{$option['name']}"{$option['checked']}>
<label for="{$option['name']}" class="tooltip" onmouseover="tooltip('{$option['escaped_desc']}')" onmouseout="exit();">{$option['title']}</label>
</li>
HTML;
?>
</ul>
<br style="clear: both;">
</form> |
To add a link to go to a site via your proxy add this code where you deleted the URL box code:
|
Code:
|
<?php
echo "<a href=\"", proxifyURL('http://example.com'), "\">Site Name</a>";
?> |