more browser independent style
This commit is contained in:
parent
93d4c1417e
commit
acea61ed9f
|
@ -67,6 +67,7 @@ a img {
|
|||
fieldset {
|
||||
background-color:#EEEEEE;
|
||||
border:1px solid green;
|
||||
padding:0px 15px 15px 15px;
|
||||
}
|
||||
|
||||
legend {
|
||||
|
|
|
@ -141,7 +141,7 @@ if (isset($_SESSION['conf_errors'])) {
|
|||
// display formular
|
||||
echo ("<form action=\"confmain.php\" method=\"post\">\n");
|
||||
|
||||
echo ("<fieldset><legend><b>" . _("Server settings") . "</b></legend>");
|
||||
echo ("<fieldset><legend><b>" . _("Server settings") . "</b></legend><br>\n");
|
||||
echo ("<table border=0>");
|
||||
// serverURL
|
||||
echo ("<tr><td align=\"right\"><b>" . _("Server address") . " *: </b></td>".
|
||||
|
@ -231,7 +231,7 @@ echo ("</fieldset>");
|
|||
|
||||
echo ("<p></p>");
|
||||
|
||||
echo ("<fieldset><legend><b>" . _("Account types and modules") . "</b></legend>");
|
||||
echo ("<fieldset><legend><b>" . _("Account types and modules") . "</b></legend><br>\n");
|
||||
|
||||
// Account modules
|
||||
$types = $conf->get_ActiveTypes();
|
||||
|
@ -281,7 +281,7 @@ for ($i = 0; $i < sizeof($modules); $i++) {
|
|||
if ($iconImage != null) {
|
||||
$icon = '<img align="middle" src="../../graphics/' . $iconImage . '" alt="' . $iconImage . '"> ';
|
||||
}
|
||||
echo "<legend>$icon<b>" . getModuleAlias($modules[$i], "none") . "</b></legend>\n";
|
||||
echo "<legend>$icon<b>" . getModuleAlias($modules[$i], "none") . "</b></legend><br>\n";
|
||||
$configTypes = parseHtml($modules[$i], $options[$modules[$i]], $old_options, true, $tabindex, $tabindexLink, 'config');
|
||||
$_SESSION['conf_types'] = array_merge($configTypes, $_SESSION['conf_types']);
|
||||
echo "</fieldset>\n";
|
||||
|
@ -289,7 +289,7 @@ for ($i = 0; $i < sizeof($modules); $i++) {
|
|||
}
|
||||
|
||||
|
||||
echo ("<fieldset><legend><b>" . _("Language settings") . "</b></legend>\n");
|
||||
echo ("<fieldset><legend><b>" . _("Language settings") . "</b></legend><br>\n");
|
||||
echo ("<table border=0>\n");
|
||||
|
||||
// language
|
||||
|
@ -336,7 +336,7 @@ echo ("</fieldset>\n");
|
|||
echo ("<p></p>\n");
|
||||
|
||||
// script settings
|
||||
echo ("<fieldset><legend><b>" . _("Script settings") . "</b></legend>\n");
|
||||
echo ("<fieldset><legend><b>" . _("Script settings") . "</b></legend><br>\n");
|
||||
echo ("<table border=0>\n");
|
||||
|
||||
echo ("<tr><td align=\"right\"><b>".
|
||||
|
@ -409,7 +409,7 @@ echo ("</fieldset>\n");
|
|||
echo ("<p></p>\n");
|
||||
|
||||
// security setings
|
||||
echo ("<fieldset><legend><b>" . _("Security settings") . "</b></legend>\n");
|
||||
echo ("<fieldset><legend><b>" . _("Security settings") . "</b></legend><br>\n");
|
||||
echo ("<table border=0>\n");
|
||||
// admin list
|
||||
$adminText = implode("\n", explode(";", $conf->get_Adminstring()));
|
||||
|
|
|
@ -172,14 +172,14 @@ function config_showAccountModules($scope, $title) {
|
|||
|
||||
// show account modules
|
||||
$icon = '<img alt="' . $scope . '" src="../../graphics/' . $scope . '.png"> ';
|
||||
echo "<fieldset class=\"" . $scope . "edit\"><legend>$icon<b>" . $title . "</b></legend>\n";
|
||||
echo "<fieldset class=\"" . $scope . "edit\"><legend>$icon<b>" . $title . "</b></legend><br>\n";
|
||||
echo "<table border=0 width=\"100%\">\n";
|
||||
// select boxes
|
||||
echo "<tr>\n";
|
||||
echo "<td width=\"5%\"></td>\n";
|
||||
echo "<td width=\"40%\">\n";
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n";
|
||||
echo "<legend>" . _("Selected modules") . "</legend>\n";
|
||||
echo "<legend>" . _("Selected modules") . "</legend><br>\n";
|
||||
echo "<select class=\"" . $scope . "edit\" name=\"" . $scope . "_selected[]\" size=5 multiple>\n";
|
||||
for ($i = 0; $i < sizeof($selected); $i++) {
|
||||
if (in_array($selected[$i], $available)) { // selected modules must be available
|
||||
|
@ -207,7 +207,7 @@ function config_showAccountModules($scope, $title) {
|
|||
echo "</td>\n";
|
||||
echo "<td width=\"40%\">\n";
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n";
|
||||
echo "<legend>" . _("Available modules") . "</legend>\n";
|
||||
echo "<legend>" . _("Available modules") . "</legend><br>\n";
|
||||
echo "<select class=\"" . $scope . "edit\" name=\"" . $scope . "_available[]\" size=5 multiple>\n";
|
||||
for ($i = 0; $i < sizeof($available); $i++) {
|
||||
if (! in_array($available[$i], $selected)) { // display non-selected modules
|
||||
|
|
|
@ -84,7 +84,7 @@ if (isset($_GET['type']) && isset($_SESSION['delete_dn'])) {
|
|||
echo "<form action=\"delete.php\" method=\"post\">\n";
|
||||
echo "<fieldset class=\"".$_GET['type']."edit\"><legend><b>";
|
||||
echo _('Please confirm:');
|
||||
echo "</b></legend>\n";
|
||||
echo "</b></legend><br>\n";
|
||||
echo "<input name=\"type\" type=\"hidden\" value=\"" . $_GET['type'] . "\">\n";
|
||||
echo "<b>" . _("Do you really want to remove the following accounts?") . "</b>";
|
||||
echo "<br><br>\n";
|
||||
|
@ -137,7 +137,7 @@ if ($_POST['delete']) {
|
|||
echo "<input name=\"type\" type=\"hidden\" value=\"" . $_POST['type'] . "\">\n";
|
||||
echo "<fieldset class=\"".$_POST['type']."edit\"><legend><b>";
|
||||
echo _('Deleting. Please stand by ...');
|
||||
echo "</b></legend>\n";
|
||||
echo "</b></legend><br>\n";
|
||||
|
||||
// Delete dns
|
||||
for ($m=0; $m<count($_SESSION['delete_dn']); $m++) {
|
||||
|
|
|
@ -147,7 +147,7 @@ function showMainPage($scope) {
|
|||
echo "<p><big><b>" . _("Columns:") . "</b></big></p>\n";
|
||||
|
||||
// DN options
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n<legend><b>" . _("DN settings") . "</b></legend>\n";
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n<legend><b>" . _("DN settings") . "</b></legend><br>\n";
|
||||
echo "<table width=\"100%\">\n";
|
||||
echo "<tr valign=\"top\">\n";
|
||||
echo "<td width=\"50%\">\n";
|
||||
|
@ -192,7 +192,7 @@ function showMainPage($scope) {
|
|||
if ($iconImage != null) {
|
||||
$icon = '<img align="middle" src="../graphics/' . $iconImage . '" alt="' . $iconImage . '"> ';
|
||||
}
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n<legend>$icon<b>" . getModuleAlias($modules[$m], $scope) . "</b></legend>\n";
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n<legend>$icon<b>" . getModuleAlias($modules[$m], $scope) . "</b></legend><br>\n";
|
||||
echo "<table width=\"100%\">\n";
|
||||
for ($i = 0; $i < sizeof($columns[$modules[$m]]); $i++) {
|
||||
echo "<tr valign=\"top\">\n";
|
||||
|
|
|
@ -160,7 +160,7 @@ function display_main() {
|
|||
for ($i = 0; $i < sizeof($types); $i++) {
|
||||
// generate lists of possible suffixes
|
||||
$units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_Suffix($types[$i]));
|
||||
echo ("<fieldset class=\"" . $types[$i] . "edit\"><legend><b>" . getTypeAlias($types[$i]) . "</b></legend>\n");
|
||||
echo ("<fieldset class=\"" . $types[$i] . "edit\"><legend><b>" . getTypeAlias($types[$i]) . "</b></legend><br>\n");
|
||||
echo ("<table border=0>\n");
|
||||
// new OU
|
||||
echo ("<tr>\n");
|
||||
|
|
Loading…
Reference in New Issue