diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:36:17 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:36:17 +0100 |
commit | 138865bbde25bb6193930c98e30c33913d19e367 (patch) | |
tree | 626e8e26dd4f4776ce9f8cd743987f08377127ed /admin/template.php | |
parent | 5f2b708377aec4bc5f1d731dfbb50557552d0482 (diff) | |
download | planet-138865bbde25bb6193930c98e30c33913d19e367.tar planet-138865bbde25bb6193930c98e30c33913d19e367.tar.gz planet-138865bbde25bb6193930c98e30c33913d19e367.tar.bz2 planet-138865bbde25bb6193930c98e30c33913d19e367.tar.xz planet-138865bbde25bb6193930c98e30c33913d19e367.zip |
Install code QA helpers, enforce PSR2
Installs phpcs, phpmd, parallel-lint, phpstan.
Diffstat (limited to 'admin/template.php')
-rwxr-xr-x | admin/template.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/admin/template.php b/admin/template.php index 7818bef..964c639 100755 --- a/admin/template.php +++ b/admin/template.php @@ -1,4 +1,6 @@ -<?php if(!isset($admin_access)) return; ?> +<?php if (!isset($admin_access)) { + return; +} ?> <!DOCTYPE html> <html lang="en"> <head> @@ -26,8 +28,7 @@ <p><a href="../"><?=_g('Back to main page')?></a></p> </header> - <?php if($admin_access == 1) : ?> - + <?php if ($admin_access == 1) : ?> <p class="logout"><a href="logout.php"><?=_g('Logout')?></a></p> <nav> <ul> |