Skip to content

Commit

Permalink
Cleaning code
Browse files Browse the repository at this point in the history
  • Loading branch information
defrance committed Dec 15, 2016
1 parent ecab7cb commit c2dc140
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions htdocs/contact/note.php
Expand Up @@ -74,11 +74,6 @@
$head = contact_prepare_head($object);

dol_fiche_head($head, 'note', $title,0,'contact');


print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';


$linkback = '<a href="'.DOL_URL_ROOT.'/contact/list.php">'.$langs->trans("BackToList").'</a>';
dol_banner_tab($object, 'id', $linkback, 1, 'rowid', 'ref', '');
Expand All @@ -88,11 +83,12 @@
//if ($action == 'editnote_private') $cssclass='titlefieldcreate';

print '<div class="fichecenter">';

print '<div class="underbanner clearboth"></div>';
print '<table class="border centpercent">';

$linkback = '<a href="'.DOL_URL_ROOT.'/contact/list.php">'.$langs->trans("BackToList").'</a>';
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';

print '<table class="border centpercent">';

// Company
if (empty($conf->global->SOCIETE_DISABLE_CONTACTS))
Expand Down Expand Up @@ -154,7 +150,6 @@

include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';


dol_fiche_end();
}

Expand Down

0 comments on commit c2dc140

Please sign in to comment.