diff --git a/Calendar/Calendar.php b/Calendar/Calendar.php index 6b8ab9b..a0d1b72 100644 --- a/Calendar/Calendar.php +++ b/Calendar/Calendar.php @@ -327,8 +327,8 @@ function errors() { function hooks() { return array( 'EVENT_LAYOUT_RESOURCES' => 'resources', - 'EVENT_MENU_MAIN_FRONT' => 'menu_main_front', - 'EVENT_VIEW_BUG_DETAILS' => 'html_print_calendar', + 'EVENT_MENU_MAIN' => 'menu_main_front', + 'EVENT_VIEW_BUG_EXTRA' => 'html_print_calendar', 'EVENT_FILTER_COLUMNS' => 'column_add_in_view_all_bug_page', 'EVENT_DISPLAY_TEXT' => 'column_title_formating', ); @@ -345,7 +345,7 @@ function menu_main_front() { 'url' => plugin_page( 'calendar_user_page' ), 'title' => plugin_lang_get( 'menu_main_front' ), 'access_level' => plugin_config_get( 'calendar_view_threshold' ), - 'icon' => 'fa-random' + 'icon' => 'fa-calendar' ), ); } diff --git a/Calendar/core/classes/ViewIssue.class.php b/Calendar/core/classes/ViewIssue.class.php index f48ca5d..b8c3f08 100644 --- a/Calendar/core/classes/ViewIssue.class.php +++ b/Calendar/core/classes/ViewIssue.class.php @@ -22,7 +22,8 @@ public function __construct( $p_days_events, $p_bug_id ) { } protected function print_spacer_top() { - echo ''; + echo '