diff --git a/event/listener.php b/event/listener.php index 6ded1776..4c550a15 100644 --- a/event/listener.php +++ b/event/listener.php @@ -96,7 +96,7 @@ public function load_language_on_setup($event) public function add_page_header_link() { $this->template->assign_vars(array( - 'BOARDRULES_FONT_ICON' => $this->config['boardrules_font_icon'], + 'BOARDRULES_FONT_ICON' => $this->config['boardrules_font_icon'] && strpos($this->config['boardrules_font_icon'], ':') === false ? 'fa:' . $this->config['boardrules_font_icon'] : $this->config['boardrules_font_icon'], 'S_BOARDRULES_LINK_ENABLED' => !empty($this->config['boardrules_enable']) && !empty($this->config['boardrules_header_link']), 'S_BOARDRULES_AT_REGISTRATION' => !empty($this->config['boardrules_enable']) && !empty($this->config['boardrules_require_at_registration']), 'U_BOARDRULES' => $this->controller_helper->route('phpbb_boardrules_main_controller'), diff --git a/styles/prosilver/template/event/overall_header_navigation_append.html b/styles/prosilver/template/event/overall_header_navigation_append.html index daf0d292..0524b282 100644 --- a/styles/prosilver/template/event/overall_header_navigation_append.html +++ b/styles/prosilver/template/event/overall_header_navigation_append.html @@ -1,7 +1,7 @@ {% if S_BOARDRULES_LINK_ENABLED%}
  • - {% if BOARDRULES_FONT_ICON %}{{ Icon('font', BOARDRULES_FONT_ICON, lang('BOARDRULES'), false) }}{% endif %} + {% if BOARDRULES_FONT_ICON %}{{ Icon('iconify', BOARDRULES_FONT_ICON, lang('BOARDRULES'), false) }}{% endif %}
  • {% endif %}