Look: Minor enhancements

This commit is contained in:
Laurent Destailleur 2011-08-13 13:03:03 +00:00
parent 920d87dc5f
commit 830059a7a9
4 changed files with 16 additions and 17 deletions

View File

@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2007-2010 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2007-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2009 Regis Houssin <regis@dolibarr.fr>
*
* 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 '<br><center>';
print '<input class="button" type="submit" name="save" value="'.$langs->trans("Save").'"'.(!sizeof($listofmethods)?' disabled="disbaled"':'').'>';
print ' &nbsp; &nbsp; ';
print '<input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'"'.(!sizeof($listofmethods)?' disabled="disbaled"':'').'>';
print '<input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'">';
print '</center>';
print '</form>';
@ -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 $');
?>

View File

@ -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 '</textarea></td></tr>';
}
print '<tr><td colspan="2" align="center"><input type="submit" class="button" value="'.$langs->trans("Create").'"></td></tr>';
print "</table>\n";
print '<br><center><input type="submit" class="button" value="'.$langs->trans("Create").'"></center>';
print "</form>\n";
print '</div>';
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 $');
?>

View File

@ -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 '<table class="border" width="100%">';
print '<tr>';
@ -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 '<br><div class="error">'.$mesg.'</div><br>';
}
dol_htmloutput_errors($mesg);
// Main official, simple, and not duplicated code
print '<form action="fiche.php" method="POST">'."\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 $');
?>

View File

@ -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;
}