improved design
This commit is contained in:
parent
69a709777b
commit
f0c7c8ad8a
|
@ -483,7 +483,7 @@ class lamList {
|
||||||
if (sizeof($this->possibleSuffixes) > 1) {
|
if (sizeof($this->possibleSuffixes) > 1) {
|
||||||
echo ("<p align=\"left\">\n");
|
echo ("<p align=\"left\">\n");
|
||||||
echo ("<b>" . _("Suffix") . ": </b>");
|
echo ("<b>" . _("Suffix") . ": </b>");
|
||||||
echo ("<select size=1 name=\"suffix\">\n");
|
echo ("<select class=\"" . $this->type . "\" size=1 name=\"suffix\">\n");
|
||||||
for ($i = 0; $i < sizeof($this->possibleSuffixes); $i++) {
|
for ($i = 0; $i < sizeof($this->possibleSuffixes); $i++) {
|
||||||
if ($this->suffix == $this->possibleSuffixes[$i]) {
|
if ($this->suffix == $this->possibleSuffixes[$i]) {
|
||||||
echo ("<option selected>" . $this->possibleSuffixes[$i] . "</option>\n");
|
echo ("<option selected>" . $this->possibleSuffixes[$i] . "</option>\n");
|
||||||
|
@ -491,7 +491,7 @@ class lamList {
|
||||||
else echo("<option>" . $this->possibleSuffixes[$i] . "</option>\n");
|
else echo("<option>" . $this->possibleSuffixes[$i] . "</option>\n");
|
||||||
}
|
}
|
||||||
echo ("</select>\n");
|
echo ("</select>\n");
|
||||||
echo ("<input type=\"submit\" name=\"refresh\" value=\"" . _("Change suffix") . "\">");
|
echo ("<input class=\"" . $this->type . "\" type=\"submit\" name=\"refresh\" value=\"" . _("Change suffix") . "\">");
|
||||||
echo ("</p>\n");
|
echo ("</p>\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -503,11 +503,11 @@ class lamList {
|
||||||
*/
|
*/
|
||||||
function listPrintButtons($createOnly) {
|
function listPrintButtons($createOnly) {
|
||||||
// add/delete/PDF buttons
|
// add/delete/PDF buttons
|
||||||
echo ("<input type=\"submit\" name=\"new\" value=\"" . $this->labels['newEntry'] . "\">\n");
|
echo ("<input class=\"" . $this->type . "\" type=\"submit\" name=\"new\" value=\"" . $this->labels['newEntry'] . "\">\n");
|
||||||
if (!$createOnly) {
|
if (!$createOnly) {
|
||||||
echo ("<input type=\"submit\" name=\"del\" value=\"" . $this->labels['deleteEntry'] . "\">\n");
|
echo ("<input class=\"" . $this->type . "\" type=\"submit\" name=\"del\" value=\"" . $this->labels['deleteEntry'] . "\">\n");
|
||||||
echo ("<br><br><br>\n");
|
echo ("<br><br><br>\n");
|
||||||
echo "<fieldset><legend><b>PDF</b></legend>\n";
|
echo "<fieldset class=\"useredit\"><legend><b>PDF</b></legend>\n";
|
||||||
echo ("<b>" . _('PDF structure') . ":</b> <select name=\"pdf_structure\">\n");
|
echo ("<b>" . _('PDF structure') . ":</b> <select name=\"pdf_structure\">\n");
|
||||||
$pdf_structures = getPDFStructureDefinitions($this->type);
|
$pdf_structures = getPDFStructureDefinitions($this->type);
|
||||||
foreach($pdf_structures as $pdf_structure) {
|
foreach($pdf_structures as $pdf_structure) {
|
||||||
|
|
|
@ -233,10 +233,10 @@ class lamUserList extends lamList {
|
||||||
echo "<p align=\"left\">\n";
|
echo "<p align=\"left\">\n";
|
||||||
echo "<b>" . _("Translate GID number to group name") . ": </b>";
|
echo "<b>" . _("Translate GID number to group name") . ": </b>";
|
||||||
if ($this->trans_primary == "on") {
|
if ($this->trans_primary == "on") {
|
||||||
echo "<input type=\"checkbox\" name=\"trans_primary\" checked>";
|
echo "<input class=\"" . $this->type . "\" type=\"checkbox\" name=\"trans_primary\" checked>";
|
||||||
}
|
}
|
||||||
else echo "<input type=\"checkbox\" name=\"trans_primary\">";
|
else echo "<input class=\"" . $this->type . "\" type=\"checkbox\" name=\"trans_primary\">";
|
||||||
echo (" <input type=\"submit\" name=\"apply_trans_primary\" value=\"" . _("Apply") . "\">");
|
echo (" <input class=\"" . $this->type . "\" type=\"submit\" name=\"apply_trans_primary\" value=\"" . _("Apply") . "\">");
|
||||||
echo "</p>\n";
|
echo "</p>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ $Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
|
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
|
||||||
Copyright (C) 2003 Leonhard Walchshäusl
|
Copyright (C) 2003 Leonhard Walchshäusl
|
||||||
Copyright (C) 2005 - 2006 Roland Gruber
|
Copyright (C) 2005 - 2007 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -62,16 +62,6 @@ a img {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form { }
|
|
||||||
input {
|
|
||||||
font-weight:bold;
|
|
||||||
background-color:#CCCCFF;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
font-weight:bold;
|
|
||||||
background-color:#CCCCFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
background-color:#EEEEEE;
|
background-color:#EEEEEE;
|
||||||
border:1px solid green;
|
border:1px solid green;
|
||||||
|
|
Loading…
Reference in New Issue