diff --git a/htdocs/compta/pre.inc.php b/htdocs/compta/pre.inc.php index e5f21082fcb..e429b089308 100644 --- a/htdocs/compta/pre.inc.php +++ b/htdocs/compta/pre.inc.php @@ -135,43 +135,4 @@ function llxHeader($head = "", $title="", $help_url='') left_menu($menu->liste, $help_url); } -function facture_prepare_head($fac) -{ - global $langs, $conf; - $h = 0; - $head = array(); - - $head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id; - $head[$h][1] = $langs->trans('CardBill'); - $hselected = $h; - $h++; - - $head[$h][0] = DOL_URL_ROOT.'/compta/facture/contact.php?facid='.$fac->id; - $head[$h][1] = $langs->trans('Contact'); - $h++; - - if ($conf->use_preview_tabs) - { - $head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id; - $head[$h][1] = $langs->trans('Preview'); - $h++; - } - - if ($fac->mode_reglement_code == 'PRE') - { - $head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id; - $head[$h][1] = $langs->trans('StandingOrders'); - $h++; - } - - $head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$fac->id; - $head[$h][1] = $langs->trans('Note'); - $h++; - $head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$fac->id; - $head[$h][1] = $langs->trans('Info'); - $h++; - - return $head; -} - ?> diff --git a/htdocs/contrat/contact.php b/htdocs/contrat/contact.php index 11e2fce2d1b..7446ac2a1dd 100644 --- a/htdocs/contrat/contact.php +++ b/htdocs/contrat/contact.php @@ -95,7 +95,7 @@ function select_societes_for_newconcat($contrat, $selected = '', $htmlname = 'ne function select_type_contact($contrat, $defValue, $htmlname = 'type', $source) { $lesTypes = $contrat->liste_type_contact($source); - print ''; foreach($lesTypes as $key=>$value) { print ''; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 7f4eedade0f..26ab85940ff 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -323,7 +323,6 @@ function top_menu($head, $title="", $target="") top_htmlhead($head, $title, $target); print ''; - print '
'; /* * Si la constante MAIN_NEED_UPDATE est définie (par le script de migration sql en général), c'est que @@ -518,7 +517,6 @@ function llxFooter($foot='') print "\n
\n".''."\n"; print "\n\n".''; - print "\n\n".''."\n"; if (isset($_SERVER['DOL_TUNING'])) { diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 209b2a4da5b..115b1b49f18 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -294,7 +294,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) print ''; print ''.$langs->trans("Status").''; - print ''; print ''; print ''; print ''; @@ -330,7 +330,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) print '"; - print ' '; + print ''; print ''; print ''; } @@ -551,7 +551,7 @@ if ($_GET["id"] || $_GET["ref"]) print $html->select_tva("tva_tx", $product->tva_tx, $mysoc, ''); print ''; print ''.$langs->trans("Status").''; - print ''; if ($product->envente) { print ''; diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index 2739c8fbb38..1f80ed39ee5 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -25,26 +25,25 @@ require("../../conf/conf.php"); ?> -/***** Style du fond *****/ +/* ============================================================================== */ +/* Styles par défaut */ +/* ============================================================================== */ + body { background-color: #F4F4F4; - font: 12px helvetica, verdana, arial, sans-serif; + color: #101010; + font-size: 12px; + font-family: arial,tahoma,verdana,helvetica; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0; } -.body { - background-color: #F4F4F4; - color: #101010; - font: 12px helvetica, verdana, arial, sans-serif; -} -/***** Styles par défaut *****/ a:link { font: verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } a:visited { font: verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } a:active { font: verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } -a:hover { font: verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: underline; } +a:hover { font: verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } input { font: 12px helvetica, verdana, arial, sans-serif; @@ -61,8 +60,13 @@ input.flat padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } +input:focus +{ + background: #F0ECEC; +} textarea { font: 12px helvetica, verdana, arial, sans-serif; + background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -70,10 +74,15 @@ textarea { textarea.flat { font: 12px helvetica, verdana, arial, sans-serif; + background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } +textarea:focus +{ + background: #F0ECEC; +} select.flat { font: 12px helvetica, verdana, arial, sans-serif; @@ -81,6 +90,11 @@ select.flat padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } +select:focus +{ + background: #F0ECEC; +} + .button { font: 12px helvetica, verdana, arial, sans-serif; font-size: 100%; @@ -92,16 +106,9 @@ select.flat } -div.body -{ - margin-top: 0px; - margin-bottom: 0; - margin-right: 0px; - margin-left: 0px; - padding: 0px; - font-family:arial,tahoma,verdana,helvetica; - font-size:12px; -} +/* ============================================================================== */ +/* Styles de positionnement des zones */ +/* ============================================================================== */ div.vmenuplusfiche { @@ -139,9 +146,9 @@ div.fiche } -/* - * Menu superieur et 1ere ligne tableau - */ +/* ============================================================================== */ +/* Menu superieur et 1ere ligne tableau */ +/* ============================================================================== */ div.tmenu { @@ -195,7 +202,7 @@ a.tmenu#sel font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: #dee7ec; - background-image : url(); + background-image : url(); border-right: 1px solid #555555; border-top: 1px solid #D8D8D8; border-left: 1px solid #D8D8D8; @@ -251,9 +258,9 @@ img.login } -/* - * Barre de gauche - */ +/* ============================================================================== */ +/* Barre de gauche */ +/* ============================================================================== */ a.vmenu:link { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; } a.vmenu:visited { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; } @@ -345,9 +352,10 @@ form { } -/* - * Barre recherche - */ +/* ============================================================================== */ +/* Barre recherche */ +/* ============================================================================== */ + div.formsearch { display: block; @@ -361,9 +369,10 @@ div.formsearch } -/* - * Barre onglets - */ +/* ============================================================================== */ +/* Onglets */ +/* ============================================================================== */ + div.tabs { top: 20px; margin: 1px 0px 0px 0px; @@ -472,10 +481,11 @@ a.tabimage { } -/* - * Boutons actions - * Nouvelle syntaxe à utiliser - */ +/* ============================================================================== */ +/* Boutons actions */ +/* ============================================================================== */ + +/* Nouvelle syntaxe à utiliser */ a.butAction:link { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; @@ -548,10 +558,7 @@ a.butActionDelete:visited { font: 12px helvetica, verdana, arial, sans-serif; fo a.butActionDelete:hover { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -/* -* Historique -* A supprimer quand remplace par butXxx -*/ +/* Ancienne syntaxe. A supprimer quand remplace par butXxx */ a.tabAction:link { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #8CACBB; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } a.tabAction:visited { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #8CACBB; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } @@ -564,9 +571,9 @@ a.butDelete:visited { font: 12px helvetica, verdana, arial, sans-serif; font-wei a.butDelete:hover { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -/* - * Tables - */ +/* ============================================================================== */ +/* Tables */ +/* ============================================================================== */ .notopnoleft { border-collapse: collapse; @@ -624,11 +631,6 @@ border-collapse: collapse; width: 100%; } - -/* - * Tableaux - */ - tr.liste_titre { background: #7699A9; background-image : url(); @@ -713,7 +715,6 @@ border: 0px; } */ - /* * Boxes */ @@ -794,9 +795,9 @@ div.titre { text-decoration: none } -/* +/* ============================================================================== */ * Formulaire confirmation - */ +/* ============================================================================== */ td.validtitle { font-weight: bold; @@ -817,11 +818,20 @@ tr.nonpayed { div.version { - background: #F4F4F4; - text-align: right; - font-size: 9px; - margin: 1px 0em 0em 0em; - padding: 2px; +background: #F4F4F4; +text-align: right; +font-size: 9px; +margin: 1px 0em 0em 0em; +padding: 2px; +} + + +/* ============================================================================== */ +/* Tooltips */ +/* ============================================================================== */ +div.tooltip { +position:absolute; top: 0px; left: 0px; z-index: 2; width: 300px; visibility:hidden; font: 8pt 'MS Comic Sans','Arial',sans-serif; +background-color: #FFFFE6; padding: 8px; border: 1px solid black; } @@ -891,10 +901,9 @@ cursor: hand; -/* - * Autre - */ - +/* ============================================================================== */ + * Autre (telephonie) +/* ============================================================================== */ #corpForm fieldset { /*** Mise en forme des cadres ***/ margin: 0;