improved design
This commit is contained in:
parent
69a709777b
commit
f0c7c8ad8a
|
@ -483,7 +483,7 @@ class lamList {
|
|||
if (sizeof($this->possibleSuffixes) > 1) {
|
||||
echo ("<p align=\"left\">\n");
|
||||
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++) {
|
||||
if ($this->suffix == $this->possibleSuffixes[$i]) {
|
||||
echo ("<option selected>" . $this->possibleSuffixes[$i] . "</option>\n");
|
||||
|
@ -491,7 +491,7 @@ class lamList {
|
|||
else echo("<option>" . $this->possibleSuffixes[$i] . "</option>\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");
|
||||
}
|
||||
}
|
||||
|
@ -503,11 +503,11 @@ class lamList {
|
|||
*/
|
||||
function listPrintButtons($createOnly) {
|
||||
// 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) {
|
||||
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 "<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");
|
||||
$pdf_structures = getPDFStructureDefinitions($this->type);
|
||||
foreach($pdf_structures as $pdf_structure) {
|
||||
|
|
|
@ -233,10 +233,10 @@ class lamUserList extends lamList {
|
|||
echo "<p align=\"left\">\n";
|
||||
echo "<b>" . _("Translate GID number to group name") . ": </b>";
|
||||
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\">";
|
||||
echo (" <input type=\"submit\" name=\"apply_trans_primary\" value=\"" . _("Apply") . "\">");
|
||||
else echo "<input class=\"" . $this->type . "\" type=\"checkbox\" name=\"trans_primary\">";
|
||||
echo (" <input class=\"" . $this->type . "\" type=\"submit\" name=\"apply_trans_primary\" value=\"" . _("Apply") . "\">");
|
||||
echo "</p>\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ $Id$
|
|||
|
||||
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
|
||||
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
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -62,16 +62,6 @@ a img {
|
|||
border: 0px;
|
||||
}
|
||||
|
||||
form { }
|
||||
input {
|
||||
font-weight:bold;
|
||||
background-color:#CCCCFF;
|
||||
}
|
||||
button {
|
||||
font-weight:bold;
|
||||
background-color:#CCCCFF;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
background-color:#EEEEEE;
|
||||
border:1px solid green;
|
||||
|
|
Loading…
Reference in New Issue