parsav  Diff

Differences From Artifact [97c704e199]:

To Artifact [8016afcf69]:


    70     70   	var [pages] = array([allpages])
    71     71   	var started = false
    72     72   	for i=0,[pages.type.N] do
    73     73   		if pages[i].parent == idx+1 and (pages[i].priv:sz() == 0 or 
    74     74   				(ps and pages[i].priv):sz() ~= 0) then
    75     75   			if not started then
    76     76   				started = true
    77         -				list:lpush('<ul>')
           77  +				list:lpush('<ol>')
    78     78   			end
    79         -			list:lpush('<li><a href="/doc/'):rpush(pages[i].name):lpush('">')
           79  +			list:lpush('<li><a accesskey="'):ipush(i):lpush('" href="/doc/'):rpush(pages[i].name):lpush('">')
    80     80   				:rpush(pages[i].title):lpush('</a>')
    81     81   			pushbranches(list, i, ps)
    82     82   			list:lpush('</li>')
    83     83   		end
    84     84   	end
    85         -	if started then list:lpush('</ul>') end
           85  +	if started then list:lpush('</ol>') end
    86     86   end
    87     87   
    88     88   local terra 
    89     89   render_docpage(co: &lib.srv.convo, pg: pref)
    90     90   	var nullprivs: lib.store.powerset nullprivs:clear()
    91     91   	if not pg then -- display index
    92     92   		var list: lib.str.acc list:compose('<ul>')