From 830059a7a977b98656226da750be90dd41f82ab4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Aug 2011 13:03:03 +0000 Subject: [PATCH] Look: Minor enhancements --- htdocs/admin/sms.php | 8 ++++---- htdocs/contrat/fiche.php | 11 ++++++----- htdocs/product/fiche.php | 10 ++++------ htdocs/theme/eldy/style.css.php | 4 ++-- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php index 342289a6991..d443d7af271 100755 --- a/htdocs/admin/sms.php +++ b/htdocs/admin/sms.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2007-2011 Laurent Destailleur * Copyright (C) 2009 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -19,7 +19,7 @@ /** * \file htdocs/admin/sms.php * \brief Page to setup emails sending - * \version $Id: sms.php,v 1.9 2011/07/31 22:23:22 eldy Exp $ + * \version $Id: sms.php,v 1.10 2011/08/13 13:03:03 eldy Exp $ */ require("../main.inc.php"); @@ -208,7 +208,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -346,5 +346,5 @@ else $db->close(); -llxFooter('$Date: 2011/07/31 22:23:22 $ - $Revision: 1.9 $'); +llxFooter('$Date: 2011/08/13 13:03:03 $ - $Revision: 1.10 $'); ?> diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 86c21b1378b..8884bbe7af4 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -23,7 +23,7 @@ * \file htdocs/contrat/fiche.php * \ingroup contrat * \brief Page of a contract - * \version $Id: fiche.php,v 1.199 2011/08/04 21:46:51 eldy Exp $ + * \version $Id: fiche.php,v 1.200 2011/08/13 13:03:20 eldy Exp $ */ require ("../main.inc.php"); @@ -550,12 +550,13 @@ if ($action == 'create') print ''; } - print ''; - print "\n"; + + print '
'; + print "\n"; - print ''; + dol_fiche_end(); } else /* *************************************************************************** */ @@ -1286,5 +1287,5 @@ else $db->close(); -llxFooter('$Date: 2011/08/04 21:46:51 $ - $Revision: 1.199 $'); +llxFooter('$Date: 2011/08/13 13:03:20 $ - $Revision: 1.200 $'); ?> diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index badd9c3c815..2ced1ae4e3b 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -25,7 +25,7 @@ * \file htdocs/product/fiche.php * \ingroup product * \brief Page to show product - * \version $Id: fiche.php,v 1.376 2011/08/05 12:59:17 simnandez Exp $ + * \version $Id: fiche.php,v 1.377 2011/08/13 13:03:03 eldy Exp $ */ require("../main.inc.php"); @@ -659,7 +659,7 @@ if ($action == 'create' && ($user->rights->produit->creer || $user->rights->serv else $title=$langs->trans("NewProduct"); print_fiche_titre($title); - if ($mesg) print $mesg."\n"; + dol_htmloutput_mesg($mesg); print ''; print ''; @@ -856,9 +856,7 @@ if ($id || $ref) if ($product->isservice()) $type = $langs->trans('Service'); print_fiche_titre($langs->trans('Modify').' '.$type.' : '.$product->ref, ""); - if ($mesg) { - print '
'.$mesg.'

'; - } + dol_htmloutput_errors($mesg); // Main official, simple, and not duplicated code print ''."\n"; @@ -1645,6 +1643,6 @@ if ($product->id && $action == '' && $product->status) $db->close(); -llxFooter('$Date: 2011/08/05 12:59:17 $ - $Revision: 1.376 $'); +llxFooter('$Date: 2011/08/13 13:03:03 $ - $Revision: 1.377 $'); ?> diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index d3a5e539cac..d3c1ed45fa2 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -21,7 +21,7 @@ /** * \file htdocs/theme/eldy/style.css.php * \brief Fichier de style CSS du theme Eldy - * \version $Id: style.css.php,v 1.99 2011/08/13 00:48:01 eldy Exp $ + * \version $Id: style.css.php,v 1.100 2011/08/13 13:03:03 eldy Exp $ */ //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language @@ -846,7 +846,7 @@ div.tabBar { } div.tabsAction { - margin: 20px 0em 1px 0em; + margin: 20px 0em 10px 0em; padding: 0em 0em; text-align: right; }