727 Commits

Author SHA1 Message Date
moodler
c7ce6d80a3 Used the wrong function to display the message (Notify, not Notice) 2003-09-14 12:22:13 +00:00
moodler
18a97fd84d Some early phpdoc-style documentation (thanks to Russell Jungwirth!)
Fixes for use of MySQL-only CONCAT function on other databases
2003-09-14 04:04:15 +00:00
moodler
bb9cf93d21 Frontpage directories to ignore are called _vti_cnf .. not vti_cnf 2003-09-13 08:19:42 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
8bd0a875e0 Fixed some short tags 2003-09-11 13:53:25 +00:00
moodler
e71f132dc8 Added missing showrecent field to PostgreSQL 2003-09-10 13:48:19 +00:00
moodler
88487dea6d One GROUP BY -> DISTINCT 2003-09-10 13:28:27 +00:00
moodler
0db8b2e2b7 Some fixes for PostgreSQL (use DISTINCT) 2003-09-10 13:17:13 +00:00
moodler
b626680ead Removed some short PHP tags 2003-09-09 04:02:55 +00:00
moodler
2b09e37782 Fixes for obfuscate_text() when printing emails with numbers in them.
(Patch from Zbigniew Fiedorowicz  - thanks)
2003-09-09 02:22:36 +00:00
moodler
f1c1b17ab5 Some small fixes to the category display:
- small numbers of courses (less than 8) are displayed in full,
    unless the creator or admin is editing.

  - course counts are now accurate when all courses are removed from
    a category
2003-09-03 14:05:31 +00:00
moodler
b48f834cfb Some cleaning up and improvement of the course listings, especially when
courses are listed under multiple categories
2003-09-03 12:13:08 +00:00
moodler
3af6e1dbb8 Allow Course creators to see all hidden categories and courses 2003-09-03 08:29:05 +00:00
moodler
5b6a1dd3ad Invisible courses get put last on the My Courses listing 2003-09-03 08:10:02 +00:00
moodler
2962233937 Fixed a little typo on PostgreSQL code 2003-09-03 08:02:01 +00:00
moodler
559573a2be Default redirection time should be zero 2003-09-02 01:28:46 +00:00
paca70
577cf8991f Fixed some typos pointed by Pasha. 2003-08-28 18:00:36 +00:00
moodler
de9cbba690 Minor change to make user searches a bit better
Next time I'll put proper paging in
2003-08-27 13:36:22 +00:00
moodler
d0117715f3 Added a log display for "course use reports" 2003-08-27 09:33:12 +00:00
moodler
27326a3eb6 Move Library parsing code into text_to_html 2003-08-27 06:08:34 +00:00
moodler
a751a4e56f Added a hook to the text formatting, so that if the library module
is activated, then all Moodle text is parsed by it to have links
added to words.
2003-08-26 18:44:09 +00:00
moodler
7cdcb42239 Added controls for the invisible variable teacherassignteachers which
decides whether teachers can edit teachers in their own courses.
2003-08-26 15:52:22 +00:00
thepurpleblob
0518065ed5 Removed stupid Q. and A. formatting that just confused people. 2003-08-26 14:57:35 +00:00
moodler
7f12f9cdd9 'Extras' in cached course modinfo activities is now returned.
This means that Resources can now employ them on the index listing.

Specifically, Resources that are popup now popup from there too.
2003-08-26 13:47:46 +00:00
moodler
5b47275684 Plain text emails now include URLs in a nice way. Thanks to Russell Jungwirth
for the code.

Also a few docs tweaks
2003-08-26 13:18:10 +00:00
moodler
1ca0226071 Removed useless function 2003-08-26 12:54:50 +00:00
thepurpleblob
10b1b6d59a Do not allow HTML in wiki text pages. (It causes problems) 2003-08-26 11:59:32 +00:00
moodler
a1b2bec873 Remove half-finished oracle files 2003-08-26 07:09:14 +00:00
moodler
16ef5e7812 Some fixes so that navmenus don't jump out of frames any more.
The navmenu function now takes a third parameter that specifies
the window to change location of (default 'self', but could be "parent" or "top")
2003-08-26 06:01:13 +00:00
moodler
d9be205e79 Fixed an uninitialised variable 2003-08-25 17:30:26 +00:00
moodler
d6bdd9d5e9 Forum grades can now be numerical as well (like the other modules).
If so, grades in the gradebook are printed as proper numbers and
contribute to the total of the course.
2003-08-25 12:47:36 +00:00
moodler
20dc89e50d Put "Source" label after checkbox ... just in case text pushes
the box off screen
2003-08-25 03:48:09 +00:00
moodler
a20c109058 Fixed a bug when displaying menus with a zero in them 2003-08-25 02:32:20 +00:00
stronk7
4545fc3890 Solved one condition that caused some errors in Win32 when extracting. 2003-08-24 22:35:57 +00:00
moodler
757a0abd94 Corrected the stamp I just added and added a separate version field instead 2003-08-23 14:18:44 +00:00
moodler
1ccc73ac3b Use gmdate instead 2003-08-23 12:25:50 +00:00
moodler
280faf9ff7 Added a new function to make a unique ID code, to be used in quiz
questions and elsewhere

It's based on the hostname, time, random string and a supplied version string.
These are packed using '+ separators so they can easily be unpacked if
necessary.

function make_unique_id_code($version=1)
2003-08-23 12:22:27 +00:00
moodler
1a5ab4490f Improvements to logs when looking at site logs.
Also, improvements to get_site_users (slower but it works now!)
2003-08-23 06:19:05 +00:00
moodler
7a7ac154a4 Some small fixes when deleting a category 2003-08-22 12:49:37 +00:00
moodler
0ddf039078 pclzip 2.0 RC2 - hopefully better! 2003-08-22 12:35:43 +00:00
moodler
9b16d1eada More tweaks to fix on/off button for admins o ncourse listings 2003-08-22 12:26:36 +00:00
moodler
519d369f60 Added full paging to all displays of logs! :-) 2003-08-22 06:07:18 +00:00
moodler
2f3499b70d Fixed up get_my_courses().
It's not a tidy SQL statement any more but it's MUCH MUCH faster
with large data sets.
2003-08-21 17:24:40 +00:00
moodler
f04dc61d72 Ellipsis at start as well 2003-08-21 14:23:31 +00:00
moodler
924cef21d5 Put an ellipsis in paging 2003-08-21 14:22:06 +00:00
moodler
8130b77b40 Split get-courses_page from get-courses so they can specialise 2003-08-21 14:04:04 +00:00
moodler
be20753e7e Some better paging that now works with any number of pages 2003-08-21 13:47:14 +00:00
moodler
53b67df521 Fixed the SQL for teachers and students 2003-08-21 12:19:09 +00:00
moodler
f68e5995e5 Fix for non-logged-in person 2003-08-21 09:39:07 +00:00
moodler
8ef9cb5618 Some fixes to handle very very big categories.
- paging
  - more efficient SQL
2003-08-21 09:33:07 +00:00