Roxen.git / server / config_interface / actions / listfonts.pike

version» Context lines:

Roxen.git/server/config_interface/actions/listfonts.pike:55:    if (mapping m = info[fn]) {    data->do_info = true;       foreach( sort( indices( m ) - ({"name","versions"}) ), string i ) {    if (intp(m[i]) || (stringp(m[i]) && sizeof(m[i]))) {    data->info += ({ ([ "key" : i, "value" : (string)m[i] ]) });    }    }    }    -  Mustache m = Mustache(); -  string res = m->render(tmpl, data); -  destruct(m); -  return res; +  return Roxen.render_mustache(tmpl, data);   }      string font_loaders( )   {    string res ="";    foreach( roxen.fonts.font_handlers, FontHandler fl )    {    int nf = sizeof( fl->available_fonts() );    res += "<dl><dt>"+fl->name+" ("+nf    +" font"+(nf==1?"":"s")+")</dt>"