<?php
/************************************************************************
- * MXChange v0.2.1 Start: 03/22/2004 *
- * ================ Last change: 12/13/2004 *
+ * Mailer v0.2.1-FINAL Start: 03/22/2004 *
+ * =================== Last change: 12/13/2004 *
* *
* -------------------------------------------------------------------- *
* File : what-extentions.php *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// 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));
// Extract language strings from reponse
$langDummy = explode('[nl]', $response[$idx + 4]);
$languages = array();
- $themeInfo = getMessage('ADMIN_EXT_NO_INFO_FOUND');
+ $themeInfo = getMessage('ADMIN_EXTENSION_NO_INFO_FOUND');
// Trim every data line
foreach ($langDummy as $k => $v) {