1609 Commits

Author SHA1 Message Date
defacer
7221d319be Fixing all the details in the block instance configuration screen.
That wasn't so hard!
2005-02-01 07:34:17 +00:00
defacer
cadc69c64c Added a new class page_quiz, modelling the behavior of a quiz view page.
Not everything is quite right now, a few details (e.g. correct breadcrumbs)
have been ignored but most of the functionality is there.

Blocks in quizzes, here we come!
2005-02-01 07:12:39 +00:00
defacer
3edc57e189 Even more automation: now blocks_execute_url_action() checks if the user
has sufficient rights to execute the action automatically. It's therefore
safe to call without ANY checks being done first.
2005-02-01 06:55:02 +00:00
defacer
da71112bed Refining the way that blocks work: now you don't have to know anything
about what editing the blocks adds to your URL. blocklib will take care
of that internally.
2005-02-01 06:24:28 +00:00
mjollnir_
bf60471bc8 Fix for metacourses. Courses with course->metacourse shouldn't be offered in the courses to add dropdown 2005-02-01 04:51:28 +00:00
mjollnir_
8a4e77ae1b Another fix for metacourses (lost auto_increment). This will preserve data. 2005-02-01 04:47:04 +00:00
martinlanghoff
4c3911f934 Merged from MOODLE_14_HEAD - Better behaviour of fix_course_sortorder() -- related to bug #2334 -- includes version bump to clear out recalcitrant sortorders 2005-02-01 01:47:45 +00:00
martinlanghoff
94afadb360 Merged from MOODLE_14_HEAD - Better behaviour of fix_course_sortorder() -- related to bug #2334 2005-02-01 01:37:14 +00:00
mjollnir_
d20f58e7e8 Fixing column_type for postgres (WHERE 0 is not valid so using LIMIT 0 instead) 2005-02-01 00:28:02 +00:00
defacer
7c81cc29b9 Added a new function, column_type(), based on ADOdb's MetaType().
Attempting to make ALTER TABLE for Postgres really smart... this is
the solution to bug 2460 if it works correctly.
2005-01-31 23:24:43 +00:00
julmis
713126cd43 Remove last space from attribute list in cleanAttributes2 function. 2005-01-31 20:09:17 +00:00
stronk7
6bdd02e40b Avoid some probles when returning to the original user after using the loginas feature.
(sesskey not set)
2005-01-31 18:10:50 +00:00
moodler
792a590da7 New libraries to support lexer-based searching. From Tony Hursh - thanks! 2005-01-31 07:39:03 +00:00
moodler
cdf3925518 Messaging can now be completely disabled using $CFG->messaging 2005-01-31 07:11:42 +00:00
moodler
d74d4f2053 Some changes in the way theme setup is achieved, there is now a function
for it called theme_setup
2005-01-31 05:59:13 +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
defacer
fddbcf9c68 Fixing my buggy implementation of isteacherinanycourse().
This fixes bugs 2455, 2456 and maybe some others Eagle Eyes didn't have
the time to find. ;-)
2005-01-31 00:48:23 +00:00
moodler
1e92ee743b A SESSION->theme can be set (only with sesskey) 2005-01-30 19:28:27 +00:00
moodler
c3f5569273 Added support for parent themes
Added support for user, course, session themes
2005-01-30 18:23:06 +00:00
julmis
55760c9a05 Added title attribute. 2005-01-30 18:13:25 +00:00
stronk7
90ccfd190f Added one missing key too. 2005-01-30 10:05:36 +00:00
moodler
13706b5263 Added 'enrol' field to new user_students tables 2005-01-30 09:18:21 +00:00
moodler
92318548ce "enrol" field in user_students defaults to $CFG->enrol 2005-01-30 09:14:41 +00:00
moodler
19505667d4 Add c0,c1,c2,c3,c4 classes for columns in tables
Add r0,r1,r0,r1,r0 classes for rows in tables
2005-01-30 05:21:25 +00:00
defacer
31686aea4c Merged from STABLE:
Stopgap measure for the wrong behavior discussed in SC#87.
I believe this ensures the required behavior, but we may still change
it because it can be confusing...
2005-01-30 04:39:55 +00:00
julmis
3bb0e0ce9f Adding nolink feature which uses <span class="nolink"> tag. 2005-01-29 20:03:07 +00:00
julmis
e0d26dd834 Adding ed_nolink.gif image 2005-01-29 20:00:31 +00:00
skodak
14d6c233fb changes in file/path cleaning SC#84, merged from MOODLE_14_STABLE 2005-01-29 15:53:24 +00:00
skodak
7789ffbf5e fixed clean_text() SC#76, merged from MOODLE_14_STABLE 2005-01-29 13:02:28 +00:00
moodler
c09e00ba62 Fixed some recent buggy logic! Thanks, Eagle Eye! 2005-01-29 12:11:45 +00:00
moodler
7d89172f66 Fix styles when editing front page 2005-01-29 11:51:40 +00:00
moodler
d6c66e125d Added class for courseid 2005-01-29 10:49:48 +00:00
skodak
fd18328d42 better cleaning of imageurl SC#54, merged from MOODLE_14_STABLE 2005-01-29 10:03:09 +00:00
moodler
865a6f2658 In confirmation emails, use fullname() 2005-01-29 04:54:17 +00:00
dhawes
f51f48615d removed directory separator which is duplicated when rss_cache.inc creates filenames 2005-01-29 02:59:44 +00:00
dhawes
84b366b0a9 I had noticed that stale reads from cache were failing on the filesystem with an invalid md5 checksum of the filename - this should fix that 2005-01-29 02:57:07 +00:00
moodler
93dcb13ed9 Only show page errors when debugging is on (in case we can recover) 2005-01-28 17:03:57 +00:00
moodler
18f16d61ff Fixes notices when username doesn't exist 2005-01-28 16:59:43 +00:00
defacer
bbcbc3f85e Removing the extra debug info now that bug 2431 was fixed.
I can't believe that this insignificant workaround actually solved the
problem. This is most probably a bug with PHP and static initialization
of array variables.
2005-01-28 05:42:19 +00:00
defacer
0d7e0e8ada A small change for the static initialization in page_map_class,
and more debug added just before init is done.
2005-01-28 03:52:56 +00:00
defacer
febeb16113 Removing two error-suppression prefixes (@). I think that in the end,
the only purpose they served was to make debugging harder.
2005-01-27 23:57:37 +00:00
defacer
e355a2d304 Bugfix: when configuring a block in the site index, the site name was
being displayed twice in the breadcrumbs.
2005-01-27 23:56:46 +00:00
dhawes
48005861f6 Moved a function directly into block. Changed some echo statements to print. Now supports new preferredtitle field for custom feed channel titles. 2005-01-27 22:45:50 +00:00
mjollnir_
a22fd258aa Fixing a typo in metacourses in mysql (id should be int 10 not int 1). Hopefully this is the end of it :( 2005-01-27 20:41:54 +00:00
mjollnir_
483b71581d Taking out addition of wrongly named metacourse tables for first upgrade. Those who are tracking head will have already gotten it, but those upgrading from 1.4 to 1.5 don't need to see it. 2005-01-27 20:02:30 +00:00
martinlanghoff
af4e9e5fd4 Merged from MOODLE_14_STABLE - Reverting validation in current_language() due to performance concerns. 2005-01-27 07:10:41 +00:00
martinlanghoff
b6c93894fb Merged from MOODLE_14_STABLE - Stronger validation of form data in user/edit, and validation of lang in current_language() -- closes SC#67 2005-01-27 03:51:33 +00:00
mjollnir_
f8688e0f37 Removing debug error_log calls in uploadlib 2005-01-27 02:30:45 +00:00
mjollnir_
e3a232138a Fix for add_to_log to stop notification of invalid call to isteacher. Some actions aren't associated with a course and therefore isteacher shouldn't get called 2005-01-27 02:29:53 +00:00
dhawes
0bae4f8c0f Moved function from blog/lib to rsslib. unhtmlentities is required to liberate some rss feed information from the clutches of encoding. 2005-01-27 01:24:33 +00:00