Skip to content
Snippets Groups Projects
Commit 18bf6c12 authored by Florian Schaal's avatar Florian Schaal
Browse files

FS#3551 - Change title of web pages

parent 568b4b12
No related branches found
No related tags found
1 merge request!203Master
......@@ -101,6 +101,10 @@ $app->tpl->setVar('base64_logo_width', $logo_dimensions[0].'px');
$app->tpl->setVar('base64_logo_height', $logo_dimensions[1].'px');
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
// Title
$server_config = $app->getconf->get_server_config(1, 'server');
$app->tpl->setVar('server_name', $server_config['hostname']);
$app->tpl_defaults();
$app->tpl->pparse();
?>
......@@ -3,7 +3,7 @@
<head>
<meta charset='utf-8' />
<title><tmpl_var name="app_title"> <tmpl_var name="app_version"></title>
<title><tmpl_var name="server_name"> :: <tmpl_var name="app_title"> [<tmpl_var name="app_version">]</title>
<meta name='viewport' content='width=device-width, user-scalable=yes'>
<meta name='description' lang='en' content='' />
......@@ -122,4 +122,4 @@
</script>
</body>
</html>
\ No newline at end of file
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment