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

version» Context lines:

Roxen.git/server/config_interface/actions/request_profiling.pike:1:   /* -  * $Id: request_profiling.pike,v 1.4 2004/05/25 16:31:05 anders Exp $ +  * $Id$    */   #include <stat.h>   #include <roxen.h>   //<locale-token project="admin_tasks">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("admin_tasks",X,Y)      constant action = "debug_info";      LocaleString name= LOCALE(181,"Request profiling information");   LocaleString doc = LOCALE(182,"Show some information about how how much time "
Roxen.git/server/config_interface/actions/request_profiling.pike:69:   {    string ret =    "<font size='+1'><b>"+    LOCALE(181,"Request profiling information")+    "</b></font><p />\n";    if (roxen->configurations[0]->profile_map) {    ret +=    LOCALE(183,"All times are in microseconds.") + "<br />\n"    "<p />"    "<input type='hidden' name='action' value='request_profiling.pike' />\n" -  "<p /><submit-gbutton2 name='refresh' width='75' align='center'>" + +  "<p /><submit-gbutton2 name='refresh' width='75' align='center' img-align='middle'>" +    LOCALE(186, "Refresh") +    "</submit-gbutton2>\n" -  "<submit-gbutton2 name='reset' width='75' align='center'>" + +  "<submit-gbutton2 name='reset' width='75' align='center' img-align='middle'>" +    LOCALE(187,"Reset") +    "</submit-gbutton2>\n" -  "<cf-cancel href='?class=&form.class;'/>\n" +  "<cf-cancel href='?class=&form.class;&amp;&usr.set-wiz-id;'/>\n"    "<p />\n" +    page_0( id );    } else {    ret +=    "<p />\n"    "<font color='&usr.warncolor;'>" +    LOCALE(184,"NOTE: This information is only available if the "    "server has been stared with <tt>-DPROFILE</tt>.") +    "</font>"    "<p />\n" -  "<cf-ok-button href='?class=&form.class;'/>"; +  "<cf-ok-button href='?class=&form.class;&amp;&usr.set-wiz-id;'/>";    }    return ret;   }