remove debug info

This commit is contained in:
sparkyx 2007-10-21 17:50:57 +00:00
parent 380da3513b
commit 846bf43161
4 changed files with 4 additions and 6 deletions

View file

@ -27,7 +27,7 @@
function showfiche(p_sessid,p_qcode)
{
p_dossier=document.getElementById("gDossier").value;
var a=window.open('show_fiche.php?PHPSESSID='+p_sessid+'&gDossier='+p_dossier+'&q='+qcode,'','toolbar=no,width=350,height=450,scrollbar=yes,statusbar=no');
var a=window.open('show_fiche.php?PHPSESSID='+p_sessid+'&gDossier='+p_dossier+'&q='+p_qcode,'','toolbar=no,width=350,height=450,scrollbar=yes,statusbar=no');
}

View file

@ -24,7 +24,6 @@
* \brief This file show in a popup window the detail a of card in read only mode
* the parameter are q (for qcode) & PHPSESSID
*/
/*! \brief
*
*/

View file

@ -54,7 +54,7 @@ class contact extends fiche
if ( $this->company != "")
{
$extra_sql="and f_id in (select f_id from jnt_fic_att_value join
attr_value using (jft_id) where av_text='".$this->company."' and ad_id=".ATTR_DEF_COMPANY.") ";
attr_value using (jft_id) where av_text=upper('".$this->company."') and ad_id=".ATTR_DEF_COMPANY.") ";
}
$url=urlencode($_SERVER['REQUEST_URI']);
$script=$_SERVER['PHP_SELF'];
@ -130,7 +130,7 @@ $back_url=urlencode($_SERVER['REQUEST_URI']);
$r.="<TD>".$contact->strAttribut(ATTR_DEF_EMAIL)."</TD>".
"<TD> ".$contact->strAttribut(ATTR_DEF_FAX)."</TD>".
"<TD> ".$l_company_name. "</TD>".
'<TD> <A href="?p_action=suivi_courrier&qcode='.$contact->strAttribut(ATTR_DEF_QUICKCODE).'&url='.$back_url.'">Courrier</A></TD>';
'<TD> <A href="?'.dossier::get().'&p_action=suivi_courrier&qcode='.$contact->strAttribut(ATTR_DEF_QUICKCODE).'&url='.$back_url.'">Courrier</A></TD>';
$r.="</TR>";
@ -140,4 +140,4 @@ $back_url=urlencode($_SERVER['REQUEST_URI']);
return $r;
}
}
}

View file

@ -49,7 +49,6 @@ else
// Remove a card
if ( isset ($_POST['delete']) )
{
echo 'delete';
$f_id=$_REQUEST['f_id'];
$fiche=new contact($cn,$f_id);