Code improvement : change fiche function
getAttribut becomes load_attribute, strAttribut becomes set_attribute getAttribut becomes get_attribute
This commit is contained in:
parent
bec8b39afa
commit
6c3154abbd
45 changed files with 316 additions and 311 deletions
|
|
@ -148,9 +148,9 @@ if ($op =="view_followup_card")
|
|||
{
|
||||
$div=$http->get("div");
|
||||
$card=new Fiche($cn,$http->get("f_id","number"));
|
||||
echo HtmlInput::title_box("Suivi ".h($card->strAttribut(ATTR_DEF_NAME)),$div);
|
||||
echo HtmlInput::title_box("Suivi ".h($card->get_attribute(ATTR_DEF_NAME)),$div);
|
||||
|
||||
$query="where true=true ".Follow_Up::create_query($cn,["qcode"=>$card->strAttribut(ATTR_DEF_QUICKCODE),
|
||||
$query="where true=true ".Follow_Up::create_query($cn,["qcode"=>$card->get_attribute(ATTR_DEF_QUICKCODE),
|
||||
'closed_action'=>true]);
|
||||
$followup=new Follow_Up($cn);
|
||||
echo $followup->view_list($query,' limit 25');
|
||||
|
|
|
|||
|
|
@ -110,8 +110,8 @@ if ( isset($_GET['f_id']))
|
|||
|
||||
ob_start();
|
||||
require_once NOALYSS_TEMPLATE.'/history_top.php';
|
||||
$detail_card=HtmlInput::card_detail($fiche->strAttribut(ATTR_DEF_QUICKCODE),$fiche->getName()." ".$fiche->strAttribut(ATTR_DEF_FIRST_NAME,0));
|
||||
echo h2( $fiche->getName().'['.$fiche->strAttribut(ATTR_DEF_QUICKCODE).']',' class="title" ');
|
||||
$detail_card=HtmlInput::card_detail($fiche->get_attribute(ATTR_DEF_QUICKCODE),$fiche->getName()." ".$fiche->get_attribute(ATTR_DEF_FIRST_NAME,0));
|
||||
echo h2( $fiche->getName().'['.$fiche->get_attribute(ATTR_DEF_QUICKCODE).']',' class="title" ');
|
||||
echo '<p style="text-align:center;">'.$detail_card.'</p>';
|
||||
|
||||
if ( $result ==-1){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue