We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3dd5c commit 8925c04Copy full SHA for 8925c04
src/templates/LoginRequired.inc.phtml
@@ -0,0 +1,11 @@
1
+<?php /* vim: set colorcolumn= expandtab shiftwidth=2 softtabstop=2 tabstop=4 smarttab: */
2
+namespace BNETDocs\Templates;
3
+use \CarlBennett\MVC\Libraries\Common; ?>
4
+<div class="alert alert-danger clearfix">
5
+ <p class="mb-0">You must be <strong>logged in</strong> and have <strong>sufficient permission</strong> to access this resource.</p>
6
+</div>
7
+<div class="text-center">
8
+ <a class="btn btn-primary" href="javascript:history.go(-1);">Back</a>
9
+ <a class="btn btn-success" href="<?=Common::relativeUrlToAbsolute(
10
+ '/user/login?return=' . rawurlencode(getenv('REQUEST_URI')))?>">Log in</a>
11
0 commit comments