Continue link added, contributed by profi-concept. Partly resolves #3
[mailer.git] / inc / modules / admin / what-extensions.php
index 494b122..54c37e4 100644 (file)
@@ -306,6 +306,19 @@ case "register": // Register new extension
                                        // Extension was found and successfully registered
                                        LOAD_TEMPLATE("admin_settings_saved", false, getMessage('ADMIN_EXTENSION_REGISTERED'));
 
+                                       // Show next link
+                                       if (EXT_IS_ACTIVE("task")) {
+                                               LOAD_TEMPLATE("admin_next_link", false, array(
+                                                       'url'   => "modules.php?module=admin&what=list_task",
+                                                       'title' => getMessage('ADMIN_EXT_REGISTER_NEXT_LINK')
+                                               ));
+                                       } else {
+                                               LOAD_TEMPLATE("admin_next_link", false, array(
+                                                       'url'   => "modules.php?module=admin",
+                                                       'title' => getMessage('ADMIN_EXT_REGISTER_NEXT_LINK')
+                                               ));
+                                       }
+
                                        // Do we need to update cache file?
                                        if ((EXT_IS_ACTIVE("cache")) && ($cacheMode != "no")) {
                                                // Remove cache file (will be auto-created again!)