flash upgrader MDL-20841 New config setting excludeoldflashclients will set a minimum version for flash clients. A check in the standard_head_html is run once, and will set a session variable with the current flash version. If the current flash version is lower than the minimum requirement, then Moodle will serve alternate content whenever a flash file is requested. The alternate file will ask the user to upgrade flash, merged from 1.9

This commit is contained in:
jerome mouneyrac
2009-12-02 06:38:16 +00:00
parent 9895a5aed9
commit b5bbeaf02c
11 changed files with 878 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
require('../../config.php');
require_login();
echo 'alertmessage='.get_string('flashupgrademessage').'&linkmessage='.get_string('flashlinkmessage');
?>