admin: allow to show workers on hidden coins

This commit is contained in:
Tanguy Pruvot 2016-07-12 14:49:52 +02:00
parent 4ccd8248bd
commit 5cf1a94dac

View file

@ -10,6 +10,9 @@ foreach($algos as $a) {
else
$algo_opts .= "<option value='$a'>$a</option>";
}
if (!strstr($algo_opts, 'selected') && $this->admin) {
$algo_opts = "<option value=\"$algo\" selected>$algo</option>" . $algo_opts;
}
echo <<<end
<div align="right" style="margin-top: -14px; margin-bottom: -6px; margin-right: 140px;">