/[dolibarr]/dolibarr/htdocs/comm/propal.php
ViewVC logotype

Diff of /dolibarr/htdocs/comm/propal.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.122 by eldy, Tue Sep 6 22:27:34 2005 UTC revision 1.123 by eldy, Wed Sep 7 21:50:09 2005 UTC
# Line 208  if ($_POST['action'] == 'send') Line 208  if ($_POST['action'] == 'send')
208                  {                  {
209                      $msg='<div class="ok">'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.</div>';                      $msg='<div class="ok">'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.</div>';
210                      // Insertion action                      // Insertion action
211                      include_once('../contact.class.php');                      include_once(DOL_DOCUMENT_ROOT."/contact.class.php");
212                      $actioncomm = new ActionComm($db);                      $actioncomm = new ActionComm($db);
213                      $actioncomm->type_id     = $actiontypeid;                      $actioncomm->type_id     = $actiontypeid;
214                      $actioncomm->label       = $actionmsg2;                      $actioncomm->label       = $actionmsg2;
# Line 504  if ($_GET['propalid'] > 0) Line 504  if ($_GET['propalid'] > 0)
504                      if (!empty($propal->contactid))                      if (!empty($propal->contactid))
505                      {                      {
506                          print '<td colspan="3">';                          print '<td colspan="3">';
507                          require_once(DOL_DOCUMENT_ROOT.'/contact.class.php');                          include_once(DOL_DOCUMENT_ROOT."/contact.class.php");
508                          $contact=new Contact($db);                          $contact=new Contact($db);
509                          $contact->fetch($propal->contactid);                          $contact->fetch($propal->contactid);
510                          print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?id='.$propal->contactid.'" title="'.$langs->trans('ShowContact').'">';                          print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?id='.$propal->contactid.'" title="'.$langs->trans('ShowContact').'">';

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26