299 Commits

Author SHA1 Message Date
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
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +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
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +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
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +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
skodak
0c0849cf5f lots of incorrect required_param()'s - there MUST be only two parameters not three!! 2006-03-08 00:08:51 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
stronk7
4128597a44 Solved one bug when decoding encoded links for
resource->reference
(http://moodle.org/mod/forum/discuss.php?d=38801)

Merged from MOODLE_15_STABLE
2006-02-01 19:10:30 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
f36c4b9601 took out an echo 2006-01-27 04:29:11 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
stronk7
f4ba785b13 Solved one problem with frames and activitynames filter.
(http://moodle.org/mod/forum/discuss.php?d=28382)

Merged from MOODLE_15_STABLE
2006-01-11 15:22:13 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +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
moodler
39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +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
stronk7
5e6c566167 Now IMS Content Packaging resources are deleted properly
(both DB records and deply files under moddata)
2005-12-06 00:12:56 +00:00
stronk7
f0c6abbfe9 Now delete_instance() in resource classes receives the
full $resource record instead of the $id alone. Needed
to be able to specialize such method in some resource types.

Merged from MOODLE_15_STABLE
2005-12-06 00:02:40 +00:00
moodler
cd7d299942 Tidying ... 2005-11-08 05:14:52 +00:00
stronk7
7b6f4f9c1f Fixed encoding of page title of framed IMS CP resources
(mimic of skodak's work in other frames)
2005-11-05 16:19:23 +00:00
skodak
539d335c2f fixed bug #4030 - filemtime for time modified; merged from MOODLE_15_STABLE 2005-11-04 11:32:48 +00:00
skodak
9c5afdf214 fixed encoding of page title of framed resources; merged from MOODLE_15_STABLE 2005-11-04 10:00:28 +00:00
stronk7
33e9836968 Solve copy/paste bug. Now items are properly checked. 2005-10-13 22:02:44 +00:00
stronk7
4cce92bdb4 Make some extra chacks because there were some problems
with invalid manifests and PHP5.
2005-10-01 21:51:26 +00:00
stronk7
af0b56397d Minor bug with some unclosed tags solved. 2005-09-27 16:09:58 +00:00
stronk7
1c8564642d xml:base attribute can be inside the manifest tag too. Thanks
to SCORM specifications clarifying this IMS CP detail! :-)
2005-09-24 17:59:51 +00:00