changed title of some pages
This commit is contained in:
		| @ -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()"> | ||||
|  | ||||
| @ -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()"> | ||||
|  | ||||
| @ -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()"> | ||||
|  | ||||
| @ -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> | ||||
|  | ||||
| @ -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> | ||||
|  | ||||
| @ -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()"> | ||||
|  | ||||
| @ -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> | ||||
|  | ||||
| @ -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()"> | ||||
|  | ||||
| @ -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()"> | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user