nom_bannette."
" ;
$bannette->vider();
break ;
case "remplir" :
$action_diff_aff .= $msg['dsi_dif_remplissage'].": ".$bannette->nom_bannette ;
$action_diff_aff .= $bannette->remplir();
$bannette->purger();
break ;
case "diffuser" :
$action_diff_aff .= "".$msg['dsi_dif_diffusion'].": ".$bannette->nom_bannette."
" ;
$action_diff_aff .= $bannette->diffuser();
break ;
case "visualiser" :
$action_diff_aff .= "
".$msg['dsi_dif_ban_contenu'].": ".$bannette->nom_bannette."
" ;
$action_diff_aff .= $bannette->aff_contenu_bannette("./dsi.php?categ=diffuser&sub=auto", 0);
break ;
case "full_auto" :
$action_diff_aff .= $msg['dsi_dif_vidage'].": ".$bannette->nom_bannette."
" ;
if(!$bannette->limite_type)$action_diff_aff .= $bannette->vider();
$action_diff_aff .= $msg['dsi_dif_remplissage'].": ".$bannette->nom_bannette ;
$action_diff_aff .= $bannette->remplir();
$bannette->purger();
$action_diff_aff .= "".$msg['dsi_dif_diffusion'].": ".$bannette->nom_bannette."
" ;
$action_diff_aff .= $bannette->diffuser();
break ;
case "exporter" :
$action_diff_aff .= "" ;
break ;
case "gen_document" :
$action_diff_aff .= "" ;
break ;
}
}
switch($suite) {
case "search":
case "vider" :
case "remplir" :
case "diffuser" :
case "full_auto" :
case "exporter" :
case "gen_document" :
if ($action_diff_aff) print "".$msg['dsi_dif_action_effectuee']." :
".$action_diff_aff ;
static::proceed_diffusion_list();
break ;
case "visualiser" :
if ($action_diff_aff) print $action_diff_aff;
break ;
default:
echo window_title($database_window_title.$msg['dsi_dif_auto']);
static::proceed_diffusion_list();
break;
}
}
public static function proceed_diffusion_list() {
global $sub;
switch($sub) {
case 'auto':
$list_bannettes_diffusion_ui = new list_bannettes_diffusion_ui(array('auto' => 1));
break;
case 'lancer':
$list_bannettes_diffusion_ui = new list_bannettes_diffusion_ui(array('auto' => 1));
break;
case 'manu':
$list_bannettes_diffusion_ui = new list_bannettes_diffusion_ui(array('auto' => 0));
break;
}
print $list_bannettes_diffusion_ui->get_display_list();
}
}// end class