$t_rss_enabled = config_get('rss_enabled'); if (OFF != $t_rss_enabled && news_is_enabled()) { $t_rss_link = rss_get_news_feed_url($t_project_id); html_set_rss_link($t_rss_link); } html_page_top(lang_get('main_link')); if (!current_user_is_anonymous()) { $t_current_user_id = auth_get_current_user_id(); $t_hide_status = config_get('bug_resolved_status_threshold'); echo '<div class="quick-summary-left">'; echo lang_get('open_and_assigned_to_me_label') . lang_get('word_separator'); print_link("view_all_set.php?type=1&handler_id={$t_current_user_id}&hide_status={$t_hide_status}", current_user_get_assigned_open_bug_count(), false, 'subtle'); echo '</div>'; echo '<div class="quick-summary-right">'; echo lang_get('open_and_reported_to_me_label') . lang_get('word_separator'); print_link("view_all_set.php?type=1&reporter_id={$t_current_user_id}&hide_status={$t_hide_status}", current_user_get_reported_open_bug_count(), false, 'subtle'); echo '</div>'; echo '<div class="quick-summary-left">'; echo lang_get('last_visit_label') . lang_get('word_separator'); echo date(config_get('normal_date_format'), current_user_get_field('last_visit')); echo '</div>'; } if (news_is_enabled()) { $t_news_rows = news_get_limited_rows($f_offset, $t_project_id); $t_news_count = count($t_news_rows); if ($t_news_count) { echo '<div id="news-items">'; # Loop through results for ($i = 0; $i < $t_news_count; $i++) { $t_row = $t_news_rows[$i]; # only show VS_PRIVATE posts to configured threshold and above
$t_project_id = helper_get_current_project(); $t_rss_enabled = config_get('rss_enabled'); if (OFF != $t_rss_enabled) { $t_rss_link = rss_get_news_feed_url($t_project_id); html_set_rss_link($t_rss_link); } html_page_top1(); html_page_top2(); if (!current_user_is_anonymous()) { echo '<div class="quick-summary-left">'; echo lang_get('open_and_assigned_to_me') . ': '; echo '<a class="subtle" href="view_all_set.php?type=1&handler_id=' . auth_get_current_user_id() . '&hide_status=' . RESOLVED . '">' . current_user_get_assigned_open_bug_count() . '</a>'; echo '</div>'; echo '<div class="quick-summary-right">'; echo lang_get('open_and_reported_to_me') . ': '; echo '<a class="subtle" href="view_all_set.php?type=1&reporter_id=' . auth_get_current_user_id() . '&hide_status=' . RESOLVED . '">' . current_user_get_reported_open_bug_count() . '</a>'; echo '</div>'; echo '<div class="quick-summary-left">'; echo lang_get('last_visit') . ': '; echo print_date(config_get('normal_date_format'), db_unixtimestamp(current_user_get_field('last_visit'))); echo '</div>'; } echo '<br />'; echo '<br />'; echo '<br />'; $t_news_rows = news_get_limited_rows($f_offset, $t_project_id); $t_news_count = count($t_news_rows); # Loop through results for ($i = 0; $i < $t_news_count; $i++) { $t_row = $t_news_rows[$i]; # only show VS_PRIVATE posts to configured threshold and above
$t_rss_enabled = config_get('rss_enabled'); if (OFF != $t_rss_enabled && news_is_enabled()) { $t_rss_link = rss_get_news_feed_url($t_project_id); html_set_rss_link($t_rss_link); } html_page_top(lang_get('main_link')); if (!current_user_is_anonymous()) { $t_current_user_id = auth_get_current_user_id(); $t_hide_status = config_get('bug_resolved_status_threshold'); echo '<div class="quick-summary-left">'; echo lang_get('open_and_assigned_to_me_label') . lang_get('word_separator'); print_link('view_all_set.php?type=1&handler_id=' . $t_current_user_id . '&hide_status=' . $t_hide_status, current_user_get_assigned_open_bug_count(), false, 'subtle'); echo '</div>'; echo '<div class="quick-summary-right">'; echo lang_get('open_and_reported_to_me_label') . lang_get('word_separator'); print_link('view_all_set.php?type=1&reporter_id=' . $t_current_user_id . '&hide_status=' . $t_hide_status, current_user_get_reported_open_bug_count(), false, 'subtle'); echo '</div>'; echo '<div class="quick-summary-left">'; echo lang_get('last_visit_label') . lang_get('word_separator'); echo date(config_get('normal_date_format'), current_user_get_field('last_visit')); echo '</div>'; } if (news_is_enabled()) { $t_news_rows = news_get_limited_rows($f_offset, $t_project_id); $t_news_count = count($t_news_rows); if ($t_news_count) { echo '<div id="news-items">'; # Loop through results for ($i = 0; $i < $t_news_count; $i++) { $t_row = $t_news_rows[$i]; # only show VS_PRIVATE posts to configured threshold and above