|
|
|
File Attachments:
|
1.
resource.class.php.patch (0.7 kB)
|
|
Environment:
|
W2K 2003 server with PHP >=5.2 and MySQL >=5.0 and Moodle 1.8.2.
|
|
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</span><span lang="de" class="multilang"> http://www.google.de</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.
|
|
Description
|
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</span><span lang="de" class="multilang"> http://www.google.de</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. |
Show » |
|