Commit Graph

122 Commits

Author SHA1 Message Date
stronk7 72395f4d2a Some minor js problems. MDL-7811 and MDL-6481
Merged from MOODLE_16_STABLE
2007-02-13 23:39:21 +00:00
skodak b27229da41 do not send passowrd hashes to other sites SC#353; merged from MOODLE_16_STABLE 2007-01-17 20:10:25 +00:00
ikawhero 78066f113a Replacing with working image 2006-11-13 06:29:29 +00:00
moodler 9595f6a388 FIxed some rogue &nbsp characters (thanks, Samuli!) MDL-7179 2006-10-23 13:41:27 +00:00
skodak 0ca30166f3 Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer. 2006-10-08 08:20:38 +00:00
moodler d7e8ffebbf Merged fixes from 1.6 2006-09-22 13:27:56 +00:00
skodak 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak 43a8ceeaf1 fixed missing ; 2006-09-20 15:04:01 +00:00
toyomoyo dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo 9ce384ba1e relacing deprecated functions with capability checks 2006-09-19 14:16:40 +00:00
moodler fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
skodak 7f5bc80b78 backupdata folder is no longer displayed in list of directories when setting up Directory Resource - partially related to MDL-6280 ; and some other typo fixes; get_directory_list() no accepts also array of exluded files 2006-09-17 06:49:26 +00:00
skodak 5434bacabe backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE 2006-09-16 17:15:18 +00:00
toyomoyo 17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +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 feec09eecf Merged fix for bug 5830 into dev 2006-06-16 09:42:38 +00:00
skodak 7f9ba24ef2 fixed - unable to disable blocks; merged from MOODLE_16_STABLE 2006-06-01 19:13:52 +00:00
stronk7 6985c78c6b XHTML validation. Bug 5332.
(http://moodle.org/bugs/bug.php?op=show&bugid=5332)

Merged from MOODLE_16_STABLE
2006-05-03 18:22:21 +00:00
stronk7 e857af01f8 No need to display the iframe because now it's never hidden. 2006-04-28 13:18:49 +00:00
stronk7 7071d6d908 Deleted a bunch of js code and trying another (the last) way
to resize the iframe properly. Tests at home 100% reliable.
I hope it'll work ok remotely... Depending of results  we'll
decide the final system.
2006-04-27 19:45:00 +00:00
stronk7 81c7ef5ada Supresing footer() output in this page because it continues causing
important problems under Safari and I really think it isn't critical
to have it here at all costs.
2006-04-26 00:09:00 +00:00
stronk7 d860c55c84 Handle some debugs properly. 2006-04-25 23:52:42 +00:00
stronk7 d9f9d943b5 Now the deploy-all button works! 2006-04-25 23:47:46 +00:00
stronk7 5adb5b02db And the standard footer is back again. Andrew Walker, the
JavaScript Superman did the work! B-) Tested under FF, IE
and Safari.
2006-04-25 15:44:34 +00:00
stronk7 206548dc4b Apply latest changes from resource type to repository
(double head out, cool resize javascript, XHTML and
navigation menu)

TODO: Fix the 'deploy all' button
2006-04-24 23:55:29 +00:00
stronk7 dc04f6e346 Now navigation menu is properly created (XHTML + 508) 2006-04-24 22:17:10 +00:00
stronk7 b692e95816 Looking much better now! B-)
More tests tomorrow (IE, mainly)
2006-04-24 00:11:59 +00:00
stronk7 0e8d48e9d5 Now the resize script supports both resources with and
without navigation menu.
2006-04-23 17:22:45 +00:00
stronk7 57eb7bb905 Styles are now 100% out from here. 2006-04-23 17:00:18 +00:00
stronk7 af6f079c3c Moving some harcoded styles in ims cp to standard 2006-04-23 11:49:33 +00:00
stronk7 3f5e294b97 Now the resize script hasn't anymore harcoded widths. 2006-04-23 09:59:04 +00:00
stronk7 0a1cf79f5f TOC needs _parent because it's rendered in the iframe. 2006-04-23 02:21:00 +00:00
stronk7 dce3a7cb61 Now double-headers are out 100%
Some incorrect targets are out.
Scorm API (dummy) is working fine.

TODO: Move css styles to standard.
2006-04-23 01:57:02 +00:00
stronk7 282bf4a3f3 Moving script to a proper place (for XHTML validation)
(although the page still continues with some errors)
2006-04-22 22:52:34 +00:00
stronk7 13615e23c6 Avoid some warnings... 2006-04-22 22:51:15 +00:00
wildgirl 4c85af7b01 Added a check for is_object($item) to prevent possible warnings in preview_ims_generate_toc
Restored use of textlib in preview_ims_generate_toc
2006-04-20 06:53:07 +00:00
wildgirl 676fb87edc Added a check for isset($this->resource->reference) to prevent warnings in resource_ims
Added a check for is_object($item) to prevent warnings in ims_generate_toc
Restored use of textlib in ims_generate_toc
2006-04-20 06:51:55 +00:00
wildgirl 824c9dc7c6 resource.class.php changes:
1. Added logic to process repository paths. A repository path is marked with a # as the first character of the reference field.
2. Added a new error code for repository items not being deployed / bad reference.

ims.html change:
Added a button to link to the repository browser.

New files:
finder.php ? browser for the repository
preview.php ? cut down display routine from resource.class.php, forces sidemenu etc.
repository_deploy.php ? deploy for repository items (same results as deploy.php)
repository_config.php (repository disabled by default)
resize.js - for iframe resizing
dummyapi.js - dummy SCORM API

(Tom's work, with help from Andy)
2006-04-18 18:04:30 +00:00
moodler 99cc88d159 Added a new string idnumber course to allow more customisation bug 4337 2006-04-13 08:44:20 +00:00
wildgirl 750c694604 Config menu for extra options added. Javascript added to force some sensible options. (Tom's work) 2006-04-10 22:31:30 +00:00
wildgirl 2cc0d2a8ff 1. Converted display function from frames to divs and an iframe to hold the content.
2. Added an (optional) side navigation bar.
3. Added several options to add more flexibility. Option to fast-forward submenus.
(Tom's work)
2006-04-10 22:30:22 +00:00
skodak 4f01826a27 removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb; 3rd party contribs must be fixed to be utf-8 and 1.6dev compatible anyway;
going to add a notice to wiki at http://docs.moodle.org/en/UTF-8_scripts
2006-03-13 22:26:06 +00:00
martinlanghoff 10741fb26e mod/resource: dos2unix on the Hive code
Some Windows newlines got in there somehow. Cleanup.
2006-03-10 01:05:52 +00:00
moodler 1ec13950d1 Checking in some unchecked-in code 2006-03-09 01:51:22 +00:00
stronk7 84e4d32e37 More uses for current_charset()
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:46:19 +00:00
stronk7 092a022695 More uses for current_charset().
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:44:55 +00:00
stronk7 760eefb641 Some strings are now properly displayed. End of work in IMS for now. 2005-12-06 10:41:24 +00:00
stronk7 2396b0d0c2 Fixed one typo-bug! :-P 2005-12-06 10:28:53 +00:00
stronk7 4e7a03f68e Added suport to read submanifests (not deployed yet but loaded) 2005-12-06 10:22:52 +00:00
stronk7 bf74b55720 Check the IMS package has been deployed before delete dir. 2005-12-06 10:17:03 +00:00