[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).
<?php
// +--------------------------------------------------------------------+
// | PowerAdmin |
// +--------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PowerAdmin Team |
// +--------------------------------------------------------------------+
// | This source file is subject to the license carried by the overal |
// | program PowerAdmin as found on http://poweradmin.sf.net |
// | The PowerAdmin program falls under the QPL License: |
// | http://www.trolltech.com/developer/licensing/qpl.html |
// +--------------------------------------------------------------------+
// | Authors: Roeland Nieuwenhuis <trancer <AT> trancer <DOT> nl> |
// | Sjeemz <sjeemz <AT> sjeemz <DOT> nl> |
// +--------------------------------------------------------------------+
//
// $Id: style.css.php,v 1.4 2003/01/12 20:20:24 azurazu Exp $
//
include_once("../inc/config.inc.php");
$bgcolor = "#FCC229"; //Original style
//$bgcolor = "#B5C6D2"; //Greenish style
?>
A:link { color: #000000}
A:visited { color: #000000}
A:active { color: #000000}
A:hover {text-decoration: none}
BODY {font-family: Verdana, Arial, Helvetica; background-image: url("<?= $GLOBALS["BASE_URL"].$GLOBALS["BASE_PATH"] ?>images/background.jpg");}
TABLE {background-color: <?= $bgcolor ?>; border: 1px solid #000000; width: 900px;}
TD {background-color: White; font-size: 12px;}
TR {background-color: <?= $bgcolor ?>}
.TDBG {
background-color: <?= $bgcolor ?>;
}
.ERROR {
background-color: #FF0000;
border: 1px solid;
width: 600px;
}
.MESSAGETABLE {
background-color: <?= $bgcolor ?>;
border: 1px solid;
width: 600px;
}
.MESSAGE {
background-color: <?= $bgcolor ?>;
width: 600px;
}
.NONE {
background-color: transparent;
border: none;
width: 0px;
}
.TEXT {
background-color: transparent !important;
border: 0px;
}
.SBUTTON {
BORDER-BOTTOM: #999999 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
BACKGROUND-COLOR: <?= $bgcolor ?>;
COLOR: #000000;
BORDER-COLOR: #000000;
FONT-FAMILY: Verdana;
FONT-WEIGHT: Bold;
FONT-SIZE: 10px;
WIDTH MENARU: 60px;
}
.BUTTON {
BORDER-BOTTOM: #999999 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
BACKGROUND-COLOR: <?= $bgcolor ?>;
COLOR: #000000;
BORDER-COLOR: #000000;
FONT-FAMILY: Verdana;
FONT-WEIGHT: Bold;
FONT-SIZE: 10px;
WIDTH MENARU: 120px;
}
.INPUT {
BORDER-BOTTOM: #999999 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
BACKGROUND-COLOR: #FFFFFF;
COLOR: #000000;
BORDER-COLOR: #000000;
FONT-FAMILY: Verdana;
FONT-SIZE: 11px;
WIDTH MENARU: 180px;
}
.SINPUT {
BORDER-BOTTOM: #999999 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
BACKGROUND-COLOR: #FFFFFF;
COLOR: #000000;
BORDER-COLOR: #000000;
FONT-FAMILY: Verdana;
FONT-SIZE: 11px;
WIDTH MENARU: 40px;
}
.WARNING {
color: #FF0000;
font-weight: Bold;
}
.FOOTER {
font-size: 10px;
}
.ACTIVE {
color: #669933;
font-weight: Bold;
}
.INACTIVE {
color: #FF0000;
font-weight: Bold;
}
.NAV {
color: #0000FF;
font-weight: Bold;
A:link { color: #0000FF}
A:visited { color: #0000FF}
A:active { color: #0000FF}
A:hover {text-decoration: none}
}
.inputarea {
BORDER-BOTTOM: #999999 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
BACKGROUND-COLOR: #FFFFFF;
COLOR: #000000;
BORDER-COLOR: #000000;
FONT-FAMILY: Verdana;
FONT-SIZE: 11px;
WIDTH MENARU: 300px;
HEIGHT MENARU: 100px;
}