moodler
c1afef8059
FIxed up the intro boxes XHTML Strict
2007-01-11 08:06:15 +00:00
toyomoyo
a2f6a09605
MDL-7861, xhtml problems with survey
2007-01-08 08:00:56 +00:00
toyomoyo
795b56b3f1
MDL-7861, xhtml strict for survey
2007-01-08 05:47:12 +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
moodler
0468976c9a
SWEEPING CLEANUP
...
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)
The $kill thing was removed. If you want to assert a capability
then use:
require_capability('capname', $context);
with optional variables to modify the error message
Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
bee7ee3815
Removed tabs
2006-08-09 13:39:44 +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
moodler
bbbf2d4015
ROLES AND PERMISSIONS - FIRST CHECK-IN
...
=======================================
WARNING: DEV IS CURRENTLY VERY UNSTABLE.
This is a mega-checkin of the new Roles system. A lot of changes have
been made in core and modules.
Currently there are a lot of rough edges and known problems. We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).
Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
8f414ab8aa
fixed some long standing and some new problems and SC#249, please consider backporting into STABLE
2006-04-27 21:30:18 +00:00
thepurpleblob
00592b8032
changed deprecated _variable() type functions to _param() type functions.
2005-07-05 11:02:46 +00:00
moodler
7f3f41ecfb
Added some reportlink classed to the report links
2005-04-13 07:45:47 +00:00
stronk7
cd5d2d4b74
Now survey->name supports filterall.
2005-04-06 18:20:05 +00:00
moodler
b846ac39ff
Standardise the intro box using an ID
2005-03-13 16:17:55 +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
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
d1290cec39
fixed capitalization and quoting of attribute values
2004-09-12 17:34:35 +00:00
gustav_delius
a9ef4a630a
closed <input /> <br /> <hr />
2004-09-12 14:41:49 +00:00
gustav_delius
90fcc576ea
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
2004-08-21 20:20:58 +00:00
moodler
a9ccbf60bf
Groups support on Surveys. Phew.
2004-02-20 16:03:05 +00:00
moodler
1d8063adbc
Some spacing
2004-02-16 17:15:59 +00:00
moodler
f14a311ec3
Minor tify up
2004-02-16 17:14:07 +00:00
moodler
7c8c335fa3
Complete clean-up of the survey reports.
...
Frames are GONE. :-)
Also, a new survey: CIQ = Critical Incident Questionnaire
2004-02-16 16:13:31 +00:00
moodler
037f99aa2d
Upgraded add_to_log to send cm->id
2004-01-31 15:22:04 +00:00
moodler
145cb8f9ab
More short tags
2003-09-11 13:21:56 +00:00
moodler
c559bcf6f0
Fixed some PHP short_tags
2003-09-09 12:34:51 +00:00
moodler
b1f505771e
Fixed the bug I introduced in the last checkin (it was related to the
...
re-introduction of text fields in surveys) See bug 441
2003-05-20 04:26:57 +00:00
moodler
3a4c2fd089
I knew there was something else I'd forgotten!
...
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not. If it is, then students get a message.
2003-05-15 18:03:22 +00:00
moodler
813ec7ad65
Prevent guests from taking surveys
2003-05-06 03:06:06 +00:00
moodler
b0e3a92523
Clean sweep through all the important changing all include(), include_once()
...
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
607809b3ba
OK a number of small changes here.
...
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS etc
Secondly, if gdversion == 0 (ie GD is not installed) then:
- users are not even allowed to upload new images
- graphs now just print a message instead of failing.
this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
e323955db8
Changes to use new database stuff
2002-12-23 05:57:05 +00:00
moodler
d897cae419
Changes to enable jumping between activity modules, using a new menu in
...
the upper-right corner. Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
f762c448ef
FINALLY! Surveys are now translatable! :-)
2002-11-09 06:22:57 +00:00
moodler
09aebc9468
Cleaned up some buttons ...
2002-10-16 04:51:55 +00:00
martin
98899fc040
Language fixes
2002-08-12 17:54:13 +00:00
martin
94361e021e
Lots of work on site display, over many files. Improved front page
...
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
0e30c987e5
More cleanups to survey - renamed/moved functions, modernised mod.php
2002-08-01 05:18:07 +00:00
martin
551b0b9806
Big clean up of survey functions and removal of deadwood (more to go still though)
2002-08-01 04:49:26 +00:00
martin
da8b7aa7a5
Fix to update_module_icon (to pass the courseid)
2002-07-04 07:48:44 +00:00
martin
b416a1c34f
Slight tweaks to survey display after it's been done (list # of students)
2002-06-25 07:10:01 +00:00
martin
5575a053d3
Changes to put update/edit icons in the headers of module and course pages
2002-06-08 06:52:00 +00:00
martin
5eb45fa058
Various small fixes across all modules. Most notable was the revised
...
use of add_to_log, and the new logging format.
2002-05-31 09:07:11 +00:00
martin
c015c2bcb3
If students view surveys after having done them, then they are now shown
...
the survey results compared to the class. Needs docs still.
2002-03-28 05:52:30 +00:00
martin
f9903ed0a4
Initial revision
2001-11-22 06:23:56 +00:00