1 ){ echo __DIR__."/".__FILE__;} //This file is part of NOALYSS and is under GPL //see licence.txt $uniq=uniqid("tab",TRUE); ?>
| ag_id;?> | ||
| search().$w->input(); ?> | ||
| can_write_action($this->ag_id) == true ): if ( $ag_contact->extra != "" ): echo $ag_contact->search().$ag_contact->input(); else: echo _('Pas de catégorie de contact'); endif; endif; ?> | ||
| =_("VideoConf")?> | =_("Salle de réunion")?> | |
| input(); ?> | ||
| db,$this->ag_id); echo $followup_other_concerned->display_linked_count(); if ($p_view != 'READ' && $g_user->can_write_action($this->ag_id) == true ): echo $followup_other_concerned->button_action_add_concerned_card(); endif; ?> | Dossier::id(), "act"=>"CSV:FollowUpContactOption", "ag_id"=>$ag_id]); echo HtmlInput::anchor(_("Export CSV"), $csv,"",' class="line" title="Export Contacts options"'); ?> | |
| input(); ?> | ||
| input(); ?> | ||
| Dossier / Etiquette | tag_cell($p_view); ?> |
input(); ?>
';
$comment_http= h($acomment[0]['agc_comment']);
$comment_http=add_http_link($comment_http);
echo $comment_http;
echo '';
}
} else {
echo h2(_("Description"));
echo $description->input();
}
//---------------------------------- Comment -----------------------------------------------------------------------
if ( Document_Option::can_add_comment($ag_id) &&
Document_Option::option_comment($this->dt_id) == "ONE_EDIT" )
{
if (count($acomment) > 1 ) {
echo h2(_("Commentaire"));
$comment=new ITextarea("ag_comment_edit");
$comment->style='class="input_text field_follow_up" style="height:21rem;width:98%"';
$ag_comment_id= (count($acomment) > 1)?$acomment[1]['agc_id']:-1;
$comment->value=(count($acomment) > 1 )?$acomment[1]['agc_comment']:'';
$comment->id="ag_comment_edit";
if ( $p_view != 'READ') {
// One editable comment is available
$editable_comment=new Inplace_Edit($comment);
$editable_comment->add_json_param("op", "followup_comment_oneedit");
$editable_comment->add_json_param("agc_id", $ag_comment_id);
$editable_comment->add_json_param("ag_id", $ag_id);
$editable_comment->add_json_param("gDossier", Dossier::id());
$editable_comment->set_callback("ajax_misc.php");
echo '';
echo $editable_comment->input();
} else {
echo '';
echo $comment->display();
}
} else {
echo '';
}
}
if ( count($acomment) > 0
&& Document_Option::can_add_comment($ag_id)
&& Document_Option::option_comment($this->dt_id) == "SOME_FIXED")
{
echo h2(_("Commentaire"));
for( $c=1;$c '.
" ".add_http_link(h($acomment[$c]['agc_comment'])).''
;
}
else
{
$comment=h($m_desc.' '.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']." ".
$acomment[$c]['str_agc_date'].')').
' '.
" ".add_http_link(h($acomment[$c]['agc_comment'])).''
;
}
$comment=preg_replace('/#([0-9]+)/','\1',$comment);
echo '';
echo $comment;
} // end for
if ( $has_description && $p_view == 'UPD' && Document_Option::can_add_comment($ag_id)) {
echo '';
if ($p_view == 'UPD') {
}
}
?>
| " href=""> | id="input_desc_txt".$aAttachedFile[$i]['d_id']; $description->value=h($aAttachedFile[$i]['d_description']); $inplace_description=new Inplace_Edit($description); $inplace_description->set_callback("ajax_misc.php"); $inplace_description->add_json_param("d_id", $aAttachedFile[$i]['d_id']); $inplace_description->add_json_param("gDossier", Dossier::id()); $inplace_description->add_json_param("op", "update_comment_followUp"); echo $inplace_description->input(); else: echo h($aAttachedFile[$i]['d_description']); endif; ?> | " href="javascript:void(0)" onclick=""> |