1
<body onLoad="javascript:changeAction('polygon');selectedFeature('$!feature.featureCode');">
7
<fieldset align="center" style="border:#0000FF thin solid; width:460px; height:450px;">
8
<legend align="right"><a style="text-decoration:none" style="CURSOR: hand" href="javascript:zoomIn();" title="Zoom In">[ + ]</a>
9
<a style="text-decoration:none" style="CURSOR: hand" href="javascript:zoomOut();" title="Zoom Out">[ - ]</a>
10
<a style="text-decoration:none" style="CURSOR: hand" href="javascript:retoreZoom();" title="Retore">[ ~ ]</a>
11
<a style="text-decoration:none" style="CURSOR: hand" href="javascript:drillDown();" title="Drill down">[ Drill down ]</legend>
12
<embed id=map width="460" height="450" src="map/$mapFile.mapFile" name="map" type="image/svg+xml" align="center"/>
15
<td style="vertical-align:top;">
17
<fieldset style="border:#0000FF thin solid;width: 350px;">
18
<legend><label>$i18n.getString( "layer" )</label></legend>
20
<th><label>$i18n.getString( "show_layer" )</label></th>
21
<th><label>$i18n.getString( "active_layer" )</label></th>
23
<td><input id="polygon_check" type="checkbox" name="district" onClick="showlayer(this,'polygon')" checked="checked"/><label>$i18n.getString( "district" )</label></td>
24
<td><input id="polygon_radio" type="radio" name="active" checked="checked" onClick="activelayer('polygon')" value="polygon"/><label>$i18n.getString( "district" )</label></td>
27
<td><input id="point_check" type="checkbox" name="health_facility" onClick="showlayer(this,'point')" checked="checked"/><label>$i18n.getString( "health_facility" )</label></td>
28
<td><input id="point_radio" type="radio" name="active" onClick="activelayer('point')" value="point"/><label>$i18n.getString( "health_facility" )</label></td>
31
<td><input id="polyline_check" type="checkbox" name="road" onClick="showlayer(this,'polyline')" checked="checked"/><label>$i18n.getString( "road" )</label></td>
32
<td><input id="polyline_radio" type="radio" name="active" onClick="activelayer('polyline')" value="polyline"/><label>$i18n.getString( "road" )</label></td>
42
<form name="selectForm" id="selectForm" action="assignUnit.action" method="post">
43
<fieldset style="background-color:#FFFFCC; border:#FFCC00 thin solid;width: 350px;">
44
<legend><label>$i18n.getString( "assignunit_map" )</label></legend>
48
<td><label>$i18n.getString( "organisation_unit" )</label></td>
49
<td><input type="text" readonly="readonly" #if( $organisationUnit ) value="$encoder.htmlEncode( $organisationUnit.name )" #else value="[$i18n.getString( "select" )]" #end style="width:200px"><input id="orgUnit" type="hidden" type="text" readonly="readonly" value="$organisationUnit.id"/></td>
52
<td><label>$i18n.getString( "organisation_unit_code" )</label></td>
53
<td><input id="organisationUnitCode" name="organisationUnitCode" type="text" style="width:200px" value="$!feature.featureCode"/></td>
56
<td><label for="comment">$i18n.getString( "comment" )</label></td>
57
<td><textarea id="comment" name="comment" style="width:20em; height:5em" rows="5" cols="20">$!feature.comment</textarea></td>
60
<td colspan=2><div id="message">$!message </div></td>
64
<td><input type="button" value="$i18n.getString( "assignunit_map" )" onClick="javascript:return validateAddFeature()">
65
<input type="button" value="$i18n.getString( "delete" )" onClick="javascript:return deleteMap()"></td>