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 aef2420b65d9c9c67986d73f2d9fdb7f09dd4948..2e90ca011bd64f00bd86f5a6ab62406c5065957b 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 cf0ea0d049c190ed50e747df9ee77ab5d1edbac9..befb470dc4a6bec169397a17474bb52ff78dcd80 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" />