diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-07-11 12:47:08 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-07-11 12:47:08 +0200 |
commit | 015effb244be30eeee34a61080216de1ec2e2625 (patch) | |
tree | 54c884fb5555f10de8b16c8735539e5deb76192e /lib | |
parent | 822a630601960797266f0bae6aea3fdc3a141d5c (diff) | |
download | Bits-015effb244be30eeee34a61080216de1ec2e2625.tar.gz Bits-015effb244be30eeee34a61080216de1ec2e2625.zip |
Minor usability & presentation changes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/study/deck.php | 2 | ||||
-rw-r--r-- | lib/study/setcard.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/study/deck.php b/lib/study/deck.php index 99119ef..752ff98 100644 --- a/lib/study/deck.php +++ b/lib/study/deck.php @@ -78,7 +78,7 @@ $filters = array( "way" => $ord_ways, ); $fdefaults = array( - "what" => "level > 0 AND level < 4", + "what" => "level > 0 AND next_review <= CURDATE()", "order" => "level", "way" => "ASC", ); diff --git a/lib/study/setcard.php b/lib/study/setcard.php index 13f3fc0..c71bbfe 100644 --- a/lib/study/setcard.php +++ b/lib/study/setcard.php @@ -22,7 +22,7 @@ assert_error($info['cardnumber'] <= $info['last_card'] + 1, "You must first add $level = intval($args[3]); assert_error($level >= 0 && $level <= 7, "That level is invalid."); -$intervals = array(999999, 1, 3, 5, 8, 16, 24, 999999); +$intervals = array(999999, 1, 2, 4, 8, 16, 32, 999999); if ($info['cardnumber'] == $info['last_card'] + 1) { sql("INSERT INTO card_study(deck_study, card, level, next_review) ". |