Roxen.git
/
server
/
base_server
/
mainconfig.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/mainconfig.pike:1:
inherit "config/builders";
-
string cvs_version = "$Id: mainconfig.pike,v 1.
81
1997/10/
16
12
:
16
:
24
per
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
82
1997/10/
18
20
:
53
:
20
grubba
Exp $";
//inherit "roxenlib"; inherit "config/draw_things"; import Array; import Stdio; string status_row(object node); string display_tabular_header(object node); object get_template(string t); /* Work-around for Simulate.perror */
Roxen.git/server/base_server/mainconfig.pike:1185:
string status_row(object node) { return ("<table width=\"100%\" border=0 cellpadding=0" " cellspacing=0>\n" "<tr><td valign=bottom align=left><a href=\"$docurl"+ node->path(1)+"\">" "<img border=0 src=\"/image/roxen-icon-gray.gif\" alt=\"\"></a>" "</td>\n<td> </td><td width=100% height=39>" "<table cellpadding=0 cellspacing=0 width=100% border=0>\n" "<tr width=\"100%\">\n"
-
"<td width=\"
1000
%\" align=right valigh=center height=28>"
+
"<td width=\"
100
%\" align=right valigh=center height=28>"
+describe_node_path(node)+"</td>" "</tr><tr width=\"100%\">" "<td bgcolor=\"#003366\" align=right height=12 width=\"100%\">" "<font color=white size=-2>Administration Interface</font>"
-
"</td></table>"
-
"\n<
td> <
/
td></
tr>\n</table><br>");
+
"</td></
tr></
table>
</td>
"
+
"\n</tr>\n</table><br>");
} mapping logged = ([ ]); void check_login(object id) { if(logged[id->remoteaddr] + 1000 < time()) { report_notice("Administrator logged on from " + roxen->blocking_ip_to_host(id->remoteaddr) + "."); }