385 Commits

Author SHA1 Message Date
mjollnir_
c69dbe691e Merged from MOODLE_15_STABLE: (ish, version numbers different): Add an index where we really need it - block_instance.pagetype 2005-09-02 05:00:59 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
defacer
85311ca8d6 Now Quiz Results can be set into anonymous mode, where performance is shown
but student and group names are not disclosed. See relevant discussion at

http://moodle.org/mod/forum/discuss.php?d=29196

Version was also bumped up.

Incidentally, prefixed all defined constant names with "B_QUIZRESULTS_" to
avoid any conflicts with other things in the future.
2005-08-23 19:12:54 +00:00
mjollnir_
4374ee2ca9 Fixing warnings in my moodle/ blocks /pagelib, plus moved page->edit_always to base class 2005-08-23 04:48:34 +00:00
mjollnir_
347d7d2760 Recent activity block shouldn't go into my moode 2005-08-23 04:03:25 +00:00
martinlanghoff
af08f72b3d Merged from MOODLE_15_STABLE - Blocks upgrade - reduce memory consumption by a few GB and (postgres only) halve database traffic. 2005-08-18 00:04:02 +00:00
mjollnir_
e7fa4c7f14 Bumping blocks version for my moodle changes 2005-08-17 22:36:55 +00:00
mjollnir_
5d3715d492 Removed tiny amount of unncessary code I added as part of the my moodle block stuff yesterday 2005-08-16 23:17:56 +00:00
mjollnir_
84c57908c8 renaming block_student_loan_calc to block_loancalc 2005-08-16 05:56:55 +00:00
mjollnir_
3e920f36ff New block for student loan calculation. Doesn't contain db tables. 2005-08-16 01:45:42 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
dhawes
706dae5e6e phpdoc additions and spacing cleanup 2005-08-11 15:27:47 +00:00
dhawes
fd9576fb1b spacing tidy up 2005-08-11 12:45:38 +00:00
patrickslee
dbbbb588a3 Fixed a bug in postgres block upgrade script messing up with block ids (Merged from 15_STABLE) 2005-08-10 05:31:46 +00:00
urs_hunkler
340c48485e I replaced the center and font tags in this sideblock with <div class="message">. 2005-08-03 11:07:13 +00:00
dhawes
d396889452 should be fix for bug 3478 2005-08-01 14:02:46 +00:00
dhawes
d721fbd036 attempt to preserve on the merry go round of forms and link in rss feed creation 2005-07-31 20:04:19 +00:00
defacer
30d5bd7979 Merging from STABLE:
Fix for bug 3793:

Prevent warning message when configuring a glossary_random block in a
course which has no glossaries.
2005-07-23 00:53:55 +00:00
defacer
164e30542d Merging from STABLE:
Slight "correctness" correction.
2005-07-19 23:45:02 +00:00
thepurpleblob
26f747277b Removed set_default() calls and fixed some function calls that seem to have changed
in blocks library.
2005-07-07 14:10:19 +00:00
defacer
c7d6e27451 Fixing a notice: $this->footer wasn't always set.
This doesn't happen in 1.5 so it must have been a regression.
2005-07-06 00:51:20 +00:00
dhawes
340f819871 additional debug output when in debug mode 2005-06-28 21:21:59 +00:00
urs_hunkler
d87ea8e9e9 merged from 1.5 - removed padding-top from title, which made the title of the sideblock higher than the other ones. 2005-06-17 06:29:01 +00:00
thepurpleblob
ef2b429c09 Replaced require_variable() with required_param() 2005-06-15 15:01:40 +00:00
defacer
b33dd23adc Merging from STABLE:
Implementing Dan Marsden's great idea for additional hooks when block
instances are deleted (bug 3446). Going a step further and adding hooks
for when block instances are created.
2005-06-13 03:32:31 +00:00
defacer
7e9a11eb98 Merging from STABLE:
While researching bug 3478:

