defacer
9c581405ab
More HTML and CSS fun with the new block.
...
Incidentally, does Mozilla have a bug here? It won't apply the text-align
property to those TDs which have been given a class through a COLGROUP.
IE does it correctly all the way, and Firefox applies the other properties
but seems to take exception at the text-align. Weird.
2005-01-27 04:19:56 +00:00
defacer
3779fd556e
Out goes the ORDER BY grade + 0 hack, now that grade is a float.
...
Also, fixed a logic error with sorting in group mode.
2005-01-27 03:53:20 +00:00
mjollnir_
873bf8758f
Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*!
2005-01-27 02:35:10 +00:00
dhawes
c4370fbfa4
fixed function name
2005-01-27 01:59:43 +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
dhawes
319f73c933
Another bug discovered and squashed by Dan Marsden. Reversed logic fixed when editing feeds.
2005-01-27 00:55:13 +00:00
defacer
00a4237f24
Correcting a mistake: hide the block if there are no results for that quiz.
2005-01-26 22:22:55 +00:00
defacer
6b4dc5a31b
New: The block now works in group mode too!
...
Bugfix: Grades were not being displayed correctly as percentages.
2005-01-26 22:14:22 +00:00
defacer
41dafe04ce
Provisional fix for the "100% < anything else" bug.
...
If it's compatible with Postgres, then cool!
2005-01-26 19:59:08 +00:00
dhawes
87178d67fe
removed references to 'type' field which was removed from rss table when latest version of magpie was adopted
2005-01-26 00:41:49 +00:00
dhawes
1eb099be3d
changed an echo to a print, silly but I prefer print in php files and echo for debug and embedded html :)
2005-01-26 00:40:03 +00:00
dhawes
74d669f14e
removed type field and added placeholder preferredtitle field
2005-01-26 00:38:01 +00:00
defacer
98ad7484c8
First commit of the requested quiz_results block.
2005-01-25 23:49:36 +00:00
dhawes
a75758cda4
Fixed some improperly escaped double quotes within literal strings
2005-01-25 16:12:01 +00:00
moodler
2fe8a417f1
Removed THEME
2005-01-25 14:52:17 +00:00
moodler
90cec6d978
Added $CFG->block_rss_timeout to admin config, and also convert
...
RSS links to make them more XHTML compliant ( & --> & )
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
mjollnir_
5f37b628ae
Update for meta courses. New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse. Associated changes in code. Please test me!
2005-01-25 04:33:02 +00:00
defacer
9292b6afc0
More polishing.
2005-01-25 03:13:13 +00:00
defacer
d49f500f52
Oops, I committed this along with the function renames by mistake. Anyway,
...
now fixing a small cosmetic glitch and giving the correct commit message:
The latest and greatest version of the blocks documentation is here... Lots
of work and polishing to make it as useful as possible. I daresay that it's
pretty complete for its purpose now.
2005-01-25 03:01:09 +00:00
defacer
1345403a7c
Renaming 4 internal-use-only class methods by prefixing an underscore.
...
I want to make a point that people should NOT be calling them.
2005-01-25 02:57:30 +00:00
dhawes
c0c6f36bf2
bug #2420 fix
2005-01-25 01:57:56 +00:00
mjollnir_
b61efafba5
Initial checkin for new meta courses feature. Please test!
...
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
dhawes
3fcae4c4f9
removed extra break
2005-01-24 03:24:19 +00:00
dhawes
d674fae8e7
removed debug code left over :(
2005-01-24 03:00:10 +00:00
dhawes
947becc731
feed titles are stored and displayed again - silly bug
2005-01-24 02:58:19 +00:00
defacer
344932658c
Undoing the commit of some esoteric development stuff by mistake.
2005-01-23 23:59:29 +00:00
dhawes
b2262aa90a
fix for bug reported by Dan Marsden - feeds can be added again :)
2005-01-23 23:21:42 +00:00
defacer
04280e857e
Renamed set_user_sesskey() to just sesskey(). SC#74
2005-01-23 22:07:13 +00:00
defacer
9407d4563f
According to the final comments in SC#65:
...
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.
The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
dhawes
c307266c76
Fixed error discovered by Gustav - after updating to use newest magpie I failed to update all instances of rss fetching.
2005-01-23 19:40:33 +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
6cee965c7a
minor spacing cleanup
2005-01-21 03:20:56 +00:00
moodler
4b22e391e4
Don't show message shortcut icons when not logged in
2005-01-21 02:29:29 +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
dhawes
7530140579
I couldn't find a way to do this so I added this file. When an RSS feed fails to load and debug is on the rendered page could get quite ugly. I now capture the error into a string and simply show the user a 'load feed error' link pointing to this new error page. This new error page simply displays the full error message with more detail about why that particular feed failed to load (from file or url, etc)
2005-01-19 23:55:25 +00:00
mjollnir_
b2597e0bad
Initial support for postgres for rss client block table
2005-01-18 21:58:28 +00:00
dhawes
221a85301e
using localized string instead of hard coded english for print header functioncall
2005-01-17 23:22:16 +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
defacer
abea5d6940
Fix for bug 2371:
...
The alt text is now the same as the tooltip for the block control icons in
editing mode (i.e., language pack configurable).
2005-01-17 14:51:18 +00:00
defacer
1a33f699b2
Merging fix for bug 2264 & improvements from MOODLE_14_STABLE
2005-01-12 11:40:46 +00:00
defacer
67677908a0
Fixing the alt attributes for the icons used to move/hide etc. blocks when
...
editing is on. Also a few minor corrections for things inside comments.
2005-01-11 19:38:19 +00:00
moodler
99f40f4188
Prevents a notice on installation
2005-01-11 14:04:31 +00:00
moodler
792197b095
Added cookie detection, based on Petr's code. Thanks!
...
A notice will be printed on the login page if the session cookie can not be set.
2005-01-11 12:43:29 +00:00
gustav_delius
3cebccea7b
defined $timeago
2004-12-31 20:42:53 +00:00