diff --git a/src/Controller/StateUsersController.php b/src/Controller/StateUsersController.php index 958f09ba0..8c53ee4d1 100644 --- a/src/Controller/StateUsersController.php +++ b/src/Controller/StateUsersController.php @@ -73,7 +73,7 @@ class StateUsersController extends AppController { $startTime = microtime(true); I18n::setLocale('de_DE'); - $this->viewBuilder()->setLayout('frontend'); + $this->viewBuilder()->setLayout('frontend_ripple'); $session = $this->getRequest()->getSession(); $result = $this->requestLogin(); if($result !== true) { diff --git a/src/Template/Element/navi_header.ctp b/src/Template/Element/navi_header.ctp new file mode 100644 index 000000000..cbc2eea97 --- /dev/null +++ b/src/Template/Element/navi_header.ctp @@ -0,0 +1,45 @@ +getRequest()->getSession(); +$errorCount = intval($session->read('StateUser.errorCount')); +$transactionPendings = $session->read('Transactions.pending'); + +/* +class NavHeaderEntry +{ + public function __construct($icon_name, $controller, $action, $title) { + ; + } + + public function +} +*/ +?> +
\ No newline at end of file diff --git a/src/Template/Layout/frontend_ripple.ctp b/src/Template/Layout/frontend_ripple.ctp new file mode 100644 index 000000000..1a29ba064 --- /dev/null +++ b/src/Template/Layout/frontend_ripple.ctp @@ -0,0 +1,140 @@ +"; +//echo "transactions pending: " . $transactionPendings; +?> + + + + = $this->Html->charset() ?> + += __("Community Server in Entwicklung") ?>
+Alpha 0.20.KW13.03
+