changed title of some pages

This commit is contained in:
hyung-hwan 2015-04-01 08:01:46 +00:00
parent f06898a1af
commit 106730e32c
10 changed files with 47 additions and 10 deletions

View File

@ -50,7 +50,12 @@ $(function () {
});
</script>
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($headpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($headpath));
?></title>
</head>
<body onload="prettyPrint()">

View File

@ -12,7 +12,12 @@
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($headpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($headpath));
?></title>
</head>
<body onload="prettyPrint()">

View File

@ -77,7 +77,12 @@ function showRawCode()
</script>
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($headpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($headpath));
?></title>
</head>
<body onload="renderCode()">

View File

@ -185,7 +185,12 @@ $(function () {
<?php endif; ?>
</script>
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($headpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($headpath));
?></title>
</head>
<body>

View File

@ -6,7 +6,12 @@
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($fullpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($fullpath));
?></title>
</head>
<body>

View File

@ -174,7 +174,12 @@ function render_wiki()
}
</script>
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($headpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($headpath));
?></title>
</head>
<body onload="render_wiki()">

View File

@ -16,7 +16,12 @@
$file_count = count($file['content']);
?>
<title><?=htmlspecialchars($project->name)?></title>
<title><?php
if ($headpath == '')
printf ('%s', htmlspecialchars($project->name));
else
printf ('%s-%s', htmlspecialchars($project->name), htmlspecialchars($headpath));
?></title>
</head>
<body>

View File

@ -57,7 +57,7 @@ function render_wiki()
}
</script>
<title><?=htmlspecialchars($file->name)?></title>
<title><?=htmlspecialchars($project->name)?> - <?=htmlspecialchars($file->name)?></title>
</head>
<body onload="render_wiki()">

View File

@ -151,7 +151,7 @@ $(function () {
});
</script>
<title><?=htmlspecialchars($project->id)?> <?=htmlspecialchars($issue->type)?> <?=htmlspecialchars($issue->id)?></title>
<title><?=htmlspecialchars($project->name)?> - <?=$this->lang->line('Issue')?> <?=htmlspecialchars($issue->id)?></title>
</head>
<body onload="render_wiki()">

View File

@ -19,7 +19,9 @@
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
<title><?=htmlspecialchars($wiki->name)?></title>
<title><?php
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($wiki->name));
?></title>
</head>
<?php