Implementação do rodapé

This commit is contained in:
eduardogusmao
2019-09-02 19:28:52 -03:00
parent ac035071ec
commit ee8345d785
10 changed files with 139 additions and 88 deletions

12
lib.php
View File

@@ -335,6 +335,18 @@ if (!function_exists('get_logo_url')) {
$logo = empty($logo) ? $OUTPUT->image_url('home/logo', 'theme') : $logo;
return $logo;
}
}
function get_footer_logo_url() {
global $OUTPUT;
static $theme;
if (empty($theme)) {
$theme = theme_config::load('qualisaude');
}
$logo = $theme->setting_file_url('logo', 'logo');
$logo = empty($logo) ? $OUTPUT->image_url('logos/logo-footer2x', 'theme') : $logo;
return $logo;
}
/**