From: Roland Häder Date: Mon, 4 Jul 2011 08:14:06 +0000 (+0000) Subject: Fixes/improvements, missing version 0.1.3 for ext-autpurge added X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=943db228278ea944760da252882a2211089d8b37 Fixes/improvements, missing version 0.1.3 for ext-autpurge added --- diff --git a/inc/extensions/ext-autopurge.php b/inc/extensions/ext-autopurge.php index 1fc0951f73..83d8af65ea 100644 --- a/inc/extensions/ext-autopurge.php +++ b/inc/extensions/ext-autopurge.php @@ -94,7 +94,7 @@ switch (getExtensionMode()) { addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` ADD `ap_notified` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0"); // Update notes (these will be set as task text!) - setExtensionUpdateNotes("Automatisches Lö:schen von inaktiven bzw. nicht bestätigten Accounts hinzugefügt."); + setExtensionUpdateNotes("Automatisches Löschen von inaktiven bzw. nicht bestätigten Accounts hinzugefügt."); break; case '0.1.2': // SQL queries for v0.1.2 @@ -102,6 +102,11 @@ switch (getExtensionMode()) { setExtensionUpdateNotes("Automatisches Löschen von als zu löschen markierte Tasks hinzugefügt."); break; + case '0.1.3': // SQL queries for v0.1.3 + // Update notes (these will be set as task text!) + setExtensionUpdateNotes("Nicht mehr verwendetes Update."); + break; + case '0.1.4': // SQL queries for v0.1.4 // Update notes (these will be set as task text!) setExtensionUpdateNotes("Fehler
Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227
behoben."); @@ -109,7 +114,6 @@ switch (getExtensionMode()) { case '0.1.5': // SQL queries for v0.1.5 // Update notes (these will be set as task text!) - setExtensionUpdateNotes("Anstelle von ref_depth wurde level programmiert."); break; diff --git a/inc/extensions/ext-iso3166.php b/inc/extensions/ext-iso3166.php index 6eef445f37..8fa328ab83 100644 --- a/inc/extensions/ext-iso3166.php +++ b/inc/extensions/ext-iso3166.php @@ -61,12 +61,12 @@ switch (getExtensionMode()) { case 'activate': // Do stuff when admin activates this extension // SQL commands to run - addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET is_active = 'Y' WHERE provider = 'ext-iso3166';"); + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET `is_active`='Y' WHERE `provider`='ext-iso3166';"); break; case 'deactivate': // Do stuff when admin deactivates this extension // SQL commands to run - addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET is_active='N' WHERE provider = 'ext-iso3166';"); + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET `is_active`='N' WHERE `provider`='ext-iso3166';"); break; case 'update': // Update an extension diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 4b9ee0e013..8a3d3335a4 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -98,13 +98,16 @@ function addYouAreHereLink ($accessLevel, $FQFN, $return = false) { // This is a 'what file'! $type = 'what'; $search = substr($file, 5); - $ADD = " AND `visible`='Y' AND `locked`='N'"; // Get access level from it $modCheck = getModuleFromFileName($file, $accessLevel); // Do we have admin? Then display all - if (isAdmin()) $ADD = ''; + $ADD = " AND `visible`='Y' AND `locked`='N'"; + if (isAdmin()) { + // Display all! + $ADD = ''; + } // END - if $dummy = substr($search, 0, -4); $ADD .= sprintf(" AND `action`='%s'", getActionFromModuleWhat($accessLevel, $dummy));