Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
75 lines (58 sloc) 2.02 KB
[% WRAPPER layout
title = "Perl Mongers: User groups",
hide_masthead=1,
map_page=1
%]
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps.LatLng( 15, 0), // show the most pins possible
zoom: 2,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
PM.map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
$.ajax({
url: 'perl_mongers.json',
dataType: 'json',
success: processMapXML,
});
}
</script>
<div id="map_canvas"></div>
<p style="clear:both; height: 50px">&nbsp;</p>
<p>
View a continent:
[% link_to("/groups/africa.html", "Africa") %],
[% link_to("/groups/asia.html", "Asia") %],
[% link_to("/groups/central_america.html", "Central America") %],
[% link_to("/groups/europe.html", "Europe") %],
[% link_to("/groups/north_america.html", "North America") %],
[% link_to("/groups/oceania.html", "Oceania") %],
[% link_to("/groups/south_america.html", "South America") %].
<p>
The canonical source for the Perl Mongers groups is an
<a href="https://github.com/perlorg/www.pm.org/blob/master/perl_mongers.xml">XML file</a> with
<a href="https://github.com/perlorg/www.pm.org/blob/master/perl_mongers.dtd">DTD</a>.
<h2>All the active groups</h2>
[% all = allgroups.values.sort('name') %]
<ol class="details">
[% USE table(all, cols=3) %]
[% FOREACH col = [0,1,2] %]
<li id="d[% col + 1 %]">
<ul>
[% FOREACH group = table.col(col) %]
<li><a href="[% group.id %].html">[% group.name | html_entity %]</a></li>
[% END %]
</ul>
</li>
[% END %]
</ol>
<p style="clear:both;">
Total number of groups is [% allgroupsnum %]
</p>
<p>Is your local group's latitude/longitude data wrong or missing? Please contact your
group leader, and they can submit new coordinates to us. (This map is only as good as
<a href="https://github.com/perlorg/www.pm.org/blob/master/perl_mongers.xml">our data</a>.
<a href="http://www.pm.org/groups/perl_mongers.json">Generated JSON</a>)
</p>
[% END %]
Something went wrong with that request. Please try again.