changed the title tag value of the site home page

This commit is contained in:
hyung-hwan 2015-04-01 08:10:12 +00:00
parent 106730e32c
commit 476dfe6a6e

View File

@ -26,11 +26,12 @@ function render_wiki()
} }
</script> </script>
<?php <title><?php
$caption = $this->lang->line('Home'); if (!isset($login['id']) || $login['id'] == '')
if ($login['id'] != '') $caption .= "({$login['id']})"; printf ('%s', htmlspecialchars($site->name));
?> else
<title><?=htmlspecialchars($caption)?></title> printf ('%s - %s', htmlspecialchars($site->name), $login['id']);
?></title>
</head> </head>
<body onload="render_wiki()"> <body onload="render_wiki()">