// Normally we want the overview of all registered theme_check
$mode = 'overview';
-$SEL = '0';
// Get response from our server
$response = sendGetRequest('check-themes.php');
// Are theme_check found?
-if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) {
+if (($response[count($response) - 1] == '[EOF]') && ($response[0] != '[EOF]')) {
// Ok, mark found and create the array
$themes = array(
'fname' => array(), // File names
$value = str_replace("\n", '', $value); $ver = '';
// Leave loop when data is invalid or EOF?
- if ((substr($value, 0, 6) == "theme-") && (substr($value, -4) == ".zip")) {
+ if ((substr($value, 0, 6) == 'theme-') && (substr($value, -4) == '.zip')) {
// Extract name and version
$name = substr($value, 6, -4);
$ver = trim(substr($response[$idx + 3], 4));