Remove Checkboxes from PHProxy
Please note that this isnt a ‘code friendly’ solution but who cares about code on a proxy?
This solution is very fast, and allows you to remove those checkboxes under the search bar, and its very simple, just find:
<?php
foreach ($GLOBALS['_flags'] as $flag_name => $flag_value)
{
if (!$GLOBALS['_frozen_flags'][$flag_name])
{
echo ‘<li class=”option”><label><input type=”checkbox” name=”‘ . $GLOBALS['_config']['flags_var_name'] . ‘[' . $flag_name . ']“‘ . ($flag_value ? ‘ checked=”checked”‘ : ”) . ‘ />’ . $GLOBALS['_labels'][$flag_name][1] . ‘</label></li>’ . “\n”;
}
}
?>
And edit it so it looks like the following: (Changes in bold)
<div=”style:none;”><?php
foreach ($GLOBALS['_flags'] as $flag_name => $flag_value)
{
if (!$GLOBALS['_frozen_flags'][$flag_name])
{
echo ‘<li class=”option”><label><input type=”checkbox” name=”‘ . $GLOBALS['_config']['flags_var_name'] . ‘[' . $flag_name . ']“‘ . ($flag_value ? ‘ checked=”checked”‘ : ”) . ‘ />’ . $GLOBALS['_labels'][$flag_name][1] . ‘</label></li>’ . “\n”;
}
}
?></div>
Hey, I did say it was simple