{extends file="layout.html"} {block name=title}::: LMS :{$layout.pagetitle|striphtml} :::{/block} {block name=module_content}

{$layout.pagetitle}

{if $emptydb}


{trans("No such devices in database.")}
{elseif !$ming && $type == 'flash'}


{trans("Your PHP does not support Ming library required for map generation!")}
{elseif $ming && (!$type || $type=='flash')}

{elseif $type=='openlayers'} {include file="openlayers.html"}
{elseif $gd} {* default if $type is not set or not 'flash' *}

{section name=devicemap loop=$devicemap} {/section} {section name=nodemap loop=$nodemap} {/section}

{else}


{trans("Your PHP does not support GD library required for map generation!")}
{/if} {if !$emptydb && $type != 'openlayers'}

{trans("Start map from:")} {trans("only devices")}

{/if} {/block}