1959 Commits

Author SHA1 Message Date
defacer
865da14944 Fix for bug 2902: Now you can set $focus in print_header to anything, and
it will never generate a JS error.
2005-04-20 01:32:18 +00:00
defacer
273a80d7be Fixing bug 2935: HTML typo. 2005-04-19 20:45:15 +00:00
julmis
d8c7ad9025 Fixing formathtml function
- should be working much better now...
2005-04-19 15:34:47 +00:00
thepurpleblob
d30bd73457 delDirContents function added - blasts a complete directory structure. 2005-04-19 15:11:44 +00:00
gustav_delius
52d55cfc51 improved navigation bar for module editing form 2005-04-19 14:58:16 +00:00
julmis
57d5df5f2b Changing a.nodeValue to root[a.nodeName] creates
another bug that is much severe than absolute
links been converted to relative.

So I'm changing it back...
2005-04-19 13:53:54 +00:00
julmis
023d858d46 Trying to fix aboslute link issue!!! 2005-04-19 13:26:54 +00:00
julmis
1546f4cff0 Fixing HTMLArea.getHTML a bit. 2005-04-19 13:00:26 +00:00
julmis
72960a6a6d CleanWord fix
- Don't strip carriage returns
2005-04-19 12:47:29 +00:00
defacer
eee5cf8f64 Removing the "dirty compatibility hack", it surely has done what it was
meant to do all this time (keep Moodle working for people who had already
upgraded to early versions of 1.5).

This fixes bug 2965, thanks Penny for reminding!
2005-04-19 12:40:15 +00:00
moodler
323d2abeac Copy all the Dialogue entries to Messaging, and then disable Dialogue module
http://moodle.org/mod/forum/discuss.php?d=19017#104635
2005-04-19 12:34:36 +00:00
thepurpleblob
c38950b11b Upgraded to latest version of Smarty 2.6.9 2005-04-19 09:52:16 +00:00
mjollnir_
ab5aeca11c Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid 2005-04-19 00:42:24 +00:00
skodak
00de82df28 Session test to detect user switching, error counter is displayed in healthcenter - please test, test, test; TODO - move string from setup.php to language file 2005-04-18 20:13:36 +00:00
moodler
245be804c7 get_record should be get_record_sql ...
Does this mean that none of the WIki upgrading actually worked???
2005-04-18 02:26:52 +00:00
moodler
7c12949d10 Rationalised get_user_info_from_db() and sundry other small bits into
a single function called: get_complete_user_data()

This is to help shibboleth but will also help when this function
needs to be extended in future.
2005-04-17 12:08:46 +00:00
moodler
2a0f66b4f2 Fix bug in performance_info on IIS http://moodle.org/mod/forum/discuss.php?d=22013 2005-04-16 17:02:05 +00:00
moodler
47aa42e211 Re-arranged static Javascript a bit 2005-04-16 12:30:48 +00:00
moodler
d6bf473ec2 Added file_get_contents for PHP before 4.3.0 2005-04-16 12:22:24 +00:00
moodler
9b10b65bbf Function get_group_teachers() added 2005-04-16 12:21:59 +00:00
moodler
69c52f27af Returns a Javascript file containing all the scripts found in modules
(named javscript.php)
2005-04-16 12:10:44 +00:00
moodler
fec6d2c66a Resorting entry in list 2005-04-15 14:58:35 +00:00
moodler
35b04d5e0f During upgrade from pre- 1.5, set the theme to standardwhite so it works 2005-04-15 14:57:38 +00:00
moodler
0f7d4e5e8a Cleaner updating of buttons and scales 2005-04-15 13:41:57 +00:00
urs_hunkler
a691a4ba92 I added class="active" to the tabs function. With this class each kind of tab has a special class and so the hover effect can be applied only to normal tabs, not to the selected and not to the inactive ones. I think it is a better signal for the user to get feedback for those tabs only which will react and change something on a click.
The behavior of the existing tabs in "standard" are not affected.
2005-04-14 21:43:18 +00:00
moodler
560811bbc9 Header and footer need to come from current_theme Always 2005-04-14 18:27:48 +00:00
moodler
0ce8ba58e8 Store flextable session cache in an independent way so they don't reset each other 2005-04-14 17:43:18 +00:00
moodler
c70fa20146 New function shorten_text to truncate text neatly 2005-04-14 17:03:11 +00:00
moodler
68ffc100fa Don't just print nothing - print "nothing to display" 2005-04-14 15:35:27 +00:00
moodler
dc28eedec4 button_to_popup_window can now return a string 2005-04-14 13:56:29 +00:00
defacer
4f2dbde9f8 Fix for bug 2916, silly silly named constant mistake.
Since we 're at it, fixed another bug: automatic recalculation of DST table
without having to logout if the user changes his timezone now works correctly.
2005-04-14 12:20:09 +00:00
moodler
4febb58f71 Slightly more correct version ;-) 2005-04-14 02:13:47 +00:00
gustav_delius
1e42af2786 added paging bar also at the bottom of the table 2005-04-13 09:57:10 +00:00
thepurpleblob
33b3562d00 Fixed a few minor(ish) points that Eloy spotted:
Broken non-slasharguments link format. <hr /> translation broken.
2005-04-13 08:27:18 +00:00
moodler
1596edff55 Added general robustness to require_course_login 2005-04-13 06:59:13 +00:00
stronk7
8e4d01032a Small (but important) typo solved. It was preventing coursesql to work. 2005-04-12 16:56:34 +00:00
moodler
ce50cc7018 Don't have a cow when a Wiki text is encountered 2005-04-12 03:14:29 +00:00
stronk7
60c2b9b35c Minor changes:
- Costants are defined.
   - Avoid some notices if records aren't found.
2005-04-11 17:12:47 +00:00
thepurpleblob
9af891b3bb Upgraded Markdown renderer to latest version: 1.0.1 (loads of fixes) 2005-04-11 14:08:01 +00:00
thepurpleblob
1e097367df Wiki-like format removed. Rendering class no longer required. 2005-04-11 13:49:38 +00:00
thepurpleblob
6a6495ff8f Removed wiki-like from list of formatting options. Any that shows up now
will simply generate an error.
2005-04-11 13:46:06 +00:00
thepurpleblob
2fbc787ce7 Fixed a couple of bugs and now escapes text going to database. 2005-04-11 12:30:16 +00:00
thepurpleblob
11a052a652 Added function addslashes_object(). 2005-04-11 12:29:17 +00:00
moodler
e84a246a55 FIxed a problem I wasn't seeing because I was in debug mode.
get_record_sql now has a second parameter that specifies when
we are expecting to take one record from many (to help with debugging)
2005-04-11 12:07:49 +00:00
thepurpleblob
8a7d9d15f2 Fixed some of the incomplete or incorrect function documentation comments. 2005-04-11 10:18:33 +00:00
moodler
6927f0e726 Insert all the distributed timezones upon upgrade 2005-04-11 08:11:17 +00:00
thepurpleblob
4ab00ace5b Tidy up and add function to do actual conversion given db table, field etc 2005-04-11 07:48:47 +00:00
moodler
00b60650f2 Added a span around performanceinfo script name 2005-04-11 07:36:52 +00:00
martinlanghoff
6e6053bd18 Merged from MOODLE_14_STABLE. Added option to cache langlist in dataroot/cache/languages. If enabled saves around 10MB of memory and 40 includes (some really large). In HEAD we also get a nice option select in admin->variables. 2005-04-11 06:41:08 +00:00
moodler
8edffd15f6 LIMIT timezones returned to the latest one 2005-04-10 18:27:15 +00:00