X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions%2Fext-imprint.php;h=b0c97006ac1cc21efda194658f597fb1b4bacd16;hb=fe6fe72f6e020b48d22956e38a970a05d04a8051;hp=c4aad9927b358e1f7db5359ce666a87bba038b9f;hpb=5c4d360166de238420eec3e5f4e694befb09ab5d;p=mailer.git diff --git a/inc/extensions/ext-imprint.php b/inc/extensions/ext-imprint.php index c4aad9927b..b0c97006ac 100644 --- a/inc/extensions/ext-imprint.php +++ b/inc/extensions/ext-imprint.php @@ -41,10 +41,10 @@ if (!defined('__SECURITY')) { } // END - if // Version number -setThisExtensionVersion('0.0'); +setThisExtensionVersion('0.0.0'); -// Version history array (add more with , '0.1.0' and so on) -setExtensionVersionHistory(array('0.0')); +// Version history array (add more with , '0.0.1' and so on) +setExtensionVersionHistory(array('0.0.0')); // This extension is in development (non-productive) enableExtensionProductive(false); @@ -55,10 +55,10 @@ switch (getExtensionMode()) { addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `what`='impressum' LIMIT 1"); // Extend guest menu - addGuestMenuSql('main','imprint','Impressum','N','N',4); + addGuestMenuSql('main', 'imprint', 'Impressum', 4); // Extend admin menu - addAdminMenuSql('setup','config_imprint','Impressum','Einstellungen zum Impressum.',8); + addAdminMenuSql('setup', 'config_imprint', 'Impressum', 'Einstellungen zum Impressum.', 8); // Extend config with with entries addConfigAddSql('imprint_image_url', "VARCHAR(255) NOT NULL DEFAULT ''"); @@ -66,13 +66,13 @@ switch (getExtensionMode()) { // Create imprint data table addDropTableSql('imprint_data'); - addCreateTableSql('imprint_data', "( + addCreateTableSql('imprint_data', " `imprint_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `imprint_key` VARCHAR(255) NOT NULL DEFAULT '', `imprint_value` VARCHAR(255) NOT NULL DEFAULT '', -UNIQUE (`imprint_key`), -PRIMARY KEY (`imprint_id`) -) ENGINE = {?_TABLE_TYPE?} CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT = 'Imprint data'"); +PRIMARY KEY (`imprint_id`), +UNIQUE (`imprint_key`)", + 'Imprint data'); // Init imprint data addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_imprint_data` (`imprint_key`) VALUES ('company'),('surname'),('family'),('street_nr1'),('street_nr2'),('zip'),('city'),('state'),('country'),('phone'),('fax'),('email'),('footer')");