Display a proper message for non-productive extensions
authorRoland Häder <roland@mxchange.org>
Thu, 30 Jun 2011 21:44:16 +0000 (21:44 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 30 Jun 2011 21:44:16 +0000 (21:44 +0000)
inc/extensions-functions.php
inc/language/de.php

index a6a2e372cc7487910e7451b10345dab6fcab9661..463bf53ec7be4718e665008d37841cbef4663805 100644 (file)
@@ -1105,11 +1105,20 @@ function addExtensionNotes ($ext_ver) {
                        // Reset them
                        setExtensionUpdateNotes('', $ext_ver);
                } elseif (in_array($ext_ver, array('0.0', '0.0.0'))) {
-                       // Initial release
-                       $content = array(
-                               'ver'   => $ext_ver,
-                               'notes' => '{--INITIAL_RELEASE--}'
-                       );
+                       // Is the extension productive?
+                       if (isExtensionProductive(getCurrentExtensionName())) {
+                               // Initial release
+                               $content = array(
+                                       'ver'   => $ext_ver,
+                                       'notes' => '{--INITIAL_RELEASE--}'
+                               );
+                       } else {
+                               // Not productive
+                               $content = array(
+                                       'ver'   => $ext_ver,
+                                       'notes' => '{--DEVELOPER_RELEASE--}'
+                               );
+                       }
                } else {
                        // No update notes found
                        $content = array(
index 8df092cc5e8a6f550b6690f2972fc2441a80a592..d41405542d8b0b4c35d4c94156712e9f87f73a1b 100644 (file)
@@ -899,6 +899,7 @@ addMessages(array(
        'ADMIN_DELETE_NORMAL_MAIL' => "Mitglieder-Mail l&ouml;schen",
        'ADMIN_NORMAL_MAIL_ALREADY_DELETED' => "Mitglieder-Mail bereits gel&ouml;scht.",
        'INITIAL_RELEASE' => "Erstes Release fertiggestellt.",
+       'DEVELOPER_RELEASE' => "Entwickler-Version zum Testen.",
        'NO_UPDATE_NOTES' => "Keine Update-Hinweise gefunden.",
        'MYSQL_QUERY_STRING' => "SQL-Abfragebefehl war:",
        'MEMBER_NO_MAILS_IN_POOL' => "Sie haben noch keine Mailbuchungen aufgegeben! Es k&ouml;nnen somit Ihnen auch keine angezeigt werden.",