Talk:1.6 theme upgrade
From MoodleDocs
Brilliant guys, thanks! - Martin D
Starting with Moodle 1.6 it is possible to make a link to Moodle Docs available (to admin or teacher, not to student) by adding the following to footer.html:
page_doc_link(get_string("moodledocslink"))
However, if a theme compatible with Moodle 1.5 and 1.6 has a call to page_doc_link(get_string("moodledocslink")) in its footer.html, this will trigger an error message when the theme is used under version 1.5.
Fatal error: Call to undefined function page_doc_link() in ...
Is there a way to leave this function call in footer.html without triggering the error message?
Joseph