From f0c7c8ad8a0e03f41510897e9567a9d0b1c0a9c3 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 11 Feb 2007 14:23:44 +0000 Subject: [PATCH] improved design --- lam/lib/lists.inc | 10 +++++----- lam/lib/types/user.inc | 6 +++--- lam/style/500_layout.css | 12 +----------- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index a34b5101..bedc1c9d 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -483,7 +483,7 @@ class lamList { if (sizeof($this->possibleSuffixes) > 1) { echo ("

\n"); echo ("" . _("Suffix") . ": "); - echo ("type . "\" size=1 name=\"suffix\">\n"); for ($i = 0; $i < sizeof($this->possibleSuffixes); $i++) { if ($this->suffix == $this->possibleSuffixes[$i]) { echo ("\n"); @@ -491,7 +491,7 @@ class lamList { else echo("\n"); } echo ("\n"); - echo (""); + echo ("type . "\" type=\"submit\" name=\"refresh\" value=\"" . _("Change suffix") . "\">"); echo ("

\n"); } } @@ -503,11 +503,11 @@ class lamList { */ function listPrintButtons($createOnly) { // add/delete/PDF buttons - echo ("labels['newEntry'] . "\">\n"); + echo ("type . "\" type=\"submit\" name=\"new\" value=\"" . $this->labels['newEntry'] . "\">\n"); if (!$createOnly) { - echo ("labels['deleteEntry'] . "\">\n"); + echo ("type . "\" type=\"submit\" name=\"del\" value=\"" . $this->labels['deleteEntry'] . "\">\n"); echo ("


\n"); - echo "
PDF\n"; + echo "
PDF\n"; echo ("" . _('PDF structure') . ":  "; + echo "type . "\" type=\"checkbox\" name=\"trans_primary\" checked>"; } - else echo ""; - echo ("  "); + else echo "type . "\" type=\"checkbox\" name=\"trans_primary\">"; + echo ("  type . "\" type=\"submit\" name=\"apply_trans_primary\" value=\"" . _("Apply") . "\">"); echo "

\n"; } diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index fcab1631..e55dc7af 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -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;