Roxen.git
/
server
/
config_interface
/
sites
/
add_module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/config_interface/sites/add_module.pike:1:
-
// $Id: add_module.pike,v 1.
85
2006/
05
/
31
15:
32:56
mast
Exp $
+
// $Id: add_module.pike,v 1.
86
2006/
07
/
25
11:
15:
27
anders
Exp $
#include <config_interface.h> #include <module.h> #include <module_constants.h> #include <roxen.h> int no_reload() { if( sizeof( already_added ) ) return 1; // Reloading this script now would destroy state.
Roxen.git/server/config_interface/sites/add_module.pike:241:
string trim_name( string what ) { array q = (what / "/"); return q[sizeof(q)-2..]*"/"; }; #define RELOAD(X) sprintf("<gbutton " \ "img-align='middle' " \ "href='add_module.pike?config=&form.config:http;" \
+
"&method=&form.method;" \
"&random=%d&only=%s&reload_module_list=yes" \ "#errors_and_warnings'> %s </gbutton>", \ random(4711111), \ (X), \ LOCALE(253, "Reload")) if( !header_added++ ) da_string += "<p><a name='errors_and_warnings'></a><br />" "<font size='+2'><b><font color='&usr.warncolor;'>"