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.
120
1999/
04
/
23
17
:
55
:
02
per
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
121
1999/
05
/
14
00
:
56
:
14
neotron
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);
Roxen.git/server/base_server/mainconfig.pike:1131:
int nunfolded(object o) { int i; if(o = o->down) do { i+=!o->folded; } while(o=o->next); return i; }
-
object module_font = resolve_font("haru
64
"); // default font.
-
object button_font = resolve_font("haru
64
"); // default font.
+
object module_font = resolve_font("haru
32
"); // default font.
+
object button_font = resolve_font("haru
32
"); // default font.
mapping(string:object) my_colortable = ([]); mapping auto_image(string in, object id) { string key, value; array trans = ({ dR, dG, dB }); mapping r; mixed e; object i; in = charset_decode_from_url( in ); // werror("Str=%O\n", in);
-
+
if(!module_font) module_font = resolve_font(0);
+
if(!button_font) button_font = resolve_font(0);
string img_key = "auto/"+replace(in,"/","_")+".gif"-" "; if(e=file_image(encode_filename(img_key))) return e; key = (in/"/")[0]; value = (in/"/")[1..]*"/"; // werror("key=%O; value=%O\n", key,value);