Commit Graph

69 Commits

Author SHA1 Message Date
skodak 440d164869 MDL-7861xhtml strict and css fixes in blocks 2007-01-09 23:45:24 +00:00
nfreear 808c2a69fe Adding space in channel <img /> element. Minor whitespace cleanup. 2006-12-01 10:10:56 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
skodak 45155244af better cleaning of rss feeds SC#328; merged from MOODLE_17_STABLE 2006-10-24 22:40:07 +00:00
toyomoyo 8c449ca33f merged fix for 6884 2006-10-17 06:25:50 +00:00
skodak a3627bb77d incorrect context used in rss_client block upgrade code MDL-6707 - part of the upgrade code is now rerun in existing installations - new upgrades should be ok, the cleanup of stale contexts and overrides will be done later as part on normal maintenance from cron 2006-10-01 16:17:30 +00:00
nfreear fd2339cfd6 Fixes bug MDL-6548 "blog_menu block should use lists"
- also blocks: rss_client, admin_bookmark.
 - also fixed &/&amp; validation error in rss_client footer.
2006-09-22 15:15:48 +00:00
moodler 0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +00:00
vyshane 29ac3cc28d Capability tweaks for rss_client block 2006-09-13 04:10:41 +00:00
vyshane 23973f1856 Modified to support Roles. 2006-09-12 06:57:05 +00:00
toyomoyo cc398c7262 adding caapabilities 2006-09-04 08:45:08 +00:00
skodak 86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
moodler 1a2ea6f488 Merged $course -> $COURSE fixes from 1.6 stable 2006-05-29 08:17:57 +00:00
moodler 9a7a199fd0 No need to restrict where RSS feeds can be displayed 2006-04-05 08:35:40 +00:00
dhawes fec312fdf5 removed secondary cache to close bug 4625 2006-03-02 17:05:12 +00:00
mjollnir_ d5250d2f13 RSS client block: users can now add their own rss feeds and pick from their feeds and admin feeds. users don't see feeds added by other nonadmin users. this is probably only useful for my moodle since they can't edit any other pages 2006-01-16 03:02:42 +00:00
stronk7 7124cc16e7 Now rss_unhtmlentities() is not used anymore!
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:13:06 +00:00
mjollnir_ 79598cf025 Fixing bug 4244: length of rss title changed to TEXT in db and truncated to 64+ ... in block content. Also fixed BAD BUG where the function name for rss_client block upgrade was misnamed - this would have meant that db no upgrades ran for this block 2005-11-13 22:50:45 +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
dhawes d396889452 should be fix for bug 3478 2005-08-01 14:02:46 +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
moodler fe10672dab Merged from STABLE 2005-05-30 18:43:58 +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
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
dhawes e413129c9f fix for ugly url problem 2005-05-17 14:43:00 +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 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 74528955bd Make the RSS blocks wider (210) 2005-05-10 05:39:32 +00:00
moodler abf11d900f Prevent notices when multiple RSS blocks 2005-05-04 14:28:46 +00:00
moodler 02aa7083f1 Sourcelink should go in footer... 2005-04-27 15:49:36 +00:00
moodler 8c5d0dd99b FIxed styles for this block to make them more standard 2005-03-25 16:28:58 +00:00
moodler cc9b80f906 Improvements with how format_text is called 2005-03-08 17:46:51 +00:00
defacer 3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
dhawes ec288447d2 removed one excess <br /> tag as noted in Tim's comment here: http://moodle.org/mod/forum/discuss.php?d=18121 2005-02-24 16:23:48 +00:00
dhawes e3899eefdd changed rss image's alt text to title text since this image has no real obvious alt value, refer to http://moodle.org/mod/forum/discuss.php?d=16528 (added back in alt tag contents) 2005-02-14 02:57:15 +00:00
dhawes 86944f037e changed rss image's alt text to title text since this image has no real obvious alt value, refer to http://moodle.org/mod/forum/discuss.php?d=16528 2005-02-14 02:52:06 +00:00
defacer 7542a4e574 Dropping the use of MOODLE_PAGE_COURSE <gasp>!
The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.

On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.
2005-01-31 02:18:15 +00:00
moodler e01c7647a6 Removed a debugging string 2005-01-30 04:55:27 +00:00
dhawes 7501d8a527 looks like I might have finally fixed the darned bug where guest users were able to see the add/edit feeds link 2005-01-29 05:06:43 +00:00
dhawes c20d1fa77f re-enabled new developers debug cache setting for string 2005-01-29 03:08:55 +00:00
dhawes 81574dc5b5 added error output capture back 2005-01-29 03:07:43 +00:00
dhawes 81610483fd new instance config option to display feed's url if present 2005-01-29 03:01:18 +00:00
dhawes dfedf5fdff more preferredtitle tweaks 2005-01-28 01:21:08 +00:00
dhawes 956425af6e Now supports new preferredtitle field for custom feed channel titles. Supports new instance config for displaying the channel link at the end of the feed item links. 2005-01-27 22:47:13 +00:00