From db6d226ffd1973897f5f5befc734a9c1a8e24c13 Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Thu, 6 Jun 2013 09:22:26 +0200 Subject: [PATCH] code was displayed twice --- htdocs/fichinter/fiche.php | 51 -------------------------------------- 1 file changed, 51 deletions(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 2f8cdc6ed22..96565d9ebd2 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -1065,7 +1065,6 @@ if ($action == 'create') print $object->showOptionals($extrafields,'edit'); } - // Show link to origin object if (! empty($origin) && ! empty($originid) && is_object($objectsrc)) { @@ -1082,56 +1081,6 @@ if ($action == 'create') print ''; } - // Model - print ''; - print ''.$langs->trans("DefaultModel").''; - print ''; - $liste=ModelePDFFicheinter::liste_modeles($db); - print $form->selectarray('model',$liste,$conf->global->FICHEINTER_ADDON_PDF); - print ""; - - // Public note - print ''; - print ''.$langs->trans('NotePublic').''; - print ''; - $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, 70); - print $doleditor->Create(1); - //print ''; - print ''; - - // Private note - if (!empty($user->societe_id)) - { - print ''; - print ''.$langs->trans('NotePrivate').''; - print ''; - $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, 70); - print $doleditor->Create(1); - //print ''; - print ''; - } - - // Other attributes - $parameters=array('colspan' => ' colspan="2"'); - $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook - - - // Show link to origin object - if (! empty($origin) && ! empty($originid) && is_object($objectsrc)) - { - $newclassname=$classname; - if ($newclassname=='Propal') $newclassname='CommercialProposal'; - print ''.$langs->trans($newclassname).''.$objectsrc->getNomUrl(1).''; - } - - print ''; - - if (is_object($objectsrc)) - { - print ''; - print ''; - } - print '

'; print ''; print '
';