From aa2452b0a508669bace2bb8baf69daf2d66285b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= <grosse@cosmocode.de>
Date: Fri, 21 Apr 2017 13:55:46 +0200
Subject: [PATCH] Move the highlightparent-plugin, because messages

The link from the highlightparent-plugin is supposed to stay inside the
grey bar at top of the page, even if there are messages. To facilitate
that, it's easiest to explicitly place it above the msg-area.

For this to work, the highlightparent-plugin must be updated.

SPR-944
---
 main.php | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/main.php b/main.php
index d4cfcb1..43de9d5 100755
--- a/main.php
+++ b/main.php
@@ -325,7 +325,13 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
                             </div>
 
                             <div class="qc-output"></div>
-
+                            <?php
+                            /** @var action_plugin_highlightparent $highlightParent */
+                            $highlightParent = plugin_load('action', 'highlightparent');
+                            if ($highlightParent) {
+                                echo $highlightParent->tpl();
+                            }
+                            ?>
                             <div class="msg-area"><?php html_msgarea();/*msg('Information.', 0);msg('Success', 1);msg('Notification', 2);msg('Fehler', -1);*/ ?></div>
                             <div class="clearer"></div>
                             <?php