.
*
* Vue table pour les mails
*
* @package vues
*/
$this->load->view('bs_header');
$this->load->view('bs_banner');
$this->load->view('bs_menu');
$this->lang->load('mails');
echo '
';
echo heading($this->lang->line("gvv_mails_title_list"), 3);
echo form_hidden('controller_url', controller_url($controller), '"id"="controller_url"');
$attrs = array(
'controller' => $controller,
'actions' => array ('edit', 'delete'),
'fields' => array('id', 'date_envoie', 'titre', 'selection'),
'mode' => ($has_modification_rights) ? "rw" : "ro",
'class' => "datatable table table-striped");
echo $this->mailmetadata->table("vue_mails", $attrs);
/*
$bar = array(
array('label' => "Excel", 'url' =>"$controller/export_per/$year/month"),
array('label' => "Pdf", 'url' =>"$controller/pdf_month/$year"),
array('label' => "Génération", 'url' =>"$controller/statistic/true", "role" => 'ca'),
);
echo br() . button_bar4($bar);
*/
echo '
';
?>