695 Commits

Author SHA1 Message Date
moodler
aa3eb05096 When getting a list of countries, check the parent language if necessary. 2003-09-26 08:21:11 +00:00
moodler
5833a6c8eb The list of countries has finally been moved into the language packs
so it can be translated.

There is now a new function get_list_of_countries() which will return a
sorted array of countries in the best current language.

get_string("AU", "countries")   will also work if needed
2003-09-26 08:04:48 +00:00
moodler
8b1fb0c66a Adding a new system for producing Excel documents that are a little
more compatible with non-Excel spreadsheets.  It also has more features
than the old system that we might take advantage of later.
2003-09-26 04:18:02 +00:00
les_kopari
401a81dddf Added columns indent, visible to create, inserts. 2003-09-24 02:06:34 +00:00
les_kopari
24604ce7fe Initial version for Oracle: does nothing. 2003-09-24 01:30:43 +00:00
moodler
a1f8ff87c7 Small fix to avoid warnings on empty tables 2003-09-23 12:18:27 +00:00
moodler
ba7166c377 Added is_internal_auth() function to quickly identify internal authentication 2003-09-22 13:58:20 +00:00
moodler
e4576482d5 Robustness on an optional variable 2003-09-21 16:35:49 +00:00
moodler
66a51452d9 Changes from Mad Alex and Gustav Delius:
- make more of the HTML into XHTML
  - add a $usexml parameter to print_header that sets up the page as XML
    (in the first case, for MathML)
2003-09-21 15:45:24 +00:00
moodler
489b291962 When searching users don't use "LIKE" for all databases. 2003-09-19 08:33:27 +00:00
thepurpleblob
299665b644 Changed replacement logic for quotes (") as some versions of Micro$oft's
(so called) browser are buggy and sometimes ignore <p> tags.
2003-09-18 12:52:14 +00:00
moodler
160e811553 Don't grab unconfirmed users in user listing 2003-09-18 11:51:05 +00:00
moodler
7a1ade1b78 Make get_course_students backward compatible 2003-09-18 04:50:22 +00:00
moodler
4969ad7400 First attempt at proper paging for the user page.
Still needs some work ...
2003-09-18 04:46:34 +00:00
moodler
ab2df10cc8 Hide labels from nav menu 2003-09-15 11:59:15 +00:00
moodler
30222590f7 When adding a new column, set all the default values manually 2003-09-14 17:39:18 +00:00
moodler
aac94fd0cc New field on course_modules called "indent" ... this is an integer
that tells us how far to indent the activity when it is displayed.

This gives us some more flexibility on the course outline to
arrange things as we might like them, into subtopics etc

Backup/restore is updated as well.

There is also a bit more robustness in course/mod.php
2003-09-14 16:31:33 +00:00
moodler
c9f6251ea8 Two things are in this checkin:
1) Support for the new "label" module has been added.  It's unfortunate
   about having to make these exceptions but this was the overall cleanest
   way I could think of.

2) All local calculation of pixpath and modpixpath has been removed and
   replaced with a single calculation which is done in setup.php and
   stored in $CFG->pixpath and #CFG->modpixpath.  All graphics should
   use these variables so that themes can easily override them.
2003-09-14 12:25:16 +00:00
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