Skip to content

Commit

Permalink
Release 0.42
Browse files Browse the repository at this point in the history
* fixed: the CSV export does not support the combined field kit_zip_city
* fixed: problem accessing language files at BlackCat CMS environment
* changed: precheck.php does no longer check for Dwoo and DropletsExtension at BlackCat CMS environment
  • Loading branch information
hertsch committed Nov 21, 2013
1 parent 00c5580 commit 391c513
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ Ralf Hertsch <[email protected]>
http://phpmanufaktur.de
(c) 2011-2013 - phpManufaktur by Ralf Hertsch

Release 0.42 - NOT PUBLISHED
Release 0.42 - 2013-11-21

* fixed: the CSV export does not support the combined field kit_zip_city
* fixed: problem accessing language files at BlackCat CMS environment
* changed: precheck.php does no longer check for Dwoo and DropletsExtension at
BlackCat CMS environment

Release 0.41 - 2013-01-03

Expand Down Expand Up @@ -254,4 +257,4 @@ Release 0.11 - 2011-04-13

Release 0.10 - 2011-04-01

* First Beta Release
* First Beta Release
2 changes: 1 addition & 1 deletion info.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$module_directory = 'kit_form';
$module_name = 'kitForm';
$module_function = 'tool';
$module_version = '0.41';
$module_version = '0.42';
$module_status = 'Stable';
$module_platform = '2.8';
$module_author = 'Ralf Hertsch, Berlin (Germany)';
Expand Down
17 changes: 14 additions & 3 deletions initialize.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,25 @@

// for extended error reporting set to true!
if (!defined('KIT_DEBUG')) define('KIT_DEBUG', true);

require_once (LEPTON_PATH . '/modules/kit_tools/debug.php');

// use LEPTON 2.x I18n for access to language files
if (!class_exists('LEPTON_Helper_I18n')) require_once LEPTON_PATH . '/modules/' . basename(dirname(__FILE__)) . '/framework/LEPTON/Helper/I18n.php';
if (!class_exists('CAT_Helper_I18n') && !class_exists('LEPTON_Helper_I18n')) {
require_once LEPTON_PATH . '/modules/' . basename(dirname(__FILE__)) . '/framework/LEPTON/Helper/I18n.php';
}

global $I18n;

if (!is_object($I18n)) {
$I18n = new LEPTON_Helper_I18n();
if (class_exists('CAT_Helper_I18n')) {
// this is a BlackCat environment
$I18n = new CAT_Helper_I18n(array('lang' => LANGUAGE));
}
else {
// all other environments
$I18n = new LEPTON_Helper_I18n(array('lang' => LANGUAGE));
}
}
else {
$I18n->addFile('DE.php', LEPTON_PATH.'/modules/'.basename(dirname(__FILE__)).'/languages/');
Expand Down Expand Up @@ -100,4 +111,4 @@
$dbKITdirList->sqlAlterTableAddField(dbKITdirList::field_file_orgin, "VARCHAR(255) NOT NULL DEFAULT ''", dbKITdirList::field_id);
}

?>
?>
22 changes: 12 additions & 10 deletions precheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@
'version' => '0.68',
'problem' => 'dbConnect_LE => <b><a href="https://addons.phpmanufaktur.de/download.php?file=dbConnect_LE" target="_blank">Download actual version</a></b>'
),
'Dwoo' => array(
'directory' => 'dwoo',
'version' => '0.16',
'problem' => 'Dwoo => <b><a href="https://addons.phpmanufaktur.de/download.php?file=Dwoo" target="_blank">Download actual version</a></b>'
),
'dropletsExtension' => array(
'directory' => 'droplets_extension',
'version' => '0.24',
'problem' => 'dropletsExtension => <b><a href="https://addons.phpmanufaktur.de/download.php?file=dropletsExtension" target="_blank">Download actual version</a></b>'
),
'KeepInTouch' => array(
'directory' => 'kit',
'version' => '0.10',
Expand Down Expand Up @@ -92,6 +82,18 @@
),
);

if (!defined('CAT_VERSION')) {
$check['Dwoo'] = array(
'directory' => 'dwoo',
'version' => '0.16',
'problem' => 'Dwoo => <b><a href="https://addons.phpmanufaktur.de/download.php?file=Dwoo" target="_blank">Download actual version</a></b>'
);
$check['dropletsExtension'] = array(
'directory' => 'droplets_extension',
'version' => '0.24',
'problem' => 'dropletsExtension => <b><a href="https://addons.phpmanufaktur.de/download.php?file=dropletsExtension" target="_blank">Download actual version</a></b>'
);
}
$versionSQL = "SELECT `version` FROM `".TABLE_PREFIX."addons` WHERE `directory`='%s'";

foreach ($check as $name => $addon) {
Expand Down

0 comments on commit 391c513

Please sign in to comment.