365 Commits

Author SHA1 Message Date
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
dhawes
e413129c9f fix for ugly url problem 2005-05-17 14:43:00 +00:00
moodler
42cdbd1006 fixing themes a little 2005-05-17 14:00:04 +00:00
moodler
0addd942b2 Fixed style for second tab 2005-05-17 13:51:53 +00:00
moodler
5e9bdad824 FIxed the look of the first tab 2005-05-17 13:46:19 +00:00
stronk7
ef9b35a01b Tabs are out 2005-05-16 19:38:21 +00:00
dhawes
a7a9fec63a latest tabs work 2005-05-15 14:53:55 +00:00
dhawes
339c1d1153 latest work on tabs for instance config. Now if a block is not configured you get a unique link in the body of the block 2005-05-15 14:35:41 +00:00
moodler
b62e857f77 These do not belong here. 2005-05-15 12:04:45 +00:00
dhawes
72b8cc16f1 new tabs file for instance config 2005-05-15 03:01:19 +00:00
dhawes
eeada455b6 moved lang files into block dir 2005-05-15 02:57:52 +00:00
dhawes
65a70eb970 moved into block itself 2005-05-15 02:55:29 +00:00
dhawes
1585045e3e moved lang files into block itself 2005-05-15 02:48:46 +00:00
dhawes
e2426c2cce added new tabbed interface for instance config and moved lang files out of moodle folder and into block folder. testing needed. 2005-05-15 02:47:04 +00:00
moodler
54976984b8 Break up long words inside the RSS feeds so that blocks are not stretched
out stupidly by long URLs and so on
2005-05-14 07:38:57 +00:00
moodler
49f7d01d2b Changed spans to DIV, and fixed non-XHTML tag 2005-05-14 02:51:34 +00:00
moodler
8ed1787bbf Tweaks for IE :-/ 2005-05-11 04:08:59 +00:00
moodler
c009421c08 Tidied up Login block and added password reset link 2005-05-11 03:34:15 +00:00
moodler
74528955bd Make the RSS blocks wider (210) 2005-05-10 05:39:32 +00:00
defacer
c4d951e1f8 Here be DIVs. 2005-05-10 04:00:56 +00:00
defacer
4fad36189f I 'm fed up with the crappy HTML for blocks that keeps giving us
no end of trouble (bug 1718 is just the tip of the iceberg).

Rehauling things... these two divs are superfluous.
2005-05-09 23:37:28 +00:00