git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make title configurable
[phorkie.git]
/
www
/
www-header.php
diff --git
a/www/www-header.php
b/www/www-header.php
index 0a3b5628ce0d9c2e33c413b6b5e73a3a1c415fb0..756bdc97f936cabb95b0bfffae5c92c77c2fbd50 100644
(file)
--- a/
www/www-header.php
+++ b/
www/www-header.php
@@
-52,6
+52,8
@@
$twig = new \Twig_Environment(
function render($tplname, $vars)
{
$vars['css'] = $GLOBALS['phorkie']['cfg']['css'];
+ $vars['title'] = $GLOBALS['phorkie']['cfg']['title'];
+
$template = $GLOBALS['twig']->loadTemplate($tplname . '.htm');
echo $template->render($vars);
}