Added check for installation phase, this fixes the message of a missing template...
authorRoland Häder <roland@mxchange.org>
Tue, 27 Nov 2012 21:35:12 +0000 (21:35 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 27 Nov 2012 21:35:12 +0000 (21:35 +0000)
.gitattributes
inc/module-functions.php
templates/de/html/install/install_metadata.tpl [new file with mode: 0644]

index aef2420..2e90ca0 100644 (file)
@@ -1848,6 +1848,7 @@ templates/de/html/install/install_header.tpl svneol=native#text/plain
 templates/de/html/install/install_main_ajax.tpl svneol=native#text/plain
 templates/de/html/install/install_main_plain.tpl svneol=native#text/plain
 templates/de/html/install/install_menu.tpl svneol=native#text/plain
+templates/de/html/install/install_metadata.tpl svneol=native#text/plain
 templates/de/html/install/install_overview_failed.tpl svneol=native#text/plain
 templates/de/html/install/install_page1.tpl svneol=native#text/plain
 templates/de/html/install/install_page2.tpl svneol=native#text/plain
index cf0ea0d..befb470 100644 (file)
@@ -542,6 +542,9 @@ function getMenuModeFromModule () {
                } elseif (getModule() == 'admin') {
                        // Is admin area
                        $GLOBALS[__FUNCTION__] = 'admin';
+               } elseif (isInstallationPhase()) {
+                       // Is installation phase
+                       $GLOBALS[__FUNCTION__] = 'install';
                } else {
                        // Get it from filter
                        $GLOBALS[__FUNCTION__] = runFilterChain('determine_menu_mode');
diff --git a/templates/de/html/install/install_metadata.tpl b/templates/de/html/install/install_metadata.tpl
new file mode 100644 (file)
index 0000000..4633e1d
--- /dev/null
@@ -0,0 +1 @@
+<meta name="robots" content="noindex, nofollow, noarchive, nosnippet" />