parsav  Diff

Differences From Artifact [7b79f9904c]:

To Artifact [9774faf032]:


     4      4   	var ti: lib.str.acc 
     5      5   	if co.aid ~= 0 and co.who.id == actor.id then
     6      6   		ti:compose('my profile')
     7      7   	else
     8      8   		ti:compose('profile :: ', actor.handle)
     9      9   	end
    10     10   	var pftxt = lib.render.profile(co,actor) defer pftxt:free()
    11         -
    12         -	var doc = data.view.docskel {
    13         -		instance = co.srv.cfg.instance;
    14         -		title = ti:finalize();
    15         -		body = pftxt;
           11  +	var tiptr = ti:finalize()
           12  +	co:stdpage([lib.srv.convo.page] {
           13  +		title = tiptr; body = pftxt;
    16     14   		class = lib.str.plit 'profile';
    17         -		navlinks = co.navbar;
    18         -	}
           15  +	})
    19     16   
    20         -	var hdrs = array(
    21         -		lib.http.header { 'Content-Type', 'text/html; charset=UTF-8' }
    22         -	)
    23         -	doc:send(co.con,200,[lib.mem.ptr(lib.http.header)] {ct = 1, ptr = &hdrs[0]})
    24         -	doc.title:free()
           17  +	tiptr:free()
    25     18   end
    26     19   
    27     20   return render_userpage