Issue #1625 body class definition in section init

Initialize body_classes in common.inc.php
Add class for section and section id
also add class with search id
Class is added to $page in section_init now
Also add tis info to the body dataset for javascript use
This commit is contained in:
HWFord
2022-04-07 14:30:47 +02:00
parent 91c965e75e
commit 722c26a1b3
6 changed files with 43 additions and 31 deletions
+1
View File
@@ -51,6 +51,7 @@ $page = array(
'errors' => array(),
'warnings' => array(),
'messages' => array(),
'body_classes' => array(),
);
$user = array();
$lang = array();