Roxen.git/
server/
config_interface/
actions/
debug_summary.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-05-29
2017-05-29 12:26:57 by Pontus Östlund <ponost@roxen.com>
2b73eda64fd52646b07339c6a730064be1cdec9d (
64
lines) (+
36
/-
28
)
[
Show
|
Annotate
]
Branch:
ponost/admin-if-17
Plenty
4:
#include <stat.h> #include <roxen.h> //<locale-token project="admin_tasks">LOCALE</locale-token>
-
#define LOCALE(X,Y) _DEF_LOCALE("admin_tasks",X,Y)
+
#define LOCALE(X,Y) _DEF_LOCALE("admin_tasks",X,Y)
constant action = "debug_info";
198:
return ret; }
-
res = "<
font size='+1'
>
<b>
"+LOCALE(163,"Debug summary")+"</
b
>
</font>\n<p />
";
-
res += "<link-gbutton href='debug_summary.pike?download=summary&&usr.set-wiz-id;'>"
+LOCALE
(41,"Download")+
+
res = "<
cf-title
>"+LOCALE(163,"Debug summary")+"</
cf-title
>";
+
res += "<link-gbutton href='debug_summary.pike?download=summary&&usr.set-wiz-id;'>"
+
+
LOCALE
(41,"Download")
+
"</link-gbutton>";
-
if (file_stat(debuglog))
+
+
if (file_stat(debuglog))
{
res += "<link-gbutton href='debug_summary.pike?download=debuglog&&usr.set-wiz-id;'>"+ LOCALE(153,"Download Debug Log")+ "</link-gbutton>";
-
+
}
-
res += "<pre>"
+Roxen
.html_encode_string(make_summary())+"</
pre
>"
-
"<br />
<br />
"
+
res +=
+
"<
hr class='section'>"
+
"<div class='scrollable
pre
margin-top'
>"
+
+
Roxen
.html_encode_string(make_summary())+
+
"</
div
>"
+
"<br />"
"<cf-ok/>"; return res; }