170 Commits

Author SHA1 Message Date
moodler
8672ee3267 Slight re-arranging 2005-04-15 12:54:25 +00:00
thepurpleblob
86cc5db12a get_record(...)->field generates a parse error on my machine, so I split
it into two steps where it occurs.
2005-04-15 08:13:27 +00:00
danmarsden
cabf7c2397 show user what selection they made when updates are not allowed. 2005-04-15 01:40:22 +00:00
stronk7
7cfc54b918 Now user reports support filterall.
Bug 2930 fixed too.
(http://moodle.org/bugs/bug.php?op=show&bugid=2930)
2005-04-14 22:37:43 +00:00
danmarsden
c9ff813c41 new limit feature in choice. 2005-04-14 21:10:39 +00:00
stronk7
09972dd340 Some minor things:
- Clean filename.
  - Applied format_string to choice->name and answers.
  - Better parameter handling.
Remaining:
  - A lot of notices in line 148, breaking output with debug enabled!
2005-04-14 19:00:23 +00:00
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
danmarsden
ae2f3b4cbc output to excel and text now checks whether unanswered column should be shown before outputing data. 2005-04-12 22:53:22 +00:00
danmarsden
7b056dd39a problem with "not answererd yet" column on anon responses page. - diplaying admins and hidden teachers. 2005-04-12 20:49:51 +00:00
danmarsden
647396597a now allows download of choice responses to excel or text file 2005-04-11 22:59:32 +00:00
danmarsden
b9135eca2c fix for Bug #2883 - Choice Mod, - can't delete an existing option 2005-04-11 20:34:13 +00:00
thepurpleblob
7ae84175d9 Now 2005041100. Update wiki-like text format to Markdown. 2005-04-11 12:54:17 +00:00
thepurpleblob
68854d74ec Update all wiki-like text to Markdown. 2005-04-11 12:53:35 +00:00
stronk7
05097bb889 Now choice report log action is supported by restore. 2005-04-10 16:57:08 +00:00
stronk7
408f7c41b4 choice report log action wasn't saving cmid in logs table. 2005-04-10 16:55:32 +00:00
danmarsden
03ff2092c4 $options used by something else. 2005-04-07 22:22:22 +00:00
danmarsden
a3e22b3b9d no backticks in postgres!! 2005-04-07 03:17:43 +00:00
danmarsden
db38d2c92e wrong table names! :-) Bug #2848 2005-04-07 01:18:51 +00:00
mjollnir_
28a858cf02 Syntax fix for postgres upgrade for choice (now upgrades cleanly). Postgres7.sql missing a table, I think. Bug #2848 2005-04-06 21:20:10 +00:00
danmarsden
6308ca52a5 fix of postgres db upgrade. - Penny please test! :-) 2005-04-06 09:34:17 +00:00
danmarsden
abd7dfb38c this is all wrong - will try to clean up later tonight 2005-04-06 04:10:27 +00:00
mjollnir_
173a1cb5ef Some syntax fixes for postgres upgrade for choice. Still failing though, I am about to create a bug report for it 2005-04-06 01:55:52 +00:00
stronk7
524d7b9a7b One missing string to make choice->name works under filterall
(showing anonymous results)
2005-04-05 23:08:00 +00:00
danmarsden
f6eb109943 updating old choices didn't work. 2005-04-05 21:53:08 +00:00
danmarsden
90572dbb90 Fix for Bug #1901 - now "greys out" the privacy of results select if "do not publish" is selected. 2005-04-05 02:04:54 +00:00
danmarsden
af40722cc5 Fix for Bug #2435 - Hidden teachers and site admins are shown in no response list. 2005-04-05 00:35:05 +00:00
danmarsden
9bf3c5de4f Bug #2084 - Choice module has no "save my choice" for admin - missed a bit.... :-) 2005-04-01 03:33:44 +00:00
danmarsden
869366ec5c options[] is full of other values! 2005-04-01 03:30:12 +00:00
danmarsden
bd3ba1ddaf Bug #2084 - Choice module has no "save my choice" for admin 2005-04-01 03:26:35 +00:00
danmarsden
1c49ca9a09 Fix for Bug #2452 - Choice shows a bad number of answers 2005-04-01 02:37:19 +00:00
danmarsden
74550a3cbd this time..... :-) 2005-03-31 23:58:37 +00:00
danmarsden
649084b1e8 backing out previous fix - didn't get that right! 2005-03-31 23:02:39 +00:00
danmarsden
9ca8056ae0 don't add <p></p> tags when in vertical display mode. 2005-03-31 22:48:43 +00:00
stronk7
948cd185cb Fixed typo restoring choice_answers->userid 2005-03-31 07:45:19 +00:00
stronk7
73c1c663a3 Now restore of choices seems to work fine. It accept both 1.5 and
older choices. Please, test it with some 1.4 course with more than 1
choice. I haven't any in my battery of tests! (yep, I know I can
make it but... :-) )
2005-03-31 01:02:28 +00:00
stronk7
619be18379 Minor changes to and some typo to choice's backup.
Next step, choice's restore.
2005-03-31 00:00:34 +00:00
stronk7
dfde3b2069 alt tags in radio buttons were breaking display it they contain
lang tags. Now they are filtered against strip_tags() and processed
by format_text().

In vertical display, format_text() was using format_text (FORMAT_PLAIN),
not sure why and it was breaking multilang support, replacing all <> to
their htmlentities().
2005-03-30 23:34:04 +00:00
moodler
4094acdcc3 First very quick cut at fixes for backup (Eloy!!!) 2005-03-30 18:59:18 +00:00
moodler
ad7660be65 FIxes in vertical format 2005-03-30 18:48:42 +00:00
moodler
411362b268 FIx some notices 2005-03-30 18:47:57 +00:00
moodler
d1a673622a Fixed the rest of the basic interface now 2005-03-30 18:33:56 +00:00
moodler
bfe97ca600 Report works 2005-03-30 18:17:58 +00:00
moodler
5550ae839e Working view of choices (needs XHTML work yet) 2005-03-30 17:32:23 +00:00
moodler
864e30c968 Removed some unnecessary stuff 2005-03-30 17:07:09 +00:00
moodler
95836079dc Small fix: not crucial, but prevents some empty fields 2005-03-30 17:06:20 +00:00
moodler
a77a600994 First cut at new lib.php 2005-03-30 16:26:36 +00:00
moodler
3a925837fe Argh, typo in new field name 2005-03-30 16:24:19 +00:00
moodler
669dfa715a An emergency checkin to prevent Choice dataloss for anyone who may
be upgrading.

The module itself currently doesn't work at all ... I'm going
through and re-writing it.
2005-03-30 16:14:49 +00:00
moodler
5a9726e7ab This module is completely broken .... I'm working on it.
Here are some cleanups to start with
2005-03-30 04:32:36 +00:00