Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
18bf6c12
Commit
18bf6c12
authored
Jun 21, 2015
by
Florian Schaal
Browse files
FS#3551 - Change title of web pages
parent
568b4b12
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/index.php
100644 → 100755
View file @
18bf6c12
...
...
@@ -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
();
?>
interface/web/themes/default/templates/main.tpl.htm
View file @
18bf6c12
...
...
@@ -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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment