Branch: Tag:

2003-01-15

2003-01-15 16:53:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few type-errors.

Rev: server/config_interface/boxes/articles.pike:1.9
Rev: server/config_interface/boxes/crunch.pike:1.11
Rev: server/config_interface/boxes/doclinks.pike:1.20
Rev: server/config_interface/boxes/megatokyo.pike:1.8
Rev: server/config_interface/boxes/ris_news.pike:1.10
Rev: server/config_interface/boxes/server_status.pike:1.6
Rev: server/config_interface/boxes/welcome.pike:1.6

7:   constant box = "large";   constant box_initial = 1;    - String box_name = _(367,"Server status"); - String box_doc = _(368,"Various global server statistics"); + LocaleString box_name = _(367,"Server status"); + LocaleString box_doc = _(368,"Various global server statistics");      string add_row( string item, string value ) {    return "<tr><td>" + item + ":</td><td>" + value + "</td></tr>";
23:    contents += add_row( _(370, "Server uptime"),    Roxen.msectos( dt*1000 ));    array ru; + #pike 7.4    if(!catch(ru=rusage())) { -  + #pike __REAL_VERSION__    int tmp;    if(ru[0])    tmp = ru[0]/(time() - roxen->start_time+1);