1
0

Highlight active tab

This commit is contained in:
2018-01-03 01:03:43 +01:00
parent 17a81b9fea
commit 9bc4267c6a
7 changed files with 15 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ $allposts = Blog::listAllOrderedDescending();
<body>
<div id="mastercontainer">
<?php include (__DIR__ . '/../fragments/header.php'); ?>
<?php $HEADER_ACTIVE='blog'; include (__DIR__ . '/../fragments/header.php'); ?>
<div id="content" class="content-responsive">

View File

@@ -36,7 +36,7 @@ if ($post === NULL) httpError(404, 'blogpost not found');
<body>
<div id="mastercontainer">
<?php include (__DIR__ . '/../fragments/header.php'); ?>
<?php $HEADER_ACTIVE = ($post['type']==='euler' && $subview==='') ? 'euler' : 'none'; include (__DIR__ . '/../fragments/header.php'); ?>
<div id="content" class="content-responsive">

View File

@@ -11,7 +11,7 @@
<body>
<div id="mastercontainer">
<?php include (__DIR__ . '/../fragments/header.php'); ?>
<?php $HEADER_ACTIVE='home'; include (__DIR__ . '/../fragments/header.php'); ?>
<div id="content" class="content-responsive">