Roxen.git / server / config_interface / logutil.pike

version» Context lines:

Roxen.git/server/config_interface/logutil.pike:119:    }       mapping mctx = ([    "code" : code,    "code_text" : codetext[code-1],    "links" : links,    "times" : nt ? 0 : describe_times(times),    "message" : replace(fix_err(err), "\n", "<br />\n")    ]);    -  Mustache stache = Mustache(); -  string out = stache->render(logitem_tmpl, mctx); +  string out = Roxen.render_mustache(logitem_tmpl, mctx);    -  destruct(stache); -  +     return out;       // return "<table class='logitems'><tr><td><img src=&usr.err-"+code+"; \n"    // "alt=\"" + codetext[code-1] + "\" />"    // "</td><td>" + links + (nt?"":describe_times(times)+"<br />") +    // replace(fix_err(err), "\n", "<br />\n") + "</table>";   }         // Returns ({ URL to module config page, human-readable (full) module name })