summaryrefslogtreecommitdiff
path: root/tpl/study/batch.php
diff options
context:
space:
mode:
authorNicolas BERNSTEIN <alexis211@gmail.com>2011-11-20 13:39:47 +0100
committerNicolas BERNSTEIN <alexis211@gmail.com>2011-11-20 13:39:47 +0100
commitd45c7f14891d951f8a6987cc6492073b97e05b5b (patch)
treed6467b1202c27f67fd8e894d25fd4aea0085b559 /tpl/study/batch.php
parent4d7e065c2d2ec407b6a7ebfc7569628bac9149d1 (diff)
downloadBits-d45c7f14891d951f8a6987cc6492073b97e05b5b.tar.gz
Bits-d45c7f14891d951f8a6987cc6492073b97e05b5b.zip
Added the bit list study system
Diffstat (limited to 'tpl/study/batch.php')
-rw-r--r--tpl/study/batch.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tpl/study/batch.php b/tpl/study/batch.php
new file mode 100644
index 0000000..666fdc8
--- /dev/null
+++ b/tpl/study/batch.php
@@ -0,0 +1,20 @@
+<?php
+
+$title = $info['uname'] . ':' . $info['lname'] . ' - ' . $info['bname'];
+
+$javascript = "\n\nconst batch_data = " . $info['json_data'] . ";\n\nconst reviews_data = $reviews;\n\n";
+$js_include = array("js/prototype.js", "js/liststudy.js");
+$onload_js = 'show_batch_table();';
+
+require("tpl/general/top.php");
+
+echo '<div class="small_right"><a href="batchreview-study-' . $info['batchid'] . '">test now</a></div>';
+
+echo '<h2>Items in this list</h2>';
+echo '<div id="items">Please wait, processing...</div>';
+echo '<h2>Reviews</h2>';
+echo '<div id="reviews">Please wait, processing...</div>';
+
+require("tpl/study/lib_sidebar.php");
+require("tpl/general/bottom.php");
+