From d45c7f14891d951f8a6987cc6492073b97e05b5b Mon Sep 17 00:00:00 2001 From: Nicolas BERNSTEIN Date: Sun, 20 Nov 2011 13:39:47 +0100 Subject: Added the bit list study system --- tpl/list/ef.php | 15 +++++++++++++++ tpl/list/index.php | 20 ++++++++++++++++++++ tpl/list/new.php | 8 ++++++++ tpl/list/view.php | 29 +++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 tpl/list/ef.php create mode 100644 tpl/list/index.php create mode 100644 tpl/list/new.php create mode 100644 tpl/list/view.php (limited to 'tpl/list') diff --git a/tpl/list/ef.php b/tpl/list/ef.php new file mode 100644 index 0000000..1e7387a --- /dev/null +++ b/tpl/list/ef.php @@ -0,0 +1,15 @@ +
'; + +echo '

' . $list['name'] . '

'; +echo ''; + +require("tpl/general/bottom.php"); diff --git a/tpl/list/index.php b/tpl/list/index.php new file mode 100644 index 0000000..85a503c --- /dev/null +++ b/tpl/list/index.php @@ -0,0 +1,20 @@ +' . filters_html_full() . '
'; + +echo ""; +foreach ($lists as $list) { + echo ''; + echo ''; +} +echo "
NameUsers
' . $list["owner"] . ':' . $list["name"] . '' . $list["nbUsers"] . '
"; + +require("tpl/study/lib_sidebar.php"); + +require("tpl/general/bottom.php"); diff --git a/tpl/list/new.php b/tpl/list/new.php new file mode 100644 index 0000000..1f7e81e --- /dev/null +++ b/tpl/list/new.php @@ -0,0 +1,8 @@ +edit | '; + echo 'add batch'; +} + +echo $list['comment']; + +if ($can_start_study) { + echo '

>> start studying this list <<

'; +} + +echo '' . ($can_edit ? '' : '') . ''; +foreach ($batches as $batch) { + echo ''; + if ($can_edit) { + echo ''; + } + echo ''; +} +echo '
Batch nameactions
' . $batch['name'] . 'edit | remove
'; + +require("tpl/study/lib_sidebar.php"); + +require("tpl/general/bottom.php"); -- cgit v1.2.3