fmarier
2bba926db0
weblib: Fix typo in print_table() which was causing invalid <th> tag
...
MDL-11506
2007-12-07 05:00:22 +00:00
nfreear
166db28057
Fixes bug MDL-12416, Help links - img ALT text should contain phrase "new window" to match link TITLE.
2007-12-03 16:41:36 +00:00
toyomoyo
93c61c18cf
MDL-10915, additional setting for emoticons
2007-12-03 06:27:21 +00:00
scyrma
2416a6f7c2
Code style corrections.
2007-11-30 03:09:59 +00:00
scyrma
80f29a5947
Possible fix to MDL-12093 : give window without heading and navigation special css classes.
2007-11-29 07:20:13 +00:00
scyrma
fc5e9c4095
MDL-12093 : cleanup & simplify code to get popup windows.
2007-11-29 05:54:35 +00:00
stronk7
ec28a9bf8b
Adding new wraplevelXX class for easier containers identification. MDL-12339
...
Merged from MOODLE_19_STABLE
2007-11-28 18:14:38 +00:00
skodak
0ad439bb42
MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE
2007-11-23 20:26:16 +00:00
skodak
9f7f1a74a0
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
2007-11-23 16:49:51 +00:00
sam_marshall
ca70075a39
MDL-12284 Moved require_js to weblib and improved it so that it works if called during header (also tidied up code)
2007-11-20 18:04:03 +00:00
tjhunt
71e197598c
MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by & and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE.
2007-11-20 17:31:13 +00:00
mattc-catalyst
6779dc6a02
MDL-12172: fixed get parameters not being submitted in Firefox
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-11-19 01:45:45 +00:00
skodak
64f592adf3
fixed typo throwing warnings during install; merged from MOODLE_19_STABLE
2007-11-17 20:55:44 +00:00
skodak
71198086c3
MDL-12221 initialised $output and fixed whitespace; merged from MOODLE_19_STABLE
2007-11-17 16:37:00 +00:00
urs_hunkler
10654e2d4a
merged from 1.9 :: MDL-12221 :: Added wrapper functions for print_box, print_box_start and print_box_end to be able to add custom_corners to any boxes.
...
If you call print_custom_corners_box with the same parameters as print_box and custom_corners is enabled you get the custom corners divs within those boxes and can style them accordingly.
2007-11-16 13:33:51 +00:00
tjhunt
9cb69c1910
MDL-12172 - print_continue should create a method="get" button, not post. Merged from MOODLE_19_STABLE.
2007-11-14 16:34:26 +00:00
nfreear
bc1bbaf477
MDL-12153, "Validome - moodle.org invalid - require Content-Script-Type".
2007-11-13 14:46:44 +00:00
urs_hunkler
f7c926ee9f
merged from 1.9 :: MDL-12093
2007-11-12 11:17:24 +00:00
urs_hunkler
ee9beb53bf
merged from 1.9 :: MDL-12093 :: added function get_in_popup()
2007-11-10 14:53:54 +00:00
skodak
1273d7ddee
support for styles.php in grade reports
2007-10-27 22:01:39 +00:00
nfreear
317d5ddcb3
Fix for reopened bug MDL-7878, "Link identification and skipping" - includes site and course index.php.
2007-10-22 09:21:11 +00:00
nfreear
5c3550191a
Partial fix for reopened bug MDL-7878, "Link identification and skipping" - affects all course formats + other files.
2007-10-22 06:43:00 +00:00
tjhunt
93b2ed94a8
MDL-11061 - admin notifications about $CFG->wwwroot, which sometimes lead to obscure errors. Merged from MOODLE_19_STABLE.
2007-10-17 20:21:16 +00:00
nfreear
f79f249490
Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use.
2007-10-15 10:04:41 +00:00
tjhunt
3f544a2481
MDL-11699 - Making one more common case a bit nicer for callers. Merged from MOODLE_19_STABLE.
2007-10-12 15:11:57 +00:00
tjhunt
c04f93b092
MDL-11699 - Further, backwards-compatible, improvement to the build navigation API to simplify a common case. Also, further improvements to the doc comment, so it is easy to use. Merged from MOODLE_19_STABLE.
2007-10-12 10:36:11 +00:00
tjhunt
dd9a2dcc75
MDL-11699 - Addendum - fix typo in fixup code. Sorry.
2007-10-11 16:45:43 +00:00
nfreear
12b9aee7d7
Fixes MDL-11695, Skip block links inaccessible for many keyboard-only users
2007-10-11 16:35:20 +00:00
tjhunt
7243c7c822
Small tidy-up in print_header_simple. Merged from MOODLE_19_STABLE.
2007-10-11 15:25:27 +00:00
tjhunt
67e56c0a3c
MDL-11699 - Addendum - rewrite the other half of the function too, so I can understand what it is doing, and fix a couple of minor logic errors along the way. Merged from MOODLE_19_STABLE.
2007-10-11 11:52:34 +00:00
jmg324
38a1e55d8a
MDL-10296 adding in the global for https
2007-10-10 16:02:45 +00:00
tjhunt
1ba3ad7df5
MDL-11699 - Make build_navigation more helpful by having it optionally build the activity and activityinstance links too, if you pass a $cm object. Note that this only does extra DB queries if you do pass a $cm object, and it does not have all the required fields, but in this case it will winge at you in developer debug mode. If you get your $cm using get_coursemodule_from_instance or get_coursemodule_from_id, which is best practice these days, then you won't have a problem.
2007-10-10 14:00:41 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
sam_marshall
ca3b6e52d1
MDL-11681 Changed it so current tab no longer is a link to #
2007-10-09 16:56:00 +00:00
moodler
69d0f96a53
Fixed typo from MDL-11642, thanks Gary
2007-10-08 05:11:15 +00:00
toyomoyo
a21fed9df5
using correct capability for displaying activity report link in print_user()
2007-10-08 00:42:41 +00:00
skodak
7d0c81b3ba
MDL-11521 fixed problems when creating contexts and aprents does not exist yet
...
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance() because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes
2007-10-05 15:06:38 +00:00
moodler
b649ef92e3
Small efficiency improvement for print_user_picture() when it does access the db
2007-10-05 06:32:53 +00:00
toyomoyo
d292d1d2b0
MDL-11549, print_user() should also check user context when printing activity report link
2007-10-05 06:31:11 +00:00
skodak
178bcb7523
MDL-11568 warnings - can not use $USER->property when not logged in - quick fix, please review last commits
2007-10-02 23:08:00 +00:00
tjhunt
75afe0e7e4
PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.
2007-10-02 18:49:04 +00:00
donal72
1673e13423
Choose the correct theme for SSO-authenticated users. Roaming themes
2007-10-02 16:14:39 +00:00
skodak
42626376f3
MDL-11442 removed last instances of global $course
2007-09-27 08:18:28 +00:00
tjhunt
c6f9234ce3
Comment out an if (ajaxenabled()) check that was stopping any javascript included with require_js before print_header from being included, (but not js included afterwareds). See
...
http://moodle.org/mod/forum/discuss.php?d=81050 for discussion.
2007-09-26 17:48:27 +00:00
nfreear
b741d2ef95
Fixes "Notice: Undefined property: stdClass::$hideactivitytypenavlink..."
2007-09-26 12:44:35 +00:00
skodak
0352cd2ffa
MDL-11413 I hope now it is correct solution
2007-09-25 14:02:53 +00:00
nfreear
1d75edd0ae
MDL-11436, Encapsulate "accesshide" HTML class in function.
2007-09-25 11:33:30 +00:00
skodak
6db001b535
MDL-11413 revisited
2007-09-24 15:24:21 +00:00
urs_hunkler
c7a66cc4e1
MDL-11370 :: added a global var $THEME->customcornersopen to track properly closed custom corners divs. In function print_footer I added a check if some custom_corneres divs are still open and eventually close them.
2007-09-24 11:08:02 +00:00
skodak
09c42a363d
MDL-11413 improved text cleaning (problem reported by Andreas Nolden)
2007-09-23 12:28:03 +00:00