.
*
* Vue table pour les vols planeurs
*
* @packages vues
*/
$this->load->view('bs_header');
$this->load->view('bs_menu');
$this->load->view('bs_banner');
$this->lang->load('vols_planeur');
echo '
';
echo checkalert($this->session);
echo heading($this->lang->line("gvv_vols_planeur_title"), 3);
$categories = array_merge(array('-1' => $this->lang->line("gvv_toutes")), $this->config->item('categories_vol_planeur'));
$launch = $this->lang->line("gvv_launch_type");
$towing = $launch[3];
$winch = $launch[1];
$auto = $launch[2];
$ext = $launch[4];
?>
= year_selector($controller, $year, $year_selector) ?>
config->item('ajax');
if ($ajax) {
if ($this->dx_auth->is_role('planchiste')) {
$classes = "datatable_style datatable_server table table-striped";
} else {
$classes = "datatable_style datatable_server_ro table table-striped";
}
} else {
$classes = "sql_table fixed_datatable table table-striped";
}
$attrs = array(
'controller' => $controller,
'actions' => array('edit', 'delete'),
'count' => $count,
'first' => $premier,
'mode' => ($has_modification_rights) ? "rw" : "ro",
'class' => $classes,
'datatable' => 'server_side'
);
if ($ajax) {
echo $this->gvvmetadata->empty_table("vue_vols_planeur", $attrs);
} else {
echo $this->gvvmetadata->table("vue_vols_planeur", $attrs, "");
}
// -----------------------------------------------------------------------------------------
echo p($this->lang->line("gvv_vols_planeur_tip_unit"));
$bar = array(
array('label' => "Excel", 'url' => "$controller/csv/$year"),
array('label' => "Pdf", 'url' => "$controller/pdf/$year"),
);
echo br() . button_bar4($bar);
echo '
';
?>