Subversion Repositories php_library

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
<!-----------------------------------------------------------------------------
2
   Copyright 2006
3
   Daily Data, Inc.
4
   All rights reserved
5
   Name: $Id: contact_us_local.php,v 1.7 2006/11/30 03:58:26 rodolico Exp $
6
   Description:
7
      Local modifications for each domains contact_us functions
8
 
9
   $Date: 2006/11/30 03:58:26 $
10
   $Revision: 1.7 $
11
   Revision History:
12
      $Log: contact_us_local.php,v $
13
      Revision 1.7  2006/11/30 03:58:26  rodolico
14
      Beginning work on connection to payment center. Still needs a little work
15
 
16
 
17
------------------------------------------------------------------------------->
18
<?php
19
 
20
   $HEADER = 'Time Tracker Bug/Feature Report<br>
21
         <p>Use this for to report bugs and/or request enhancments</p>
22
          *Indicates required field
23
      </div>';
24
   $SUCCESS_MESSAGE = 'Thank you. Your e-mail has been sent and will be processed by our staff on the next business day. We appreciate your comments and suggestions';
25
   $FAILURE_MESSAGE = "I'm sorry, your message was not able to be sent, please try again later";
26
   $WINDOW_WIDTH = 620;
27
   $WINDOW_HEIGHT = 620;
28
   define (DATABASE,'timetracker');
29
   switch ($_SERVER['SERVER_NAME']) {
30
      case 'localhost' : define (DB_USERNAME, 'test' );
31
                         define (DB_PASSWORD, 'test' );
32
                         break;
33
       case 'hilfy.dailydatainc.com' :
34
       case 'hilfy.chanur.dailydatainc.com'     :
35
       case 'hilfy      '     : define (DB_USERNAME, 'timetracker' );
36
                                define (DB_PASSWORD, 'timetracker' );
37
                                 break;
38
   }
39
 
40
   define (DB_TABLE, 'bugz');
41
   define (SEND_EMAIL, false);
42
   $CATEGORIES = array(
43
                       1 => array('title' => 'Bug Report',
44
                                    'email' => 'rodo@dailydata.net',
45
                                    'subject' => 'Time Tracker Bug'),
46
                       2 => array('title' => 'Enhancement Request',
47
                                    'email' => 'rodo@dailydata.net',
48
                                    'subject' => 'Time Tracker Enhancement Request'),
49
                     );
50
   $FIELDS = array (
51
                     1 => array( 'title'     => 'Your Name',
52
                                 'type'      => 'text',
53
                                 'varname'   => 'submitter',
54
                                 'max length'=> 30,
55
                                 'class'     => 'text-field',
56
                                 'required'  => true
57
                              ),
58
                     8 => array( 'title'     => 'Section with Bug/Enhancement',
59
                                 'type'      => 'text',
60
                                 'varname'   => 'section',
61
                                 'max length'=> 40,
62
                                 'class'     => 'text-field'
63
                              ),
64
                     9 => array( 'title'     => 'Details',
65
                                 'type'      => 'textarea',
66
                                 'varname'   => 'details',
67
                                 'columns'   => 40,
68
                                 'rows'      => 10,
69
                                 'class'     => 'text-area'
70
                              )
71
                  );
72
 
73
   $MAX_DISPLAY_WIDTH = 40;
74
 
75
?>