Issue Details (XML | Word | Printable)

Key: MDL-11207
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: Julien Dehaese
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Multilang filter does not work in the resource location field when resource type is "Link to file or website"

Created: 11/Sep/07 07:49 PM   Updated: 23/Nov/07 07:33 PM
Return to search
Component/s: Filters
Affects Version/s: 1.8.2
Fix Version/s: None

File Attachments: 1. Text File resource.class.php.patch (0.7 kB)

Environment: W2K 2003 server with PHP >=5.2 and MySQL >=5.0 and Moodle 1.8.2.

Database: MySQL
Participants: Julien Dehaese, Martin Dougiamas and Petr Kalis
Security Level: None
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
When creating a multilingual resource by changing the resource name in the title, I need to link to a different file or website depending on the chosen language.

Example:
Resource name = <span lang="en" class="multilang">Google in English</span><span lang="de" class="multilang">Google in German</span> correctly displays the resource name depending on the language.

However, inserting <span lang="en" class="multilang">http://www.google.co.uk&lt;/span&gt;&lt;span lang="de" class="multilang">http://www.google.de&lt;/span> in the resource location field of the resource fails opening the right google site.

This bug (or lack) makes it a burden to build multilanguage courses since the only method to have it working then is to build everything into a webpage resource type by constantly editing the HTML code.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Kalis made changes - 23/Nov/07 07:33 PM
Field Original Value New Value
Attachment resource.class.php.patch [ 12477 ]