Ankit Agarwal
5249ba7405
MDL-33369 course: Adding support for sectionid parameter for section view pages
2012-06-05 08:53:04 +08:00
Davo Smith
6c0ae99b69
MDL-33056 Course dnd upload - improved status box styling and added fade in/out
2012-06-01 11:27:42 +01:00
Rossiani Wijaya
34b84d45b6
MDL-32766 course view section log: update patch
2012-05-22 14:02:48 +08:00
Rossiani Wijaya
15a848ba90
MDL-32766 course log: specify log for viewing course section
2012-05-22 13:50:40 +08:00
Andrew Robert Nicols
01e0e7044a
MDL-30617 Add a javascript interface for adding modules to a course
...
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Dan Poltawski
12ba24a8f8
Merge branch 'MDL-24419' of git://github.com/stronk7/moodle
2012-05-17 11:19:02 +08:00
Sam Hemelryk
7b06151288
Merge branch 'MDL-22504_drag_and_drop_upload_final' of https://github.com/davosmith/moodle
...
Conflicts:
course/lib.php
theme/base/style/course.css
2012-05-17 10:55:35 +12:00
Eloy Lafuente (stronk7)
94dc3c7d1e
MDL-24419 (5): Coding style cleanup
2012-05-17 00:51:50 +02:00
Sam Hemelryk
fbb4c959b5
MDL-32881 Prevent course/view.php from being cached
...
This should prevent browser caching which will ensure that changes made
using the course javascript (e.g. drag/drop, show/hide) will not be 'lost'
by using the browser back button.
This reverts commit 3aaa184399
.
2012-05-17 10:12:29 +12:00
sam marshall
ce4dfd2703
MDL-24419 (4): Add conditional availability support to sections; section cache
...
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.
This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)
In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.
The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
Davo Smith
5103b5e667
MDL-22504 Course drag and drop upload - now correctly ignores disabled modules and allows upload to orphaned sections
2012-05-14 09:48:04 +01:00
Dan Poltawski
d628215d49
MDL-32508 course: turn editting on/off stays on current page
...
Rather than always going to the index page, we can edit on section page
2012-05-04 10:53:01 +08:00
Dan Poltawski
45774bddf7
MDL-32508 course: Switch to 'section' URL param
...
This is a course format independent url param and replaces weekly/topic specific params.
By using a standardised param we are able to use this url consistenly across the codebase
and reduce the risk of param collision
2012-05-04 10:52:58 +08:00
Dan Poltawski
e3c171e19b
MDL-32508 course/view.php: action cleanup
...
After doing actions redirect back to the 'real url' in order to
prevent problems with caching/bookmarking bad urls
2012-05-04 10:52:58 +08:00
Dan Poltawski
599a52fec7
MDL-32508 course/view.php: moderise with MUST_EXIST
2012-05-04 10:52:57 +08:00
Eloy Lafuente (stronk7)
ee5855687e
Merge branch 'MDL-31052-js-rewrite' of git://github.com/danpoltawski/moodle
2012-04-26 03:32:08 +02:00
Andrew Robert Nicols
ebaa29d107
MDL-31096 Convert course resource/section javascript to YUI3 Module
...
AMOS BEGIN
MOV [hideweekfromothers,moodle],[hidefromothers,format_week]
MOV [showweekfromothers,moodle],[showfromothers,format_week]
MOV [hidetopicfromothers,moodle],[hidefromothers,format_topics]
MOV [showtopicfromothers,moodle],[showfromothers,format_topics]
AMOS END
2012-04-23 21:28:39 +01:00
Petr Skoda
cdbea7eed1
MDL-31607 use full course object for require_login() if already available
...
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Petr Skoda
f20edd5208
MDL-32094 fix various E_STRICT compatibility problems
2012-03-18 18:37:24 +01:00
Ruslan Kabalin
93d46f4802
MDL-31255 Fix move of highlighted section when JS is off
2012-02-29 09:08:58 +00:00
Aparup Banerjee
74f0b72254
Merge branch 'MDL-30569-master' of git://github.com/ankitagarwal/moodle
2011-12-20 11:08:42 +08:00
Petr Skoda
af18993548
MDL-30787 fix use of module and section edit capabilities
2011-12-18 13:54:38 +01:00
Ankit Kumar Agarwal
ad96cc524b
MDL-30569 Administration Fixing the redirect after editting is toggeled on the front page
2011-12-15 08:23:15 +05:30
Petr Skoda
743fff98dc
MDL-26142 fix immediately spelling in strings, comments and code
2011-02-13 11:36:46 +01:00
Petr Skoda
516c5eca68
MDL-24698 hopefully fixed all completion_info problems
2010-11-17 06:23:56 +00:00
David Mudrak
03276af682
MDL-25072 reverted theme's disablecourseajax to enablecourseajax property
2010-11-09 11:55:37 +00:00
David Mudrak
8b2918a425
MDL-25072 convert $CFG->disablecourseajax to $CFG->enablecourseajax
2010-11-09 11:55:11 +00:00
David Mudrak
c0b5d9252b
MDL-25072 Stop abusing $CFG->ajaxcapable and $CFG->ajaxtestedbrowsers
2010-11-09 11:54:58 +00:00
Petr Skoda
cdfb6ba850
MDL-25072 themes may disable ajax course edit
2010-11-09 01:28:43 +00:00
Sam Hemelryk
3714c264b9
navigation MDL-24780 Navigation cache is cleared after moving a section
2010-10-21 02:09:37 +00:00
Sam Hemelryk
47e75d04b8
course MDL-23996 section names now used in jump to menu
2010-08-30 01:32:45 +00:00
Petr Skoda
8a7934f7b1
we really should redirect after each action, otherwise sloppy referer tricks fail back especially when action is using POST
2010-08-03 11:00:02 +00:00
David Mudrak
09eb215121
MDL-22729 Course sections can be re-edited again
...
By the way, the current style of creating course_sections is ugly. We
should probably have something like
make_sure_that_at_least_default_section_exists($courseid, $sectionid=null)
and not to insert it into database at many places as we do now.
2010-06-10 18:25:06 +00:00
Martin Dougiamas
088e33633b
Avoid a set_url notice on this page when user isn't enrolled
2010-05-02 09:12:18 +00:00
Martin Dougiamas
2b3d1ac71b
MDL-14632 Removed switchroles from the course view page
2010-04-29 09:32:15 +00:00
Sam Hemelryk
f868c945ff
course-view MDL-21240 Fixed regression: course ajax classes need to be in the head
2010-02-23 08:14:03 +00:00
Petr Skoda
76c0123b0e
MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable)
2010-02-04 22:41:49 +00:00
Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
244a32c617
MDL-21119 lang menu and login info now handled by themes
2009-12-29 17:26:29 +00:00
Petr Skoda
985d1d1d22
MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading
2009-12-25 15:27:47 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
Petr Skoda
aa6c1ced0a
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 08:11:02 +00:00
rwijaya
ddc660600a
course/view MDL-20123 section 0 visibility and highlight
2009-10-21 06:25:21 +00:00
nicolasconnault
8c3c518f98
MDL-20415 Modified the behaviour of AJAX moving of sections when in "weekly" format, so that dates don't get moved along with the sections. This reflects the final, saved state. Merged from MOODLE_19_STABLE
2009-10-03 01:53:17 +00:00
samhemelryk
2b9e3bac50
course MDL-19794 Updated a couple of deprecated functions in modedit and view
2009-09-10 06:45:51 +00:00
samhemelryk
0a122046bc
course MDL-19794 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
2009-09-03 08:47:24 +00:00
nicolasconnault
e6db30260f
MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 04:58:26 +00:00
nicolasconnault
1451dac31e
MDL-19794 Removed a test help icon at the bottom of course/view.php
2009-08-08 11:46:43 +00:00