function wpdmp_settings_view()
    {
        wpdmp_print_popup_dialog();
        wpdmp_settings_view_inner();
        ?>
	<div id="progressbar" style="background: url(<?php 
        echo WPDMP_PLUGIN_URL . 'images/spin.gif';
        ?>
) center center no-repeat #fff"/></div>
	<div id="dialog-confirm" title='<?php 
        _e('Remove the language including ALL descriptions in this language?', 'wp-design-maps-and-places');
        ?>
'>
		<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><?php 
        _e('The language and all description in this language will be permanently deleted and cannot be recovered. Are you sure?', 'wp-design-maps-and-places');
        ?>
</p>
	</div>
<?php 
    }
    function wpdmp_map_manager_view()
    {
        wpdmp_print_popup_dialog();
        //$mapid = $_GET['mapid'];
        $maps = wpdmp_get_maps();
        //load first found map as default
        if ($mapid == '') {
            $map = $maps[0];
            $mapid = $maps[0]['id'];
        } else {
            $map = wpdmp_get_map($mapid);
        }
        $map_name = $map['map'];
        $map_path = $map['map'];
        //print_map_url($map_name);
        ?>
	
	<div class="wrap">
	
	<div id="col-right">
		<h1><?php 
        _e('Preview map', 'wp-design-maps-and-places');
        ?>
</h1>
	<?php 
        wpdmp_print_map_manager($mapid, 'backend_map_manager');
        ?>
	   </div>
	   <div id="col-left" style="width:33%">
			<?php 
        wpdmp_print_maps_available($maps);
        ?>
		</div>	
	</div>
		
	<div id="progressbar" style="background: url(<?php 
        echo WPDMP_PLUGIN_URL . 'images/spin.gif';
        ?>
) center center no-repeat #fff"/></div>
<?php 
        wpdmp_print_css_and_effects();
    }