1 | <!-- |
---|
2 | Plugin Name: Psli-BingMaps |
---|
3 | Author: psli |
---|
4 | Description: Template for administrator setup of plugin Psli-BingMaps |
---|
5 | --> |
---|
6 | <div class="titrePage"> |
---|
7 | <h2>Psli-BingMaps</h2> |
---|
8 | </div> |
---|
9 | |
---|
10 | <form action="" method="post"> |
---|
11 | |
---|
12 | <fieldset> |
---|
13 | <legend>{'Configuration'|@translate}tatata</legend> |
---|
14 | <table style="width:100%;"> |
---|
15 | <colgroup> |
---|
16 | <col width="40%" > |
---|
17 | <col width="60%" > |
---|
18 | </colgroup> |
---|
19 | <tr> |
---|
20 | <td align="right">{'Bing Maps Key'|@translate} : </td> |
---|
21 | <td><input type="text" size="77" maxlength="100" name="key" value="{$KEY}" /></td></td> |
---|
22 | </tr> |
---|
23 | <tr> |
---|
24 | <td align="right">{'Center Latittude'|@translate} : </td> |
---|
25 | <td><input type="text" size="30" maxlength="21" name="lat" id="lat" value="{$LAT}" onChange="psli_AdminUpdateMap();" /></td></td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <td align="right">{'Center Longitude'|@translate} : </td> |
---|
29 | <td><input type="text" size="30" maxlength="21" name="lon" id="lon" value="{$LON}" onChange="psli_AdminUpdateMap();" /></td></td> |
---|
30 | </tr> |
---|
31 | <tr> |
---|
32 | <td align="right">{'Zoom'|@translate} : </td> |
---|
33 | <td><input type="text" size="10" maxlength="3" name="zoom" id="zoom" value="{$ZOOM}" onChange="psli_AdminUpdateMap();" /></td></td> |
---|
34 | </tr> |
---|
35 | <tr> |
---|
36 | <td align="right">{'Categorie'|@translate} : </td> |
---|
37 | <td> |
---|
38 | <select name="catSelected"> |
---|
39 | {html_options options=$category_select_selected} |
---|
40 | {html_options options=$category_select} |
---|
41 | </select> |
---|
42 | </td> |
---|
43 | </tr> |
---|
44 | |
---|
45 | </table> |
---|
46 | </fieldset> |
---|
47 | |
---|
48 | <fieldset> |
---|
49 | <legend>{'PointnClick Map'|@translate}</legend> |
---|
50 | <table style="width:100%;"> |
---|
51 | <tr><td style="text-align:center;">{'Setup Helper'|@translate}</td></tr> |
---|
52 | <tr> |
---|
53 | <td> |
---|
54 | <div id='myMap' style="position:relative; text-align:center; height:400px; margin:15px; border:2px solid white"></div> |
---|
55 | <script charset="UTF-8" type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script> |
---|
56 | <script charset="UTF-8" type="text/javascript" src="{$JSPATH}"></script> |
---|
57 | <script> |
---|
58 | psli_g_BingKey = "{$KEY}"; |
---|
59 | psli_g_zoomInitial = {$ZOOM}; |
---|
60 | psli_g_MapCenter = new Microsoft.Maps.Location({$LAT}, {$LON}); |
---|
61 | |
---|
62 | psli_InitAdminSetup(); |
---|
63 | </script> |
---|
64 | </td> |
---|
65 | </tr> |
---|
66 | </table> |
---|
67 | </fieldset> |
---|
68 | <p><input type="submit" name="submit" value="{'Submit'|@translate}"></p> |
---|
69 | |
---|
70 | </form> |
---|