Commit Graph

191 Commits

Author SHA1 Message Date
David Mudrak 3189fb2d42 Uses tabs for all actions, removed temporary links 2010-01-04 18:01:15 +00:00
David Mudrak da0b1f70c1 More work done on the Workshop Plan UI 2010-01-04 18:01:05 +00:00
David Mudrak b761e6d9c6 Mostly working on the view.php UI plus some changes 2010-01-04 18:00:54 +00:00
David Mudrak 39861053c4 MDL-20183 Uses some of the new Navigation API 2010-01-04 18:00:12 +00:00
David Mudrak ed597c7756 MDL-20192 Allocators and grading strategies are proper subplugins now 2010-01-04 17:59:34 +00:00
David Mudrak 088e75ca19 Replaces deprecated update_module_button() 2010-01-04 17:49:33 +00:00
David Mudrak a39d7d87aa A lot of changes here and there 2010-01-04 17:49:01 +00:00
David Mudrak b8ead2e6a4 Uses workshop renderer to display assessment page
Some small refactoring like using single function to group users done.
2010-01-04 17:48:33 +00:00
David Mudrak 547bbeecac Adding a development tools script 2010-01-04 17:48:07 +00:00
David Mudrak a7c5b9185a Extending workshop class constructor
Every action script in 99% starts with fetching course, course module,
and module instance record. Workshop class will keep the reference to
the course record in courserecord public member variable (do not confuse
with course integer property).
2010-01-04 17:47:43 +00:00
David Mudrak 53fad4b90c MDL-19870 Initial work on random allocator
Initial sketches of random allocator. Refactoring of the rest of the
module here and there. Also, this commit removes trailing whitespace and
running empty lines.
2010-01-04 17:47:09 +00:00
David Mudrak 66c9894dbc Manual allocator uses the new subrendering feature 2010-01-04 17:46:33 +00:00
David Mudrak 6e3099730e MDL-19717 First drafts of allocation support 2010-01-04 17:46:05 +00:00
David Mudrak ffac17dfbc Use the new output approach 2010-01-04 17:45:14 +00:00
David Mudrak 13778dd77d Renaming {load|save}_grading_form() methods
After I started work on assessment support, I realized that "grading
form" would not be consistent with "assessment form".
2010-01-04 17:44:30 +00:00
David Mudrak 113b6e4b91 Display the strategy name 2010-01-04 17:43:12 +00:00
David Mudrak 33e4dea627 Initial draft of submission support 2010-01-04 17:38:29 +00:00
David Mudrak 4eab2e7fbb MDL-17827 workshop: initial check in of the files
Exported from David's git repository
2010-01-04 17:34:08 +00:00
moodler 98017ce04a Removing temp files from HEAD (should still be available in MOODLE_20_WORKSHOP branch) 2009-05-27 02:22:05 +00:00
moodler 0a88d0f1c8 Some temp files to create the MOODLE_20_WORKSHOP branch with 2009-05-27 02:18:03 +00:00
Francois Marier 6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault 6dac764d18 MDL-13050 Reverting, it's not working out as well as planned 2008-01-21 13:40:47 +00:00
nicolasconnault 406af084a3 MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules 2008-01-18 14:44:45 +00:00
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
mattc-catalyst 263017bbdd MDL-10888: groupings - mod/workshop - add grouping support 2007-09-06 01:35:37 +00:00
skodak 2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst e210cd9447 Breadcrumbs: mod/workshop changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:35:36 +00:00
toyomoyo 2d7617c67f merged fix for MDL-9185 2007-04-04 04:05:53 +00:00
moodler c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
toyomoyo fc9cb24a18 MDL-7861, fixes for workshop 2007-01-10 08:29:41 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
toyomoyo dc808910e1 MDL-7861, fixing xhtml 2007-01-04 05:32:23 +00:00
toyomoyo 759a18ddf5 MDL-7861, fixing missing tag 2007-01-02 04:37:45 +00:00
toyomoyo 4b75f9f8ef MDL-7861, fixing xhtml strict problem 2006-12-21 05:48:08 +00:00
vyshane 7ce56c1282 Removed mod/workshop:view 2006-09-22 03:28:56 +00:00
skodak 6b9a1fec8f initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?) 2006-09-06 08:41:47 +00:00
skodak f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
skodak d2963541e2 Security related parameter cleanup in workshop code, please test it. No bug fixes... 2006-04-19 19:48:46 +00:00
stronk7 46867914ef Solve some wrong CVS Id tags
Merged from MOODLE_15_STABLE
2005-10-15 10:40:36 +00:00
thepurpleblob f59e91bcf8 _variable() functions, _GET, _POST etc. changed to appropriate _param()
style functions.
2005-07-06 15:31:07 +00:00
stronk7 b79aa685fb Finally we have to use the 'nomatch' because we can come
from other script (assess.php).

filterall work in progress.
2005-04-10 18:22:18 +00:00
moodler b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler e3f4c26c93 Some layout fixes 2005-03-10 14:11:45 +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