".htmlentities($msg['acquisition_rent_ges'],ENT_QUOTES, $charset)." : ".htmlentities($msg['acquisition_rent_accounts'],ENT_QUOTES, $charset).""; switch($action) { case 'list' : entites::setSessionBibliId($id_bibli); $rent_accounts = new rent_accounts(); print $rent_accounts->get_display_list(); break; case 'edit' : $rent_account = new rent_account($id); print $rent_account->get_form(); break; case 'update' : $rent_account = new rent_account($id); $rent_account->set_properties_from_form(); $rent_account->save(); $rent_accounts = new rent_accounts(); print $rent_accounts->get_display_list(); break; case 'delete' : $rent_account = new rent_account($id); $deleted = $rent_account->delete(); $rent_accounts = new rent_accounts(); $rent_accounts->set_messages($deleted['msg_to_display']); print $rent_accounts->get_display_list(); break; default: print entites::show_list_biblio('get_display_list', 'rent_accounts'); break; }