diff options
author | Arun Persaud <arun@nubati.net> | 2013-03-31 16:53:00 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2013-03-31 16:53:00 -0700 |
commit | 993e166c1634e0329547ea240e948e3feadef5ad (patch) | |
tree | 48d7f4179e1594f0c636aa3d662e9d8d28ee58a8 /include/preferences.php | |
parent | cc5ee43f916eb57516adfbd8c37f024cc9c728cb (diff) | |
download | e-DoKo-993e166c1634e0329547ea240e948e3feadef5ad.tar.gz e-DoKo-993e166c1634e0329547ea240e948e3feadef5ad.tar.bz2 e-DoKo-993e166c1634e0329547ea240e948e3feadef5ad.zip |
added a new set of LGPL licensed cards
Diffstat (limited to 'include/preferences.php')
-rw-r--r-- | include/preferences.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/preferences.php b/include/preferences.php index f0b33da..a69fd56 100644 --- a/include/preferences.php +++ b/include/preferences.php @@ -472,7 +472,16 @@ echo " </td></tr>\n"; echo ' <tr><td>'.('Card set').": </td><td>\n"; echo " <select id=\"cards\" name=\"cards\" size=\"1\">\n"; -echo " <option value=\"english\" selected=\"selected\">"._('English cards')."</option>\n"; +if($PREF['cardset']=="english2") + { + echo " <option value=\"english\" >"._('English cards')."</option>\n"; + echo " <option value=\"english2\" selected=\"selected\">"._('English cards 2')."</option>\n"; + } + else /* default */ + { + echo " <option value=\"english\" selected=\"selected\">"._('English cards')."</option>\n"; + echo " <option value=\"english2\" >"._('English cards 2')."</option>\n"; + }; echo " </select>"; if($changed_cards) echo _('changed'); echo " </td></tr>\n"; |