Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 83 lines (67 sloc) 2.062 kb
118bb97 Leo Lapworth Start switching over to new map and list style
ranguard authored
1 [%
2 title = name _ " (" _ location _ ") Perl Mongers" | html_entity;
3 subtitle = name;
4 WRAPPER layout
5 title = title,
6 hide_masthead=1,
7 map_page=1
8cd164e Some pages (e.g. NY.pm 0.html) way too noisy. So invented subtitle.
jhannah authored
8 %]
c95990b Initial revision
leon authored
9
dcf9ad8 add code to show groups it a more specific map using javascript
gabor authored
10 <script type="text/javascript">
11
118bb97 Leo Lapworth Start switching over to new map and list style
ranguard authored
12 function initialize() {
2ddc306 Leo Lapworth Fix if no lat/lon
ranguard authored
13 [% IF latitude && longitude %]
118bb97 Leo Lapworth Start switching over to new map and list style
ranguard authored
14 var mapOptions = {
15 center: new google.maps.LatLng( [% latitude %], [% longitude %]), // show the most pins possible
16 zoom: [% zoom %],
17 mapTypeId: google.maps.MapTypeId.ROADMAP
18 };
19 PM.map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
20
21 $.ajax({
22 url: 'perl_mongers.json',
23 dataType: 'json',
24 success: processMapXML,
25 });
2ddc306 Leo Lapworth Fix if no lat/lon
ranguard authored
26 [% END %]
118bb97 Leo Lapworth Start switching over to new map and list style
ranguard authored
27 }
28 </script>
2ddc306 Leo Lapworth Fix if no lat/lon
ranguard authored
29 [% UNLESS latitude && longitude %]
30 <style type="text/css" media="screen">
31 #map_canvas {
32 height: 10px;
33 }
34 </style>
35 [% END %]
118bb97 Leo Lapworth Start switching over to new map and list style
ranguard authored
36
2ddc306 Leo Lapworth Fix if no lat/lon
ranguard authored
37 <div id="map_canvas"></div>
118bb97 Leo Lapworth Start switching over to new map and list style
ranguard authored
38
39 <p style="clear:both; height: 50px">&nbsp;</p>
dcf9ad8 add code to show groups it a more specific map using javascript
gabor authored
40
90d8551 Cleaned up group world map output
leon authored
41 [% IF web %]
66e9382 include link from individual group pages to continent
gabor authored
42 <b><a href="[% web %]">[% name | html_entity %]</a></b> ([% linked_location %])<br>
90d8551 Cleaned up group world map output
leon authored
43 [% ELSE %]
8d6bccc Leo Lapworth Sort out the group pages (also don't need to zoom in quite so much)
ranguard authored
44 <b>[% name | html_entity %]</b> ([% linked_location %])<br>
90d8551 Cleaned up group world map output
leon authored
45 [% END %]
c95990b Initial revision
leon authored
46
8d6bccc Leo Lapworth Sort out the group pages (also don't need to zoom in quite so much)
ranguard authored
47 <p>
506c002 allow multiple tsars in the xml processing code
gabor authored
48 [% FOREACH t IN tsar %]
49 [% t.name | html_entity %] &lt;[% t.mail %]&gt;<br>
50 [% END %]
8d6bccc Leo Lapworth Sort out the group pages (also don't need to zoom in quite so much)
ranguard authored
51 </p>
f22a551 in preparation to add more details to the individual pm.org web sites
gabor authored
52 <!--
53 [% IF mailing_list %]
54 [% mailing_list.name %]
55 [% END %]
56 -->
57
7537d69 Gabor Szabo Experimental: add social networks
szabgab authored
58 [% IF linkedin %]
59 <a href="[% linkedin %]"><img src="/images/linkedin_32.png" alt="LinkedIN of [% name %]" /></a>
60 [% END %]
61
62 [% IF googleplus %]
63 <a href="[% googleplus %]"><img src="/images/gplus-32.png" alt="Google Plus page of [% name %]"/></a>
64 [% END %]
65
66 [% IF facebook %]
67 <a href="[% facebook %]"><img src="/images/facebook32.png" alt="Facebook page of [% name %]"/></a>
68 [% END %]
69
70 [% IF twitter %]
71 <a href="[% twitter %]"><img src="/images/twitter32.png" alt="Twitter of [% name %]"/></a>
72 [% END %]
73
474f762 Gabor Szabo add meetup to NY.pm
szabgab authored
74 [% IF meetup %]
75 <a href="[% meetup %]"><img src="/images/meetup.png" alt="Meetup of [% name %]"/></a>
76 [% END %]
77
7537d69 Gabor Szabo Experimental: add social networks
szabgab authored
78
8d6bccc Leo Lapworth Sort out the group pages (also don't need to zoom in quite so much)
ranguard authored
79 <p>Is this group's latitude/longitude data wrong or missing? Please contact the
83e9094 Leo Lapworth Remove links to json/xml - should be listed in the FAQ
ranguard authored
80 group leader (above), and they can submit new coordinates to us.</p>
8d6bccc Leo Lapworth Sort out the group pages (also don't need to zoom in quite so much)
ranguard authored
81
82 [% END %]
Something went wrong with that request. Please try again.