diff --git a/Classes/Controller/ExtendController.php b/Classes/Controller/ExtendController.php index c808846..cd40917 100644 --- a/Classes/Controller/ExtendController.php +++ b/Classes/Controller/ExtendController.php @@ -73,9 +73,10 @@ public function dialogAction() // check if fe_user exists OR cookie for private usage is set // return empty string if ($user || $GLOBALS["TSFE"]->fe_user->getKey("ses", $this->settings['dialog']['cookieName'])) { + $this->view->assign('hideDialog', true); return; } - + //get request arguments $arguments = $this->request->getArguments(); @@ -83,10 +84,7 @@ public function dialogAction() if (isset($arguments['setCookie'])) { //set cookie for private user $GLOBALS["TSFE"]->fe_user->setKey("ses", $this->settings['dialog']['cookieName'], true); - try { - $this->redirectToKitodoView(['tx_dlf' => $kitodoParams]); - } catch (StopActionException $e) { - } + $this->redirectToKitodoView(['tx_dlf' => $kitodoParams]); } //add assets diff --git a/Resources/Private/Extensions/femanager/Templates/Extend/Dialog.html b/Resources/Private/Extensions/femanager/Templates/Extend/Dialog.html index 4d0c295..b4e8cea 100644 --- a/Resources/Private/Extensions/femanager/Templates/Extend/Dialog.html +++ b/Resources/Private/Extensions/femanager/Templates/Extend/Dialog.html @@ -3,65 +3,68 @@ data-namespace-typo3-fluid="true" lang="en"> -
+ + +
-

-

- -

+

+

+ +

-
-
- -
-
- -
-
+
+
+ +
+
+ +
+
-
- - - -
+
+ + + +
-
- -
+
+ +
-

- -

+

+ +

- -
+ +
+ +