فهرست منبع

增加分栏功能

Bhikkhu-Kosalla 5 سال پیش
والد
کامیت
590075a54c

+ 6 - 1
app/article/index.php

@@ -215,7 +215,11 @@ require_once "../pcdl/html_head.php";
 		echo "<button class='icon_btn'  title='{$_local->gui->modify} {$_local->gui->composition_structure}'>";
 		echo "<a href='../article/my_article_edit.php?id=".$_GET["id"];
 		echo "'>{$_local->gui->modify}</a></button>";
-		
+
+		echo "<button class='icon_btn'  title='{$_local->gui->add}{$_local->gui->subfield}'>";
+		echo "<a href='../article/frame.php?id=".$_GET["id"];
+		echo "'>{$_local->gui->add}{$_local->gui->subfield}</a></button>";
+
 		if(isset($_GET["display"]) && $_GET["display"]=="para"){
 			echo "<button class='icon_btn active' title='{$_local->gui->show} {$_local->gui->each_paragraph}'>";
 			echo $_local->gui->each_paragraph;
@@ -247,6 +251,7 @@ require_once "../pcdl/html_head.php";
 			echo "'  title='{$_local->gui->show} {$_local->gui->each_sentence}'>{$_local->gui->each_sentence}</a></button>";
 		}
 
+		
 		?>
 			<button class='icon_btn'><a href="#"><?php echo $_local->gui->help; ?></a></button>
 		</span>

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

@@ -536,7 +536,7 @@
 		"example": "for example ",
 		"privacy": "privacy",
 		"new_composition": "new composition",
-		"add": "add",
+		"add": "add&nbsp;",
 		"completed": "completed",
 		"ongoing": "ongoing",
 		"popular": "popular",
@@ -561,6 +561,7 @@
 		"similar_sentences": "similar sentences",
 		"close": "close",
 		"timezone": "Timezone",
+		"subfield": "subfield",
 		"": ""
 	},
 	"grammastr": [

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

@@ -535,7 +535,7 @@
 		"example": "for example ",
 		"privacy": "privacy",
 		"new_composition": "new composition",
-		"add": "add",
+		"add": "add&nbsp;",
 		"completed": "completed",
 		"ongoing": "ongoing",
 		"popular": "popular",
@@ -560,6 +560,7 @@
 		"similar_sentences": "similar sentences",
 		"close": "close",
 		"timezone": "Timezone",
+		"subfield": "subfield",
 		"": ""
 	},
 	"grammastr": [

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

@@ -535,7 +535,7 @@
 		"example": "for example ",
 		"privacy": "privacy",
 		"new_composition": "new composition",
-		"add": "add",
+		"add": "add&nbsp;",
 		"completed": "completed",
 		"ongoing": "ongoing",
 		"popular": "popular",
@@ -560,6 +560,7 @@
 		"similar_sentences": "similar sentences",
 		"close": "close",
 		"timezone": "Timezone",
+		"subfield": "subfield",
 		"": "",
 		"": ""
 	},

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

@@ -540,7 +540,7 @@
 		"example": "for example ",
 		"privacy": "privacy",
 		"new_composition": "new composition",
-		"add": "add",
+		"add": "add&nbsp;",
 		"completed": "completed",
 		"ongoing": "ongoing",
 		"popular": "popular",
@@ -565,6 +565,7 @@
 		"similar_sentences": "similar sentences",
 		"close": "close",
 		"timezone": "Timezone",
+		"subfield": "subfield",
 		"": "",
 		"": ""
 	},

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

@@ -562,6 +562,7 @@
 		"similar_sentences": "相似句",
 		"close": "关闭",
 		"timezone": "时区",
+		"subfield": "分栏",
 		"": ""
 	},
 	"grammastr": [

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

@@ -562,6 +562,7 @@
 		"similar_sentences": "相似句",
 		"close": "關閉",
 		"timezone": "時區",
+		"subfield": "分欄",
 		"": ""
 	},
 	"grammastr": [

+ 10 - 0
app/reader/frame.php

@@ -0,0 +1,10 @@
+<html>
+
+<frameset cols="45%,55%">
+
+<frame src="./index.php?<?php echo $_SERVER['QUERY_STRING'];?>">
+<frame src="" name="nissaya">
+
+</frameset>
+
+</html>

+ 3 - 3
app/reader/index.php

@@ -249,9 +249,9 @@ require_once "../pcdl/html_head.php";
 		<span>
 		<input type="checkbox" onchange="setVisibility('palitext',this)" checked>Pali Text Visible
 		<?php
-		echo "<button class='icon_btn'  title='{$_local->gui->modify} {$_local->gui->composition_structure}'>";
-		echo "<a href='";
-		echo "'>{$_local->gui->edit}</a></button>";
+		echo "<button class='icon_btn'  title='{$_local->gui->add}{$_local->gui->subfield}'>";
+		echo "<a href='../article/frame.php?id=".$_GET["id"];
+		echo "'>{$_local->gui->add}{$_local->gui->subfield}</a></button>";
 		
 		if(isset($_GET["display"]) && $_GET["display"]=="para"){
 			echo "<button class='icon_btn active' title='{$_local->gui->show} {$_local->gui->each_paragraph}'>";