style/style.css.php
author rejo
Mon, 23 Jul 2007 22:05:19 +0000
changeset 38 cf767482333a
parent 1 58094faf794d
child 47 ae140472d97c
permissions -rw-r--r--
[feladat @ 85] The type of zone wasn't show to users with access level 1. If a user with access level 1 did have access to a slave zone the user did not see the IP of the master nameserver of that zone. Now the user will the IP address (readonly and only if one is set). Bugfix. If no master IP for a slave zone is given, a warning is shown regardless of the userlevel. Bugfix. Both the "add record" and "edit record" buttons in the "edit zone" screen is no longer available for users with level 1 for domains of type "slave". Bug report by Antonio Prado. Some PHP and HTML cleanup (removing of empty tags and unnecessary repeatings of calls to a single function).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
<?php
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     2
// +--------------------------------------------------------------------+
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     3
// | PowerAdmin								|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     4
// +--------------------------------------------------------------------+
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     5
// | Copyright (c) 1997-2002 The PowerAdmin Team			|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     6
// +--------------------------------------------------------------------+
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     7
// | This source file is subject to the license carried by the overal	|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     8
// | program PowerAdmin as found on http://poweradmin.sf.net		|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     9
// | The PowerAdmin program falls under the QPL License:		|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    10
// | http://www.trolltech.com/developer/licensing/qpl.html		|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    11
// +--------------------------------------------------------------------+
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    12
// | Authors: Roeland Nieuwenhuis <trancer <AT> trancer <DOT> nl>	|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    13
// |          Sjeemz <sjeemz <AT> sjeemz <DOT> nl>			|
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    14
// +--------------------------------------------------------------------+
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    15
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    16
//
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    17
// $Id: style.css.php,v 1.4 2003/01/12 20:20:24 azurazu Exp $
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    18
//
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    19
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    20
include_once("../inc/config.inc.php");
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    21
$bgcolor = "#FCC229"; //Original style
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    22
//$bgcolor = "#B5C6D2"; //Greenish style
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    23
?>
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    24
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    25
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    26
A:link { color: #000000}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    27
A:visited { color: #000000}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    28
A:active { color: #000000}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    29
A:hover {text-decoration: none}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    30
BODY {font-family: Verdana, Arial, Helvetica; background-image: url("<?= $GLOBALS["BASE_URL"].$GLOBALS["BASE_PATH"] ?>images/background.jpg");}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    31
TABLE {background-color: <?= $bgcolor ?>; border: 1px solid #000000; width: 900px;}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    32
TD {background-color: White; font-size: 12px;}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    33
TR {background-color: <?= $bgcolor ?>}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    34
.TDBG {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    35
        background-color: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    36
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    37
.ERROR {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    38
        background-color: #FF0000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    39
        border: 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    40
        width: 600px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    41
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    42
.MESSAGETABLE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    43
        background-color: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    44
        border: 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    45
        width: 600px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    46
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    47
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    48
.MESSAGE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    49
        background-color: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    50
        width: 600px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    51
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    52
.NONE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    53
        background-color: transparent;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    54
        border: none;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    55
        width: 0px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    56
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    57
.TEXT {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    58
	background-color: transparent !important; 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    59
	border: 0px; 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    60
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    61
.SBUTTON {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    62
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    63
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    64
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    65
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    66
        BACKGROUND-COLOR: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    67
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    68
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    69
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    70
        FONT-WEIGHT: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    71
        FONT-SIZE: 10px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    72
        WIDTH MENARU: 60px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    73
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    74
.BUTTON {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    75
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    76
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    77
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    78
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    79
        BACKGROUND-COLOR: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    80
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    81
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    82
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    83
        FONT-WEIGHT: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    84
        FONT-SIZE: 10px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    85
        WIDTH MENARU: 120px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    86
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    87
.INPUT {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    88
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    89
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    90
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    91
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    92
        BACKGROUND-COLOR: #FFFFFF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    93
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    94
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    95
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    96
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    97
        FONT-SIZE: 11px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    98
        WIDTH MENARU: 180px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    99
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   100
.SINPUT {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   101
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   102
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   103
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   104
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   105
        BACKGROUND-COLOR: #FFFFFF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   106
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   107
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   108
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   109
        FONT-SIZE: 11px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   110
        WIDTH MENARU: 40px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   111
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   112
.WARNING {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   113
        color: #FF0000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   114
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   115
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   116
.FOOTER {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   117
        font-size: 10px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   118
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   119
.ACTIVE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   120
        color: #669933;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   121
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   122
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   123
.INACTIVE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   124
        color: #FF0000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   125
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   126
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   127
.NAV {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   128
        color: #0000FF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   129
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   130
        A:link { color: #0000FF}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   131
        A:visited { color: #0000FF}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   132
        A:active { color: #0000FF}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   133
        A:hover {text-decoration: none}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   134
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   135
.inputarea {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   136
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   137
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   138
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   139
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   140
        BACKGROUND-COLOR: #FFFFFF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   141
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   142
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   143
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   144
        FONT-SIZE: 11px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   145
        WIDTH MENARU: 300px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   146
        HEIGHT MENARU: 100px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   147
}