diff options
author | root <root@adnab.me> | 2014-01-31 16:42:40 +0100 |
---|---|---|
committer | root <root@adnab.me> | 2014-01-31 16:42:40 +0100 |
commit | b0c23ea84327d48e3a4383fac3e795c2dc0a1215 (patch) | |
tree | 625a8f0882815d9442a4ff2ec15a49e669a15ed3 /tpl/list | |
parent | cee55b766230837c21453f85e76a921cb5b8b89e (diff) | |
download | Bits-b0c23ea84327d48e3a4383fac3e795c2dc0a1215.tar.gz Bits-b0c23ea84327d48e3a4383fac3e795c2dc0a1215.zip |
Remove all studying apps code.
Diffstat (limited to 'tpl/list')
-rw-r--r-- | tpl/list/ef.php | 15 | ||||
-rw-r--r-- | tpl/list/index.php | 20 | ||||
-rw-r--r-- | tpl/list/new.php | 8 | ||||
-rw-r--r-- | tpl/list/view.php | 29 |
4 files changed, 0 insertions, 72 deletions
diff --git a/tpl/list/ef.php b/tpl/list/ef.php deleted file mode 100644 index 1e7387a..0000000 --- a/tpl/list/ef.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -require("tpl/general/top.php"); - -if (isset($fields)) - require("tpl/general/inc_form.php"); - -echo '</div><div class="contents-left">'; - -echo '<h1>' . $list['name'] . '</h1>'; -echo '<ul><li><a href="view-list-' . $list['id'] . '">Back to list</a></li>'; -echo '<li><a href="edit-list-' . $list['id'] . '">Edit list</a></li>'; -echo '<li><a href="addbatch-list-' . $list['id'] . '">Add batch to list</a></li>'; -echo '</ul>'; - -require("tpl/general/bottom.php"); diff --git a/tpl/list/index.php b/tpl/list/index.php deleted file mode 100644 index 85a503c..0000000 --- a/tpl/list/index.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -$title = "Study lists"; - -if ($user['id'] == 0) $message = "Hey, you should create an account so that you can study with us!"; - -require("tpl/general/top.php"); - -echo '<div class="ordering_links">' . filters_html_full() . '</div>'; - -echo "<table><tr><th>Name</th><th>Users</th>"; -foreach ($lists as $list) { - echo '<tr><td><code>' . $list["owner"] . ':<a href="view-list-' . $list['id'] . '">' . $list["name"] . '</a></code></td>'; - echo '<td>' . $list["nbUsers"] . '</td></tr>'; -} -echo "</table>"; - -require("tpl/study/lib_sidebar.php"); - -require("tpl/general/bottom.php"); diff --git a/tpl/list/new.php b/tpl/list/new.php deleted file mode 100644 index 1f7e81e..0000000 --- a/tpl/list/new.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php -require("tpl/general/top.php"); - -require("tpl/general/inc_form.php"); - -require("tpl/study/lib_sidebar.php"); - -require("tpl/general/bottom.php"); diff --git a/tpl/list/view.php b/tpl/list/view.php deleted file mode 100644 index 8b2c292..0000000 --- a/tpl/list/view.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -$title = $list['owner'] . ':' . $list['name']; -require("tpl/general/top.php"); - -if ($can_edit) { - echo '<div class="small_right"><a href="edit-list-' . $list['id'] . '">edit</a> | '; - echo '<a href="addbatch-list-' . $list['id'] . '">add batch</a></div>'; -} - -echo $list['comment']; - -if ($can_start_study) { - echo '<p style="text-align: center; font-size: 1.2em;"><a href="listadd-study-' . $listid . '">>> start studying this list <<</a></p>'; -} - -echo '<table><tr><th>Batch name</th>' . ($can_edit ? '<th>actions</th>' : '') . '</tr>'; -foreach ($batches as $batch) { - echo '<tr><td>' . $batch['name'] . '</td>'; - if ($can_edit) { - echo '<td><a href="edbatch-list-' . $batch['id'] . '">edit</a> | <a href="rmbatch-list-' . $batch['id'] . '">remove</a></td>'; - } - echo '</tr>'; -} -echo '</table>'; - -require("tpl/study/lib_sidebar.php"); - -require("tpl/general/bottom.php"); |