Look: Uniformize pages look
This commit is contained in:
parent
61e2282cb1
commit
3dadf24d10
@ -710,7 +710,7 @@ if ($action == 'create')
|
|||||||
$htmls = new Form($db);
|
$htmls = new Form($db);
|
||||||
$adht = new AdherentType($db);
|
$adht = new AdherentType($db);
|
||||||
|
|
||||||
print_titre($langs->trans("NewMember"));
|
print_fiche_titre($langs->trans("NewMember"));
|
||||||
|
|
||||||
print '<form name="add" action="fiche.php" method="post" enctype="multipart/form-data">';
|
print '<form name="add" action="fiche.php" method="post" enctype="multipart/form-data">';
|
||||||
print '<input type="hidden" name="action" value="add">';
|
print '<input type="hidden" name="action" value="add">';
|
||||||
|
|||||||
@ -95,8 +95,8 @@ if ($_POST["action"] == 'update' && $user->rights->categorie->creer)
|
|||||||
|
|
||||||
llxHeader("","",$langs->trans("Categories"));
|
llxHeader("","",$langs->trans("Categories"));
|
||||||
|
|
||||||
print_titre($langs->trans("ModifCat"));
|
print_fiche_titre($langs->trans("ModifCat"));
|
||||||
print "<br>";
|
|
||||||
|
|
||||||
if ($mesg)
|
if ($mesg)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -814,7 +814,7 @@ $formorder = new FormOrder($db);
|
|||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
if ($_GET['action'] == 'create' && $user->rights->commande->creer)
|
if ($_GET['action'] == 'create' && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
print_titre($langs->trans('CreateOrder'));
|
print_fiche_titre($langs->trans('CreateOrder'));
|
||||||
|
|
||||||
if ($mesg) print $mesg.'<br>';
|
if ($mesg) print $mesg.'<br>';
|
||||||
|
|
||||||
|
|||||||
@ -21,24 +21,22 @@
|
|||||||
*/
|
*/
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|
||||||
/*
|
// Security check
|
||||||
* Sécurité accés
|
|
||||||
*/
|
|
||||||
if (!$user->admin && $user->societe_id > 0)
|
if (!$user->admin && $user->societe_id > 0)
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* View
|
||||||
|
*/
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
print_titre("Paiements");
|
print_fiche_titre("Payments");
|
||||||
/*
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -365,7 +365,7 @@ llxHeader('','','');
|
|||||||
// Mode creation
|
// Mode creation
|
||||||
if ($_GET['action'] == 'create')
|
if ($_GET['action'] == 'create')
|
||||||
{
|
{
|
||||||
print_titre($langs->trans('NewBill'));
|
print_fiche_titre($langs->trans('NewBill'));
|
||||||
|
|
||||||
if ($mesg) { print $mesg.'<br>'; }
|
if ($mesg) { print $mesg.'<br>'; }
|
||||||
|
|
||||||
@ -471,7 +471,7 @@ else
|
|||||||
|
|
||||||
if ($_GET['action'] == 'edit')
|
if ($_GET['action'] == 'edit')
|
||||||
{
|
{
|
||||||
print_titre($langs->trans('SupplierInvoice'));
|
print_fiche_titre($langs->trans('SupplierInvoice'));
|
||||||
|
|
||||||
print '<form name="update" action="fiche.php?facid='.$fac->id.'" method="post">';
|
print '<form name="update" action="fiche.php?facid='.$fac->id.'" method="post">';
|
||||||
print '<input type="hidden" name="action" value="update">';
|
print '<input type="hidden" name="action" value="update">';
|
||||||
|
|||||||
@ -39,7 +39,7 @@ if (!$user->rights->produit->lire) accessforbidden();
|
|||||||
|
|
||||||
llxHeader("","",$langs->trans("ProductsAndServices"));
|
llxHeader("","",$langs->trans("ProductsAndServices"));
|
||||||
|
|
||||||
print_titre($langs->trans("ProductsAndServicesArea"));
|
print_fiche_titre($langs->trans("ProductsAndServicesArea"));
|
||||||
|
|
||||||
print '<table border="0" width="100%">';
|
print '<table border="0" width="100%">';
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
\ingroup product
|
\ingroup product
|
||||||
\brief Page de la fiche produit
|
\brief Page de la fiche produit
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/product.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/product.class.php");
|
||||||
@ -147,7 +147,7 @@ if ($_GET["id"])
|
|||||||
{
|
{
|
||||||
$nbphoto++;
|
$nbphoto++;
|
||||||
|
|
||||||
// if ($nbbyrow && $nbphoto == 1) print '<table width="100%" valign="top" align="center" border="0" cellpadding="2" cellspacing="2">';
|
// if ($nbbyrow && $nbphoto == 1) print '<table width="100%" valign="top" align="center" border="0" cellpadding="2" cellspacing="2">';
|
||||||
|
|
||||||
if ($nbbyrow && ($nbphoto % $nbbyrow == 1)) print '<tr align=center valign=middle border=1>';
|
if ($nbbyrow && ($nbphoto % $nbbyrow == 1)) print '<tr align=center valign=middle border=1>';
|
||||||
if ($nbbyrow) print '<td width="'.ceil(100/$nbbyrow).'%" class="photo">';
|
if ($nbbyrow) print '<td width="'.ceil(100/$nbbyrow).'%" class="photo">';
|
||||||
@ -200,9 +200,9 @@ if ($_GET["id"])
|
|||||||
print '<a class="butAction" href="photos.php?action=ajout_photo&id='.$product->id.'">';
|
print '<a class="butAction" href="photos.php?action=ajout_photo&id='.$product->id.'">';
|
||||||
print $langs->trans("AddPhoto").'</a>';
|
print $langs->trans("AddPhoto").'</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print "\n</div>\n";
|
print "\n</div>\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -175,7 +175,7 @@ $formfile = new FormFile($db);
|
|||||||
if ($_GET["action"] == 'create')
|
if ($_GET["action"] == 'create')
|
||||||
{
|
{
|
||||||
|
|
||||||
print_titre($langs->trans("CreateADeliveryOrder"));
|
print_fiche_titre($langs->trans("CreateADeliveryOrder"));
|
||||||
|
|
||||||
if ($mesg)
|
if ($mesg)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -345,7 +345,7 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create')
|
|||||||
$soc->pays=$obj->libelle;
|
$soc->pays=$obj->libelle;
|
||||||
}
|
}
|
||||||
|
|
||||||
print_titre($langs->trans("NewCompany"));
|
print_fiche_titre($langs->trans("NewCompany"));
|
||||||
|
|
||||||
if ($conf->use_javascript_ajax)
|
if ($conf->use_javascript_ajax)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -401,7 +401,7 @@ if (($action == 'create') || ($action == 'adduserldap'))
|
|||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
print_titre($langs->trans("NewUser"));
|
print_fiche_titre($langs->trans("NewUser"));
|
||||||
print "<br>";
|
print "<br>";
|
||||||
|
|
||||||
print $langs->trans("CreateInternalUserDesc");
|
print $langs->trans("CreateInternalUserDesc");
|
||||||
|
|||||||
@ -162,7 +162,7 @@ llxHeader('',$langs->trans("GroupCard"));
|
|||||||
|
|
||||||
if ($action == 'create')
|
if ($action == 'create')
|
||||||
{
|
{
|
||||||
print_titre($langs->trans("NewGroup"));
|
print_fiche_titre($langs->trans("NewGroup"));
|
||||||
print "<br>";
|
print "<br>";
|
||||||
|
|
||||||
if ($message) { print $message."<br>"; }
|
if ($message) { print $message."<br>"; }
|
||||||
|
|||||||
@ -46,9 +46,13 @@ if (! $sortfield) $sortfield="g.nom";
|
|||||||
if (! $sortorder) $sortorder="ASC";
|
if (! $sortorder) $sortorder="ASC";
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* View
|
||||||
|
*/
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
print_titre($langs->trans("ListOfGroups"));
|
print_fiche_titre($langs->trans("ListOfGroups"));
|
||||||
|
|
||||||
$sql = "SELECT g.rowid, g.nom, ".$db->pdate("g.datec")." as datec";
|
$sql = "SELECT g.rowid, g.nom, ".$db->pdate("g.datec")." as datec";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."usergroup as g";
|
$sql .= " FROM ".MAIN_DB_PREFIX."usergroup as g";
|
||||||
|
|||||||
@ -52,7 +52,7 @@ $userstatic=new User($db);
|
|||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
print_titre($langs->trans("ListOfUsers"));
|
print_fiche_titre($langs->trans("ListOfUsers"));
|
||||||
|
|
||||||
$sql = "SELECT u.rowid, u.name, u.firstname, u.admin, u.fk_societe, u.login,";
|
$sql = "SELECT u.rowid, u.name, u.firstname, u.admin, u.fk_societe, u.login,";
|
||||||
$sql.= " ".$db->pdate("u.datec")." as datec,";
|
$sql.= " ".$db->pdate("u.datec")." as datec,";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user