Skip to content

Commit

Permalink
Made the News Link point to the select project page when all proejcts…
Browse files Browse the repository at this point in the history
… is selected

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@816 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Mar 26, 2002
1 parent 4405eca commit e045ccf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core_html_API.php
Expand Up @@ -319,7 +319,11 @@ function print_menu() {
PRINT "<a href=\"$g_manage_page\">$s_manage_link</a> | ";
}
if ( access_level_check_greater_or_equal( MANAGER ) ) {
if ( "0000000" != $g_project_cookie_val ) {
PRINT "<a href=\"$g_news_menu_page\">$s_edit_news_link</a> | ";
} else {
PRINT "<a href=\"$g_login_select_proj_page\">$s_edit_news_link</a> | ";
}
}

PRINT "<a href=\"$g_proj_doc_page\">$s_docs_link</a> | ";
Expand Down

0 comments on commit e045ccf

Please sign in to comment.