## This file is subject to the terms and conditions defined in ## file 'LICENSE', which is part of this source code package. ## Copyright (c) 2009 SKR Farms (P) LTD. <%inherit file="/base/basic1.html"/> <%namespace name="elements" file="/component/elements.html"/> <%! page_tooltips = [ [ 'Help', """If enabled in site-admin -> site-config, watch yourself and your friends in googlemap""" ], [ 'Users', """List of all registered users and their summary""" ], [ 'Timeline', """Timeline of users activity""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Users on google map" users = '
' +\ ( 'Users
' % h.url_usershome ) charts = capture( elements.iconlink, h.url_userscharts, 'barchart', title="Analytics on users" ) tline = capture( elements.iconlink, h.url_usertline, 'timeline', title="Timeline" ) %> ${elements.pagebar( pagebartext, [ users, ], rspans=[ charts, tline ], tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif
want to see users in google maps ? Enable `googlemaps` in site-admin->siteConfig
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif <%def name="bd_script()"> ${parent.bd_script()} % if c.googlemaps : % endif