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
iarenaza
0baafc173a
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
...
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +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
fc9cb24a18
MDL-7861, fixes for workshop
2007-01-10 08:29:41 +00:00
skodak
d2ce367fb9
MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera)
2007-01-06 19:22:58 +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
toyomoyo
dc808910e1
MDL-7861, fixing xhtml
2007-01-04 05:32:23 +00:00
toyomoyo
4b75f9f8ef
MDL-7861, fixing xhtml strict problem
2006-12-21 05:48:08 +00:00
skodak
1936c10e54
fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899
2006-11-12 08:55:13 +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
ef45822122
some extra cleaning of comments and feedback before storage. normaly the text is cleaned before display, this is just a preventive measure because I did not want to study this code all day ;-)
2006-04-19 20:21:42 +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
stronk7
6a2c151a9e
Replacing some HTTP_POST_VARS uses because it doesn't work always!
...
Using data_submitted() or $_POST
Merged form MOODLE_14_STABLE
2005-04-02 17:45:29 +00:00
stronk7
75549f039a
HTTP_POST_VARS present some problems under PHP5 (deprecated,
...
configuration needed). Used $_POST (with data_submitted(), if
possible) instead.
NOTE: Detected in a lot of places!
2005-03-10 00:28:42 +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
gustav_delius
17db65ef3f
Added visibility check to all workshop pages, see bug 2450.
2005-02-13 13:12:03 +00:00
moodler
f1c1d2f166
Removing the THEME variable and adding in classes where appropriate
2005-02-10 10:41:22 +00:00
gustav_delius
eb89027f5b
More changes to the user interface. See http://moodle.org/mod/forum/view.php?id=740 .
2004-12-12 11:20:07 +00:00
gustav_delius
1c4e73b614
Now teachers can again grade assessments. Also various tweaks of admin interface. This is work in progress. Heavy testing and further development will take place during the coming days, so consider this code as unstable.
2004-12-09 09:34:43 +00:00
gustav_delius
ab98918f09
Workshop module now works with dates rather than phases, see http://moodle.org/mod/forum/discuss.php?d=15541 .
2004-12-05 11:49:18 +00:00
moodler
b64dab0e5d
Changes for XHTML and accessibility compatibility
2004-11-26 09:33:02 +00:00
rkingdon
3f6a03249d
Fixed some error messages in assessments.php which gave the wrong table
...
(workshop_elements) should be workshop_grades.
2004-11-15 19:10:52 +00:00
rkingdon
9a21768212
Version 2004111000 of workshop.
2004-11-12 17:28:07 +00:00
rkingdon
ac220a6d80
Corrected password protected workshops (they showed the assignment!);
...
minor
html additional to edit assessments page.
2004-10-02 16:04:56 +00:00
rkingdon
ff1d392aa1
Allow teachers to edit examples from Admin page; Count of ungraded
...
asessment now excludes warm and hot assessments; change a & back to a
& in a redirect call.
2004-09-29 16:52:24 +00:00
rkingdon
a557e354ed
Version 2004092400 - in line student submission (plus attachments);
...
addition of on-the-fly grading of assessments; some bugs cleared.
2004-09-27 14:41:17 +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
e0b7b090d3
towards XHTML compliance
2004-09-14 20:39:28 +00:00
gustav_delius
1c5d9bbbec
closed some br tags
2004-09-12 22:29:44 +00:00
gustav_delius
9a58f7cb85
towards XHTML compliance
2004-09-12 21:43:59 +00:00
gustav_delius
a9ef4a630a
closed <input /> <br /> <hr />
2004-09-12 14:41:49 +00:00
rkingdon
4cd23ea295
Version 2004081100: auto grading of assessments.
2004-09-07 16:17:32 +00:00
gustav_delius
067675c006
introduced the fullname() function in a lot of places. Still not complete though, especially in sorting.
2004-08-20 20:12:48 +00:00
rkingdon
dbda4a92ad
Split lib.php into locallib.php and lib.php;
...
Fixed bug # 1435;
Possibly fixed bug #1489
2004-06-18 09:24:20 +00:00
stronk7
7c11319ad7
Modified calls to add_to_log() function to include cmid at the end. It was missing
...
in "over allocatio" and "grade" logs.
2004-02-15 20:03:28 +00:00
stronk7
d09ce61d1a
Modified calls to add_to_log() function to include cmid at the end. It was missing
...
in "league_table", "submit" and "assess" logs.
2004-02-15 19:37:26 +00:00
rkingdon
f52cdc8c43
Bug fixed in assesssubmission code.
2003-11-19 17:54:54 +00:00
rkingdon
a50f447b04
Some minor improvements, see Workshop Forum.
2003-11-13 16:22:27 +00:00
rkingdon
8e7f0d621c
Fixed links in email messages.
2003-10-06 19:30:27 +00:00
rkingdon
12fbf6995e
Version 2003100200: improved handling of resubmissions (new field added to workshop_assessments)
2003-10-05 19:00:43 +00:00
rkingdon
93dcde0e53
Recent Activity fixed; Student names removed from emails.
2003-09-27 00:10:38 +00:00
moodler
c559bcf6f0
Fixed some PHP short_tags
2003-09-09 12:34:51 +00:00