// Folder in which we keep ad images.
// $image_path = $milieu_list['directory']['value'].'/assets/images';
/*****
 * Updates
 */
if ($_GET && $delete_id) {
    $success = $marker_type->deleteMarkerType($delete_id);
    $marker_type->resetMarkerTypes();
}
if ($success && $delete_id) {
    $alert_output = $message->alert_dialog('Marker type deleted.');
}
/*****
 * Display
 */
$marker_type_list = $marker_type->getMarkerTypeList();
if ($marker_type_list) {
    $heading_list[] = array('value' => 'Level', 'class' => null);
    $heading_list[] = array('value' => 'Title', 'class' => null);
    $heading_list[] = array('value' => 'Total markers', 'class' => null);
    $heading_list[] = array('value' => 'Actions', 'class' => null);
    $edit_link = new GrlxLinkStyle();
    $edit_link->url('marker-type.edit.php');
    $edit_link->title('Edit marker type meta.');
    $edit_link->reveal(false);
    $edit_link->action('edit');
    $delete_link = new GrlxLinkStyle();
    $delete_link->url('marker-type.list.php');
    $delete_link->title('Delete this marker type.');
    $delete_link->reveal(false);
    $delete_link->action('delete');