File: help_bug.php

package info (click to toggle)
webcalendar 0.9.45-4sarge7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,888 kB
  • ctags: 4,775
  • sloc: php: 16,990; sql: 1,272; perl: 777; sh: 120; makefile: 45
file content (60 lines) | stat: -rw-r--r-- 1,958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
	include_once 'includes/init.php';
	print_header('','','',true);
?>

<h2><?php etranslate("Report Bug")?></h2>

<?php 
	//No need to translate the text below since I want all bugs
	//reported in English.
	//Americans only speak English, of course ;-)
?>
Please include all the information below when reporting a bug.
<?php if ( $LANGUAGE != "English-US" ) { ?>
	Also.... when reporting a bug, please use <span style="font-weight:bold;">English</span> rather than <?php echo $LANGUAGE?>.
<?php } ?>

<form action="http://sourceforge.net/tracker/" target="_new">
	<input type="hidden" name="func" value="add" />
	<input type="hidden" name="group_id" value="3870" />
	<input type="hidden" name="atid" value="103870" />
	<input type="submit" value="<?php etranslate("Report Bug")?>" />
</form>
<br /><br />

<h3><?php etranslate("System Settings")?></h3>
<?php
if ( empty ( $SERVER_SOFTWARE ) )
  $SERVER_SOFTWARE = $_SERVER["SERVER_SOFTWARE"];
if ( empty ( $HTTP_USER_AGENT ) )
  $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"];
if ( empty ( $HTTP_USER_AGENT ) )
  $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"];

echo "<pre>";
printf ( "%-25s: %s\n", "PROGRAM_NAME", $PROGRAM_NAME );
printf ( "%-25s: %s\n", "SERVER_SOFTWARE", $SERVER_SOFTWARE );
printf ( "%-25s: %s\n", "Web Browser", $HTTP_USER_AGENT );
printf ( "%-25s: %s\n", "db_type", $db_type );
printf ( "%-25s: %s\n", "readonly", $readonly );
printf ( "%-25s: %s\n", "single_user", $single_user );
printf ( "%-25s: %s\n", "single_user_login", $single_user_login );
printf ( "%-25s: %s\n", "use_http_auth", $use_http_auth ? "true" : "false" );
printf ( "%-25s: %s\n", "user_inc", $user_inc );

$res = dbi_query ( "SELECT cal_setting, cal_value FROM webcal_config" );
if ( $res ) {
  while ( $row = dbi_fetch_row ( $res ) ) {
    printf ( "%-25s: %s\n", $row[0], $row[1] );
  }
  dbi_free_result ( $res );
}

echo "</pre>\n";
?>

<?php include_once "includes/help_trailer.php"; ?>

</body>
</html>