Bugfixing if no reflectorswitching in ysf
This commit is contained in:
parent
c829cde3ab
commit
42a98ddb4d
1 changed files with 13 additions and 1 deletions
|
@ -58,10 +58,22 @@
|
||||||
echo ' <a target="_new" href="http://'.$reflector[$i].'"><img src="images/dashboard.png" /></a>';
|
echo ' <a target="_new" href="http://'.$reflector[$i].'"><img src="images/dashboard.png" /></a>';
|
||||||
}
|
}
|
||||||
echo"</td>";
|
echo"</td>";
|
||||||
|
} else {
|
||||||
|
if ($i == 0) {
|
||||||
|
echo"<td>$reflector[$i]";
|
||||||
|
$i++;
|
||||||
|
if ($reflector[$i] !=="") {
|
||||||
|
if (startsWith($reflector[$i],"http"))
|
||||||
|
echo ' <a target="_new" href="'.$reflector[$i].'"><img src="images/dashboard.png" /></a>';
|
||||||
|
else
|
||||||
|
echo ' <a target="_new" href="http://'.$reflector[$i].'"><img src="images/dashboard.png" /></a>';
|
||||||
|
}
|
||||||
|
echo"</td>";
|
||||||
} else {
|
} else {
|
||||||
echo"<td>$reflector[$i]</td>";
|
echo"<td>$reflector[$i]</td>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
$counter++;
|
$counter++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue