defacer
664923229c
Since $PAGE knows where the adminblock should be printed, let it do the printing.
2005-03-02 05:47:39 +00:00
defacer
3615b2b259
Simplifying to death using the new blocks_setup()
2005-03-02 05:19:47 +00:00
defacer
c4d588cc24
Added require_once for pagelib.php.
...
Now deleting courses with these activities in works just fine once more!
2005-02-28 04:23:52 +00:00
defacer
880d86758b
Each mod is responsible to deleting its own blocks; what I had in mind for
...
centralizing this wouldn't work out. Use the flexible page_import_types so that
we don't create one more dependency when writing new code.
2005-02-28 04:18:13 +00:00
defacer
f16bbfd5a8
Add hooks for exporting the page types used by each module.
2005-02-28 03:59:57 +00:00
moodler
3b9f38bc5d
FIxed popup window for users in chat window
2005-02-25 12:40:03 +00:00
moodler
b9795750e5
Er, last fix was in wrong frame. :-)
2005-02-25 12:35:20 +00:00
moodler
18212a7afe
Try to make all links "pop out" of the frame
2005-02-25 12:28:02 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
skodak
68eb9f32e4
added style sheet to message panel
2005-02-13 16:30:16 +00:00
stronk7
95e72c12d0
Now retrieving only needed fields!
2005-02-13 00:42:29 +00:00
gustav_delius
48e535bc35
Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
...
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.
If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.
If deleting a coursemodule its events are deleted from the calendar.
The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.
For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
defacer
e96ba29d6f
Vastly improved styles, lots of inline styles removed, markup improved.
2005-02-12 11:37:09 +00:00
skodak
e7fbd0b3f2
Chatd cleanup finished, from now on only bug fixing.
2005-02-12 10:54:25 +00:00
skodak
2debdf0476
FF issue seems to be solved by explicit call to document.close()
2005-02-10 19:25:42 +00:00
skodak
a32c7772c6
fixed deleting of old users when using chatd, other minor fixes, reverting of changes in chatmsg - found some weird problems in FF
2005-02-10 19:14:53 +00:00
moodler
89f688b6c6
Removed some THEME
2005-02-10 18:22:31 +00:00
defacer
4f0d565da6
Bringing Quiz in line with Martin's "make Chat into a showcase for pages" idea.
2005-02-10 01:59:11 +00:00
moodler
37dfb27974
Moved chat PAGE stuff out of core as an example
2005-02-09 16:44:35 +00:00
defacer
5ccb85f048
Voila! Blocks support now in chats!
2005-02-09 15:47:22 +00:00
skodak
475bd5cb71
fixed problems with forced course language
2005-02-08 21:30:47 +00:00
skodak
a776c371e7
fixed typos in chat_force_language(), added encoding to message page, minor cleanup
2005-02-08 21:23:19 +00:00
moodler
b61aed4297
Fixed up some layout issues in the configuration files
2005-02-08 09:23:21 +00:00
stronk7
e09087bc76
Some minor changes to each module to XHTMLise the restore process
2005-02-07 23:33:17 +00:00
skodak
3dfd307fe0
maybe fixed double posts, fixed javascript errors, solved problems with reloading
2005-02-07 20:33:44 +00:00
skodak
9824495127
detection of oversized requests from clients
2005-02-06 10:06:25 +00:00
skodak
342769e94d
typo in javascript code, message submit did not work :-(
2005-02-04 22:58:28 +00:00
skodak
2ac0d13b6f
reverted some unfinished changes in chatd - enter message
2005-02-04 21:14:19 +00:00
skodak
94b3dde15b
update code clarification - thanks Eloy!
2005-02-04 00:43:45 +00:00
skodak
516121bd0d
radical chat clean up, see forum for details
2005-02-03 20:39:27 +00:00
moodler
d3c8056258
Changes for XHTML and accessibility compatibility.
...
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
stronk7
1082105205
Modify sesskey behaviour. SC#73
2005-01-22 18:53:44 +00:00
moodler
34027b1b41
Minor change
2005-01-21 04:38:46 +00:00
defacer
bc6c7c26b6
Better comments and some more diagnostic messages to help with bug hunting.
...
Also changed a > to >= to make the polling interval precice to the second.
2005-01-17 22:26:20 +00:00
defacer
548c4e2e55
Fix for bug 2285: chatd shows all chat users as present in every chatroom
...
Should be fixed, but needs testing.
2004-12-15 07:08:31 +00:00
moodler
68c3b07794
FIx for display of first session, from stable
2004-12-08 13:47:06 +00:00
mjollnir_
1604a0fc2b
Merged from MOODLE_14_STABLE: More small sql tweaks to avoid invalid postgres sql
2004-11-23 02:05:47 +00:00
mjollnir_
4b0626c985
Fixed another version problem, this time not _as_ serious as just in UNSTABLE DEVELOPMENT
2004-11-19 02:30:40 +00:00
mjollnir_
756fe81e15
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - chat module
2004-11-18 02:37:58 +00:00
mjollnir_
74dbfd4daf
Merged from MOODLE_14_STABLE: Indexes for chat and version bump
2004-11-17 22:54:16 +00:00
skodak
5c05d23b4b
merged from 14_STABLE - fixed warning in Activity report/Outline
2004-10-23 19:21:30 +00:00
moodler
2defdcd7d5
Changes for XHTML and accessibility compliance
2004-10-19 10:34:02 +00:00
defacer
233ca8bf60
Undoing an incorrect instance of htmlentity encoding a &. Probably got in
...
with all the XHTML frenzy. Thanks to Daryl for helping to debug this! :-)
2004-10-03 16:40:20 +00:00
stronk7
ebfff4e014
admin/module.php is now using sesskey.
...
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
gustav_delius
8f0cd6ef0f
Resolved problems with previous replacement of
...
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
b4510d5333
closed some input tags
2004-09-12 22:23:51 +00:00
gustav_delius
1c61c8d6bc
fixed capitalization and quoting of attribute values
2004-09-12 15:06:29 +00:00
gustav_delius
a9ef4a630a
closed <input /> <br /> <hr />
2004-09-12 14:41:49 +00:00
defacer
8113661471
Merging addslashes() change from stable.
2004-09-09 10:58:25 +00:00