Consolidated handling of the incoming courseid parameter, as it was easy
to make an error the way this was written before.

In general, this script looks like it needs to be streamlined.
2005-06-13 02:38:48 +00:00
defacer
8023ab860a Merging from STABLE:
Fix for bug 2925:

When editing is turned on, the Main Menu should always display and give
the option of adding resources/activities in section 0 of the site.

Bad optimization code caused the drop downs to not be shown if there
was no section 0 (i.e., the site never had a news forum or an activity
in the Main Menu block).

FINALLY! :)

PS: Version bump, so that we know if people have the latest version of
the block. I 'm going to bump versions from now on when bugs are fixed.
2005-06-13 01:57:33 +00:00
thepurpleblob
2d9a7768f8 Whoops! Current action is optional not required. 2005-06-10 10:42:32 +00:00
thepurpleblob
f2e91e2bdf Fixed register_globals usage for 'currentaction' param. 2005-06-10 10:23:53 +00:00
thepurpleblob
e0de1be592 Fixed all instanced of optional_variable(), require_variable(), $_GET, $_POST etc
..all replaced with appropriate secure versions.
2005-06-10 10:05:30 +00:00
gustav_delius
6742ed5c5e fixed typo, merged from stable 2005-06-04 17:23:37 +00:00
ikawhero
1993927c23 Merged from MOODLE_15_STABLE
Link to add new course when there are no courses available only appears to
course creators. Bug 3420.
2005-06-04 10:45:45 +00:00
moodler
fe10672dab Merged from STABLE 2005-05-30 18:43:58 +00:00
urs_hunkler
e99e17fe69 I removed the inlinestyle for the userentry in the sideblock "online user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css. 2005-05-27 17:28:16 +00:00
dhawes
3cbf5b9d43 added a </tr> tag that was missing from table 2005-05-27 01:21:05 +00:00
dhawes
c7726acc74 minor bug fix where random memory was being spit out as an arg on a url 2005-05-27 01:18:04 +00:00
defacer
71f189c537 Tweaking a little stuff to make CSS the same as those in translated versions. 2005-05-24 18:55:30 +00:00
moodler
84bb3c12d5 Merged block changes from STABLE 2005-05-24 16:57:20 +00:00
defacer
5e5c0f1ea5 This just caught my eye; obsolete and misleading line removed. 2005-05-22 16:57:24 +00:00
defacer
e345909c50 Now that the extended multilang filter is in place (bug 2879),
reintroducing format_text to the HTML block (bug 2878).
2005-05-19 20:09:57 +00:00
dhawes
e4897989b2 interface fix - instead of a combo box show feeds as checkboxes to make it more obvious when an instance has no associated feed. bug fix - if a custom title is set always use it over the feed's incoming title 2005-05-18 20:09:29 +00:00
dhawes
bc1aed98c7 don't get extra fields which are not needed from course table 2005-05-18 19:21:08 +00:00
moodler
381576d219 Undoing PJs change - sorry. HTML tags were being completely filtered out.
Trying to come up with another solution to work with multilang
tags (Bug 2878) (SE).
2005-05-18 01:49:56 +00:00
defacer
3753b02a3b New yummy styles for the Manage Feeds page. Molto belle. 2005-05-18 00:48:16 +00:00
moodler
9b73eabc82 Tweaking display :-? 2005-05-17 17:52:34 +00:00
moodler
065d897aeb FIxed a string 2005-05-17 15:43:24 +00:00
dhawes
ab48bbb271 updated strings to match guidelines - removed underscores and removed block_rss_ prefix 2005-05-17 15:21:32 +00:00
dhawes
65abd339ff admins will now see the add_edit/configure link only if the student or teacher would normally see it. Everybody option removed from the global config options - not working properly and too late in the cycle to keep it for now 2005-05-17 15:09:38 +00:00
defacer
7c7d56bbd9 Fix for bug 2878:
HTML block now calls format_string to run filters as required.
2005-05-17 15:01:10 +00:00