diff interface/check_sections_details.php @ 8:da10158c6d0a

add toc_correction status in books table. On TOC correction list page, providing the status checking box for users.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 09 Feb 2015 12:28:09 +0100
parents 0e9a7c69f22c
children
line wrap: on
line diff
--- a/interface/check_sections_details.php	Fri Feb 06 09:44:17 2015 +0100
+++ b/interface/check_sections_details.php	Mon Feb 09 12:28:09 2015 +0100
@@ -113,8 +113,7 @@
         <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js" type="text/javascript"></script>
         <!--<script src="js/check_sections.js" charset="utf-8"></script>!-->
         
-
-
+        
 </head>
 <body>
 		<div id="loading">...</div>
@@ -139,14 +138,14 @@
 
 				?>
 				<table>
-					<thead>Show editing record:
+					<thead>Show editing records:
 						<button id="show_all">Show all</button>
 						<button id="close">Close</button>
 					</thead>
 					<tbody>
 						<tr>
-							<td>Editor(version)</td>
-							<td>Date/Time</td>
+							<td id="editor_th"></td>
+							<td id="date_th"></td>
 						</tr>
 						<tr>
 							<td><div id="editor"></div></td>
@@ -187,6 +186,8 @@
 		document.getElementById("show_all").onclick = function(){showAll()};
 
 		function showAll() {
+			document.getElementById("editor_th").innerHTML = "Editor(version)";
+			document.getElementById("date_th").innerHTML = "Date/Time";
 			
 			<?php
 				$editors = "";
@@ -212,6 +213,8 @@
 		document.getElementById("close").onclick = function(){closeAll()};
 
 		function closeAll() {
+			document.getElementById("editor_th").innerHTML = "";
+			document.getElementById("date_th").innerHTML = "";
 			document.getElementById("editor").innerHTML = "";
 			document.getElementById("date").innerHTML = "";
 		}