diff --git a/config_inc.php b/config_inc.php index 846408234e..86f86f039d 100644 --- a/config_inc.php +++ b/config_inc.php @@ -44,7 +44,7 @@ #-------------------- # enter the exact url where the bugtracker is located # used in the emailing system - $g_login_url = "http://www.mydomain.com/mantis/"; + $g_mantis_url = "http://www.mydomain.com/mantis/"; #-------------------- #-------------------- @@ -164,11 +164,28 @@ $g_view_assigned_cookie = $g_cookie_prefix."_VIEW_ASSIGNED_COOKIE"; # cookie values - $g_string_cookie_val = $HTTP_COOKIE_VARS[$g_string_cookie]; - $g_project_cookie_val = $HTTP_COOKIE_VARS[$g_project_cookie]; - $g_view_all_cookie_val = $HTTP_COOKIE_VARS[$g_view_all_cookie]; - $g_view_reported_cookie_val = $HTTP_COOKIE_VARS[$g_view_reported_cookie]; - $g_view_assigned_cookie_val = $HTTP_COOKIE_VARS[$g_view_assigned_cookie]; + + $g_string_cookie_val = ""; + $g_project_cookie_val = ""; + $g_view_all_cookie_val = ""; + $g_view_reported_cookie_val = ""; + $g_view_assigned_cookie_val = ""; + + if ( isset( $g_string_cookie ) ) { + $g_string_cookie_val = $HTTP_COOKIE_VARS[$g_string_cookie]; + } + if ( isset( $g_project_cookie ) ) { + $g_project_cookie_val = $HTTP_COOKIE_VARS[$g_project_cookie]; + } + if ( isset( $g_view_all_cookie ) ) { + $g_view_all_cookie_val = $HTTP_COOKIE_VARS[$g_view_all_cookie]; + } + if ( isset( $g_view_reported_cookie ) ) { + $g_view_reported_cookie_val = $HTTP_COOKIE_VARS[$g_view_reported_cookie]; + } + if ( isset( $g_view_assigned_cookie ) ) { + $g_view_assigned_cookie_val = $HTTP_COOKIE_VARS[$g_view_assigned_cookie]; + } #-------------------- #-------------------- @@ -239,6 +256,9 @@ $g_bugnote_add = "bugnote_add".$g_php; $g_bugnote_delete = "bugnote_delete".$g_php; + # documentation + $g_documentation_html = "documentation.html"; + # report bug $g_report_bug_page = "report_bug_page".$g_php; $g_report_bug_advanced_page = "report_bug_advanced_page".$g_php; @@ -349,4 +369,4 @@ #version $g_mantis_version = "0.14.3"; #-------------------- -?> +?> \ No newline at end of file diff --git a/documentation.html b/documentation.html index dd74c32ec2..af091377ee 100644 --- a/documentation.html +++ b/documentation.html @@ -58,6 +58,15 @@

Part 1: Index

  • Summary
  • Account @@ -302,6 +311,56 @@

    [ Report Bug Simple ]

    Summary should be a short, one sentence description of the problem. It has a limit of 128 characters.

    +

    +
    [ Category ]
    +

    +Select the most apprpriate category for the report. These categories are defined per project by the project administrator +

    +

    [ Reproducibility ]
    +

    +Reproducibilty is the key to being able to quickly fix a bug. +

    +

    +

    [ Severity ]
    +

    +

    +

    +

    [ Summary ]
    +

    +A brief one line description of the problem +

    +

    [ Description ]
    +

    +A detailed description of the problem +

    +

    [ Steps to Reproduce ]
    +

    +List the detailed steps to reproduce a problem. This is useful for bugs that take a while to show up or tricky cases. It would be best to use a format that looks like +

    +1. step 1
    +2. step 2
    +3. step 3 +

    +

    [ Additional Information ]
    +

    +Anything extra information that you didn't put into the Description should go here. +

    +

    [ Report Bug Advanced ]

    diff --git a/report_add.php3 b/report_add.php3 index 4372ea90f4..b7d513c75b 100644 --- a/report_add.php3 +++ b/report_add.php3 @@ -8,7 +8,8 @@ +"; } PRINT "

    "; - PRINT "$s_hit_back_msg"; + +?> +

    + + + + + + + + + + + + + + + + + +
    + > - :
    - [**] + :
    + ** > - :
    - [**] + :
    + ** > - :
    - [**] + :
    + ** @@ -84,7 +84,7 @@ @@ -98,7 +98,7 @@ : - + > @@ -106,7 +106,7 @@ : - + > @@ -114,7 +114,7 @@ : - + > @@ -127,7 +127,7 @@ @@ -136,7 +136,7 @@ - + > @@ -150,7 +150,7 @@ @@ -160,36 +160,36 @@ > - :
    - [**] + :
    + ** - + > - :
    - [**] + :
    + ** - + > - : + : - + > - : + : - + diff --git a/report_bug_page.php3 b/report_bug_page.php3 index d091bc1c60..f0ea11ec2e 100644 --- a/report_bug_page.php3 +++ b/report_bug_page.php3 @@ -47,64 +47,64 @@ > - :
    - [**] + :
    + ** > - :
    - [**] + :
    + ** > - :
    - [**] + :
    + ** > - :
    - [**] + :
    + ** - + > - :
    - [**] + :
    + ** - + > - : + : - +