Update standards version & libawl dependencies.
[wrms.git] / config / config.php-irkutsk
blob8c3b34e4cde5ba7c08707648783ec6a27bd43dcc
1 <?php
3 $dbconn = pg_Connect("dbname=wrms user=general");
4 $pg_version = 7.4;
6 $admin_email = "wrms@catalyst.net.nz";
7 $basefont = "verdana,sans-serif";
8 $system_name = "EEC Mike WRMS";
9 $sysabbr = "wrms2";
11 // Anyone can see the ranking report.
12 $rank_report_anyone = 1;
14 //$debuggroups['Session'] = 1;
15 //$debuggroups['Login'] = 1;
16 $debuggroups['querystring'] = 1;
17 $debuggroups['Request'] = 1;
18 //$debuggroups['WorkSystem'] = 1;
20 $base_dns = "http://$HTTP_HOST";
21 $base_url = "";
22 $external_base_url = "http://worms2.election.net.nz";
23 $base_dir = $DOCUMENT_ROOT;
24 $attachment_dir = "/home/worms/attachments";
25 $module = "base";
26 $images = "eecimg";
27 $colors = array(
28   "bg1" => "#ffffff", // primary background
29   "fg1" =>  "#000000", // text on primary background
30   "link1" =>  "#660000", // Links on row0/row1
31   "bg2" =>  "#660000", // secondary background (behind menus)
32   "fg2" =>  "#ffffff", // text on links
33   "bg3" =>  "#000000", // tertiary background
34   "fg3" =>  "#ffffff", // tertiary foreground
35   "hv1" =>  "#660000", // text on hover
36   "hv2" =>  "#f0ff4c", // other text on hover
37   "row0" =>  "#ffffff", // dark rows in listings
38   "row1" =>  "#f0ece8", // light rows in listings
39   "link2" =>  "#333333", // Links on row0/row1
40   "bghelp" => "#ffffff", // help background
41   "fghelp" =>  "#000000", // text on help background
43 // Parts of a text block (default colors - some blocks might code around this
44     "blockfront" => "black",
45     "blockback" => "white",
46     "blockbg2" => "white",
47     "blocktitle" => "white",
48     "blocksides" => "#ffffff",
49     "blockextra" => "#660000"
52 $fonts = array( "tahoma",   // primary font
53     "verdana",  // secondary font
54     "help"  => "times",   // help text
55     "quote" => "times new roman, times, serif", // quotes in messages
56     "narrow"  => "arial narrow, helvetica narrow, times new roman, times", // quotes in messages
57     "fixed" => "courier, fixed",  // monospace font
58     "block" => "tahoma");   // block font
61 // Set the bebug variable initially to '0'. This variable is made available
62 // to all local routines for verbose printing.
63 if ( !isset($debuglevel) ) $debuglevel = 2;
65 if ( !function_exists('floatval') ) {
66   function floatval($x) {
67     return doubleval($x);
68   }
71 function block_open(  $bgcolor="", $border_color="") {
72   echo '<div class="block">';
73   return;
76 //-----------------------------------------
77 // Function to title a block of options / menus / whatever
78 //-----------------------------------------
79 function block_title( $title="&nbsp;", $bgcolor="", $border_color="") {
80   echo '<div class="blockhead">'.$title.'</div>';
81   return;
84 //-----------------------------------------
85 // Function to finish a block of options / menus / whatever
86 //-----------------------------------------
87 function block_close() {
88   echo '</div>';