[ Index ]
 

Code source de WebCalendar 1.0.5

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables | Statistiques

title

Body

[fermer]

/ -> help_bug.php (source)

   1  <?php
   2      include_once  'includes/init.php';
   3      print_header('','','',true);
   4  ?>
   5  
   6  <h2><?php etranslate("Report Bug")?></h2>
   7  
   8  <?php 
   9      //No need to translate the text below since I want all bugs
  10      //reported in English.
  11      //Americans only speak English, of course ;-)
  12  ?>
  13  Please include all the information below when reporting a bug.
  14  <?php if ( $LANGUAGE != "English-US" ) { ?>
  15      Also.. when reporting a bug, please use <strong>English</strong> rather than <?php echo $LANGUAGE?>.
  16  <?php } ?>
  17  
  18  <form action="http://sourceforge.net/tracker/" target="_new">
  19      <input type="hidden" name="func" value="add" />
  20      <input type="hidden" name="group_id" value="3870" />
  21      <input type="hidden" name="atid" value="103870" />
  22      <input type="submit" value="<?php etranslate("Report Bug")?>" />
  23  </form>
  24  <br /><br />
  25  
  26  <h3><?php etranslate("System Settings")?></h3>
  27  <?php
  28  if ( empty ( $SERVER_SOFTWARE ) )
  29    $SERVER_SOFTWARE = $_SERVER["SERVER_SOFTWARE"];
  30  if ( empty ( $HTTP_USER_AGENT ) )
  31    $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"];
  32  if ( empty ( $HTTP_USER_AGENT ) )
  33    $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"];
  34  
  35  echo "<pre>";
  36  printf ( "%-25s: %s\n", "PROGRAM_NAME", $PROGRAM_NAME );
  37  printf ( "%-25s: %s\n", "SERVER_SOFTWARE", $SERVER_SOFTWARE );
  38  printf ( "%-25s: %s\n", "Web Browser", $HTTP_USER_AGENT );
  39  printf ( "%-25s: %s\n", "db_type", $db_type );
  40  printf ( "%-25s: %s\n", "readonly", $readonly );
  41  printf ( "%-25s: %s\n", "single_user", $single_user );
  42  printf ( "%-25s: %s\n", "single_user_login", $single_user_login );
  43  printf ( "%-25s: %s\n", "use_http_auth", $use_http_auth ? "true" : "false" );
  44  printf ( "%-25s: %s\n", "user_inc", $user_inc );
  45  
  46  $res = dbi_query ( "SELECT cal_setting, cal_value FROM webcal_config" );
  47  if ( $res ) {
  48    while ( $row = dbi_fetch_row ( $res ) ) {
  49      printf ( "%-25s: %s\n", $row[0], $row[1] );
  50    }
  51    dbi_free_result ( $res );
  52  }
  53  echo "</pre>\n";
  54  
  55  include_once  "includes/help_trailer.php";
  56  ?>
  57  </body>
  58  </html>


Généré le : Fri Nov 30 19:09:19 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics