Fix: uniformize code
This commit is contained in:
parent
91542ab3b8
commit
7bf7b07648
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
|
/* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id: card_create.tpl.php,v 1.9 2011/07/06 08:09:28 hregis Exp $
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@ -15,17 +15,17 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id: card_view.tpl.php,v 1.11 2011/07/06 08:09:28 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$soc = $GLOBALS['objcanvas']->control->object;
|
$object = $GLOBALS['objcanvas']->control->object;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- BEGIN PHP TEMPLATE CARD_VIEW.TPL.PHP INDIVIDUAL -->
|
<!-- BEGIN PHP TEMPLATE CARD_VIEW.TPL.PHP INDIVIDUAL -->
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$head = societe_prepare_head($soc);
|
$head = societe_prepare_head($object);
|
||||||
|
|
||||||
dol_fiche_head($head, 'card', $langs->trans("ThirdParty"),0,'company');
|
dol_fiche_head($head, 'card', $langs->trans("ThirdParty"),0,'company');
|
||||||
|
|
||||||
@ -223,13 +223,13 @@ $somethingshown=$formfile->show_documents('company',$socid,$filedir,$urlsource,$
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Subsidiaries list
|
// Subsidiaries list
|
||||||
$result=show_subsidiaries($conf,$langs,$db,$soc);
|
$result=show_subsidiaries($conf,$langs,$db,$object);
|
||||||
|
|
||||||
// Contacts list
|
// Contacts list
|
||||||
$result=show_contacts($conf,$langs,$db,$soc);
|
$result=show_contacts($conf,$langs,$db,$object);
|
||||||
|
|
||||||
// Projects list
|
// Projects list
|
||||||
$result=show_projects($conf,$langs,$db,$soc);
|
$result=show_projects($conf,$langs,$db,$object);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- END PHP TEMPLATE -->
|
<!-- END PHP TEMPLATE -->
|
||||||
Loading…
Reference in New Issue
Block a user