Commit Graph

27 Commits

Author SHA1 Message Date
thepurpleblob 18320d9331 Uneccessary call to build category list that was grinding systems to a
halt with large numbers of categories.
2005-11-09 16:11:54 +00:00
thepurpleblob b87c2adc76 Brought in line with HEAD version to get rid of data_submitted() function.
A bit of HTML cleaning up too. Fixes incompatibility with secureforms.
2005-11-04 10:04:04 +00:00
thepurpleblob 9a94d087a8 Strange missing parameter - bug #4121 2005-10-19 05:41:44 +00:00
thepurpleblob 1a87ac6a6c Fixed problem with courseid not being passed. 2005-09-16 10:02:42 +00:00
thepurpleblob ac00624f97 Fixed bug where path to exported file could be incorrect in non en languages. 2005-07-21 09:25:29 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
moodler 39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +00:00
thepurpleblob cc93459372 Export now saves file in correct course file area (ie, the current one).
Export now works for published courses where the teacher is not
a teacher on the 'remote' course.
See bug #3996 and bug #3985
2005-08-30 15:13:37 +00:00
thepurpleblob 468aedfe47 Fixed bug introduced by _variable to _param change - default export
file name was not being generated due to isset rather than empty check.
2005-08-10 09:56:03 +00:00
thepurpleblob 00b3edfdfb merged from STABLE 2005-07-21 09:26:34 +00:00
thepurpleblob c33fe7e79a Changed _variable() to _param throughout. Improved look of output HTML
and added sesskey checking.
2005-07-05 10:35:32 +00:00
thepurpleblob 0ae982231f Import/export changed so that available formats are automatically detected.
Classes now have discrete names and methods to identify import/export
capability added. Detecting function factored out into locallib.php
2005-04-20 09:08:25 +00:00
thepurpleblob c9a9705ef1 Now only displays available export formats. List is now hard-coded in this file. 2005-04-19 15:26:37 +00:00
thepurpleblob f85601d1b3 Export checks that the course files area is created (and creates it if not!) 2005-04-19 12:27:56 +00:00
thepurpleblob c4aa4e8ff6 Added direct link to download exported file rather than having
to search for it.
2005-04-13 10:32:45 +00:00
gustav_delius ee9eb2c74f Applied patch supplied by Brian King to remove the non-functional category selection menu from the export form. Closing bug 1945. 2005-03-14 07:56: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
gustav_delius 6f7970138a Taken out some $THEME 2005-02-05 17:28:06 +00:00
gustav_delius 76cacec819 split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle. 2005-01-08 20:06:00 +00:00
moodler d030268d68 Merged pathname checks from stable 2004-09-29 06:52:24 +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
moodler 49d74ec0ba Tidying up Howard's wierd indenting. ;-) 2004-08-23 16:46:50 +00:00
moodler 4af0e604db Straightened up a button 2004-08-23 16:36:04 +00:00
gustav_delius f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
thepurpleblob 3cb21c9388 fixed bug that must have crept in during recent refactor. $course not being passed
to export format object.
export file extension can now be selected by overriding method in format.php
2004-08-06 11:11:05 +00:00
thepurpleblob c040a9a2ff New file for exporting quizzes 2004-06-17 16:18:21 +00:00