Browse Source

佛历页面名称

bhikkhu-kosalla-china 4 years ago
parent
commit
cee1f47c85

+ 2 - 0
app/calendar/index.html

@@ -1029,11 +1029,13 @@
 </head>
 
 <body>
+	<title id="page_title"></title>
 	<div id="top" style="display: inline-flex;width: 100vw;">
 		<div class="left" style="display: inline-flex;height: 5vh;margin: auto 1em;">
 			<span style="line-height: 5vh;white-space: nowrap;">
 				<script>
 					document.write(localString[g_language].timezone + ":");
+					$("#page_title").html(localString[g_language].BE);
 				</script>
 			</span>
 			<select id="time-zone-selector">

+ 7 - 4
app/pcdl/head_bar.php

@@ -474,16 +474,19 @@
 						<?php echo $_local->gui->more; ?>
 					</button>
 					<ul class="header-dropdown-content left-content" style="display: none;" id="nav-more">
-						<li><a href="../calendar/">
+					<li><a href="https://visuddhinanda.gitbook.io/pali-handbook/" target="_blank">
+								<div class="nav_link"><?php echo $_local->gui->palihandbook; ?></div>
+							</a></li>
+						<li><a href="../calendar/" target="_blank">
 								<div class="nav_link"><?php echo $_local->gui->buddhist_calendar; ?></div>
 							</a></li>
-						<li><a href="../tools/unicode.html">
+						<li><a href="../tools/unicode.html" target="_blank">
 								<div class="nav_link"><?php echo $_local->gui->code_convert; ?></div>
 							</a></li>
-						<li><a href="../statistics">
+						<li><a href="../statistics" target="_blank">
 								<div class="nav_link"><?php echo $_local->gui->corpus_statistics; ?></div>
 							</a></li>
-						<li><a href="../calendar/history.html">
+						<li><a href="../calendar/history.html" target="_blank">
 							<div class="nav_link"><?php echo $_local->gui->history; ?></div>
 						</a></li>
 					</ul>

+ 1 - 0
app/public/lang/default.json

@@ -639,6 +639,7 @@
 		"reference": "reference",
 		"original": "original",
 		"page_num": "page",
+		"palihandbook": "巴利手册",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/en.json

@@ -638,6 +638,7 @@
 		"reference": "reference",
 		"original": "original",
 		"page_num": "page",
+		"palihandbook": "巴利手册",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/my.json

@@ -638,6 +638,7 @@
 		"reference": "reference",
 		"original": "original",
 		"page_num": "page",
+		"palihandbook": "巴利手册",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/si.json

@@ -643,6 +643,7 @@
 		"reference": "reference",
 		"original": "original",
 		"page_num": "page",
+		"palihandbook": "巴利手册",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/zh-cn.json

@@ -641,6 +641,7 @@
 		"reference": "引用",
 		"original": "原创",
 		"page_num": "页码",
+		"palihandbook": "巴利手册",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/zh-tw.json

@@ -640,6 +640,7 @@
 		"reference": "引用",
 		"original": "原創",
 		"page_num": "頁碼",
+		"palihandbook": "巴利手冊",
 		"": ""
 	},
 	"grammastr": [