diff options
Diffstat (limited to 'tpl/deck/view.php')
-rw-r--r-- | tpl/deck/view.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tpl/deck/view.php b/tpl/deck/view.php deleted file mode 100644 index d15de4e..0000000 --- a/tpl/deck/view.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -$title = $deck["owner"] . ':' . $deck["name"]; - -require("tpl/general/top.php"); - -if ($can_edit) { - echo '<div class="small_right"><a href="edit-deck-' . $deck['id'] . '">edit</a> | '; - echo '<a href="addent-deck-' . $deck['id'] . '">add card</a></div>'; -} - -echo $deck["comment"]; - -if ($can_start_study) { - echo '<p style="text-align: center; font-size: 1.2em;"><a href="deckadd-study-' . $deckid . '">>> start studying this deck <<</a></p>'; -} - -echo '<div class="ordering_links">' . filters_html_full() . '</div>'; -foreach ($cards as $card) { - echo '<div class="study_card">'; - if ($can_edit) { - echo '<div class="small_right"><a href="edent-deck-' . $card['id'] . '">edit</a> | <a href="rment-deck-' . $card['id'] . '">remove</a> | '; - echo '<a href="#" onclick="if (pos = prompt(\'What position do you want to move this card to ?\', ' . $card['number'] . ')) { window.location = \'mvent-deck-' . $card['id'] . '-\' + pos; }">move</a>'; - echo '</div>'; - } - echo '<code>#' . $card["number"] . ": " . $card["name"] . '</code>'; - echo $card['text']; - echo '</div>'; -} -if ($can_edit) - echo '<a class="tool_link" href="addent-deck-' . $deck['id'] . '">[+] add card</a>'; - -require("tpl/study/lib_sidebar.php"); - -require("tpl/general/bottom.php"); |