Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@166 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Feb 8, 2001
1 parent 8c778ab commit 5c5e0f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions set_project.php3
Expand Up @@ -9,6 +9,12 @@
<?
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

### Check for invalid project_id selection
if ( empty( $f_project_id ) || ( $project_id="0000000" ) ) {
PRINT "You must choose a valid project";
exit;
}

### Add item
setcookie( $g_project_cookie, $f_project_id, time()+$g_cookie_time_length );

Expand Down
9 changes: 7 additions & 2 deletions strings_english.php
Expand Up @@ -205,6 +205,11 @@
### $s_bug_notes_title # defined above
$s_delete_link = "Delete";

### choose_project_page.php3
$s_choose_project_title = "Choose Project";
$s_projects = "Projects";
$s_select_project_button = "Select Project";

### index.php3
$s_click_to_login = "Click here to login";

Expand Down Expand Up @@ -432,8 +437,8 @@

### project_menu_page.php3
$s_project_selection_title = "Project Selection";
$s_projects = "Projects";
$s_select_project_button = "Select Project";
### $s_projects # defined above
### $s_select_project_button # defined above

### report_add.php3
$s_report_add_error_msg = "ERROR: There was an error in your report.";
Expand Down

0 comments on commit 5c5e0f6

Please sign in to comment.