diff --git a/main/exercice/overview.php b/main/exercice/overview.php index f05ab9d4eb..2699a23d9d 100755 --- a/main/exercice/overview.php +++ b/main/exercice/overview.php @@ -163,7 +163,7 @@ if (!empty($attempts) && $visible_return['value'] == true) { $attempt_result['exe_result'], $attempt_result['exe_weighting'] ); - $attempt_url = api_get_path(WEB_CODE_PATH) . 'exercice/result.php?' . api_get_cidreq() . '&id=' . $attempt_result['exe_id'] . '&height=500&width=950' . $url_suffix; + $attempt_url = api_get_path(WEB_CODE_PATH) . 'exercice/result.php?' . api_get_cidreq() . '&id=' . $attempt_result['exe_id'] . '&modal_size=lg' . $url_suffix; $attempt_link = Display::url( get_lang('Show'), $attempt_url, diff --git a/main/template/default/layout/footer.tpl b/main/template/default/layout/footer.tpl index 38097a82e5..4f34bb23e6 100755 --- a/main/template/default/layout/footer.tpl +++ b/main/template/default/layout/footer.tpl @@ -73,6 +73,22 @@ +{# Global modal, load content by AJAX call to href attribute on anchor tag with 'ajax' class #} +
+