Update standards version & libawl dependencies.
[wrms.git] / config / config.php-pwlold
blob2ff61703f800762a876243a1d5eb8243447f2108
1 <?php
3 $dbconn = pg_Connect("dbname=wrms user=general");
5 $admin_email = "helpdesk@plumbing-world.co.nz";
6 $basefont = "verdana,sans-serif";
7 $system_name = "Plumbing World WRMS";
8 $sysabbr = "wrms";
9 $attachment_dir = "/home/wrms/wrms/html/attachments";
11 // Only admin/support can see the ranking report.
12 $rank_report_anyone = 0;
14 $base_dns = "http://$HTTP_HOST";
15 $base_url = "";
16 $external_base_url = "http://wrms";
17 $base_dir = $DOCUMENT_ROOT;
18 $module = "base";
19 $images = "pwimg";
20 $colors = array(
21         "bg1" => "#ffffff", // primary background
22         "fg1" =>  "#000000", // text on primary background
23         "link1" =>  "#660000", // Links on row0/row1
24         "bg2" =>  "#660000", // secondary background (behind menus)
25         "fg2" =>  "#ffffff", // text on links
26         "bg3" =>  "#000000", // tertiary background
27         "fg3" =>  "#ffffff", // tertiary foreground
28         "hv1" =>  "#660000", // text on hover
29         "hv2" =>  "#f0ff4c", // other text on hover
30         "row0" =>  "#ffffff", // dark rows in listings
31         "row1" =>  "#f0ece8", // light rows in listings
32         "link2" =>  "#333333", // Links on row0/row1
33         "bghelp" => "#ffffff", // help background
34         "fghelp" =>  "#000000", // text on help background
35         8 =>  "#583818", // Form headings
36         9 =>  "#ccbea1", // Mandatory forms
37         9 =>  "#ccbea1", // Mandatory forms
38         10 =>  "#50a070", // whatever!
39         10 =>  "#50a070", // whatever!
41 // Parts of a text block (default colors - some blocks might code around this
42                 "blockfront" => "black",
43                 "blockback" => "white",
44                 "blockbg2" => "white",
45                 "blocktitle" => "white",
46                 "blocksides" => "#ffffff",
47                 "blockextra" => "#660000"
50 $fonts = array( "tahoma",               // primary font
51                 "verdana",      // secondary font
52                 "help"  => "times",             // help text
53                 "quote" => "times new roman, times, serif", // quotes in messages
54                 "narrow"        => "arial narrow, helvetica narrow, times new roman, times", // quotes in messages
55                 "fixed" => "courier, fixed",    // monospace font
56                 "block" => "tahoma");   // block font
59 // Set the bebug variable initially to '0'. This variable is made available 
60 // to all local routines for verbose printing. 
61 if ( !isset($debuglevel) ) $debuglevel = 2;
65 function block_open(  $bgcolor="", $border_color="") {
66   echo '<div class="block">';
69 //-----------------------------------------
70 // Function to title a block of options / menus / whatever
71 //-----------------------------------------
72 function block_title( $title="&nbsp;", $bgcolor="", $border_color="") {
73   echo '<div class="blockhead">'.$title.'</div>';
76 //-----------------------------------------
77 // Function to finish a block of options / menus / whatever
78 //-----------------------------------------
79 function block_close() {
80   echo '</div>';