Roxen.git / server / config_interface / logutil.pike

version» Context lines:

Roxen.git/server/config_interface/logutil.pike:99:    sscanf(reference, "%[^/]", server);    if(conf = roxen->find_configuration( server ))    links += sprintf("<a href=\"%s\">%s</a> : ",    @get_conf_url_to_virtual_server( conf, lang ));    case 1: // find_configuration(configinterface)->query_name() == realname    if(module = Roxen.get_module( reference ))    links += sprintf("<a href=\"%s\">%s</a> : ",    @get_conf_url_to_module( module, lang ));    }    -  return "<table><tr><td valign=\"top\"><imgs src=&usr.err-"+code+"; \n" +  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 })   array(string) get_conf_url_to_module(string|RoxenModule m, string|void lang)   {    // module is either a RoxenModule object or a string as returned by    // get_modname(some RoxenModule), eg "ConfigInterface/piketag#0"    RoxenModule module = stringp(m) ? Roxen.get_module(m) : m;    Configuration conf = module->my_configuration();    string url_modname = replace(conf->otomod[module], "#", "!"),    url_confname = conf->name;    -  return ({ sprintf("/sites/site.html/%s/-!-/%s/?section=Information", +  return ({ sprintf("/sites/site.html/%s/-!-/%s/?section=Information&amp;&usr.set-wiz-id;",    Roxen.http_encode_url(url_confname),    Roxen.http_encode_url(url_modname)),    Roxen.html_encode_string(Roxen.get_modfullname(module)) });   }      // Returns ({ URL to virtual server config page, virtual server name })   array(string) get_conf_url_to_virtual_server(string|Configuration conf,    string|void lang)   {    // conf is either a conf object or the configuration's real name,