## 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 = [ [ 'TagCloud', """List of all tags, font size corresponding the to number of tagged items""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Tag Cloud" tline = capture( elements.iconlink, h.url_tagtimeline, 'timeline', title="Timeline" ) pbar_spans = [ ' ' * 3 ] rspans = [ tline ] %> ${elements.pagebar( pagebartext, spans=pbar_spans, rspans=rspans, tooltips=page_tooltips )}
% if c.userpanes :
% else :
% endif

Special tags

% for tagname in c.specialtags : <% weight = c.tagpercentile.pop(tagname); %> ${tagname} % endfor

Normal tags

<% tagnames = sorted(c.tagpercentile.keys()) %> % for tagname in tagnames : ${tagname} % endfor
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}