44 Commits

Author SHA1 Message Date
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
dhawes
d58a3c8a3d removed excess paren, again - still a type-o 2005-01-27 01:57:30 +00:00
dhawes
2a16ea3a43 removed excess param - type-o 2005-01-27 01:55:02 +00:00
dhawes
b021c82d82 using rss_unhtmlentities for channel and item title as well as for item description 2005-01-27 01:43:29 +00:00
moodler
90cec6d978 Added $CFG->block_rss_timeout to admin config, and also convert
RSS links to make them more XHTML compliant ( & --> &amp; )
2005-01-25 14:49:30 +00:00
moodler
9995c33844 Missed one reference to rsslib.php 2005-01-25 06:10:38 +00:00
moodler
48b29ba423 Moved rsslib.php from the rss directory to the lib directory with the
other libraries
2005-01-25 06:09:31 +00:00
dhawes
c0c6f36bf2 bug #2420 fix 2005-01-25 01:57:56 +00:00
dhawes
3fcae4c4f9 removed extra break 2005-01-24 03:24:19 +00:00
dhawes
2965682a21 latest changes to rss_client block. Now uses latest magpie file for fetch, parse and cache. Still caches the result string as well to avoid excessive file reads and network hits. Fixed bug where non-admin users were not seeing the add/edit feeds link within the block when all users are allowed to edit. Now uses moodles' format_text function on entire block contents. 2005-01-23 16:16:28 +00:00
dhawes
37fe05a345 added in an extra layer of cache. The rendered string is now cached in block's config. If the config settings are changed the config entry is overwritten and the cached string is lost - which is perfect - it gets rebuilt to the new specifications on next page load. If the filesystem cache has expired then the stored config string is ignored and a fresh read is sought. 2005-01-21 03:23:26 +00:00
dhawes
d6501ee371 if there are multiple feeds within a single block the title of each feed is shown with a horizontal rule between feeds 2005-01-20 01:32:58 +00:00
dhawes
53034e080a now displays a link to the full error text if there is a problem loading a feed (and debug is on) rather than display the full text inline 2005-01-19 23:59:21 +00:00
stronk7
f516e2b9cf Changed required templib.php to rsslib.php. This will, at least, allow to
install and use 1.5dev. Not completely, but usable...
2005-01-17 17:12:24 +00:00
moodler
c2a75e442c Some HTML tidyups 2004-12-31 08:51:21 +00:00
moodler
839bbd4d10 This block now works without blog 2004-12-31 07:42:22 +00:00
dhawes
9723afd1d0 bug fixes 2004-12-31 03:38:22 +00:00
dhawes
fd6360ecac minor bug fixes 2004-12-31 03:11:03 +00:00
dhawes
92ce1eb2ef Updated for better reporting when loading from remote url fails. Now displays error when adding URL when it cannot load even when ->debug is off. Added new feature - select multiple feeds to display in each block instance. 2004-12-30 18:08:38 +00:00
dhawes
72035d793e first add of new rss client block. please take a moment to test its features and provide feedback 2004-12-14 18:09:20 +00:00