Roxen.git / server / config_interface / actions / proc.pike

version» Context lines:

Roxen.git/server/config_interface/actions/proc.pike:1:   /* -  * $Id: proc.pike,v 1.9 2001/11/12 17:51:55 mast Exp $ +  * $Id$    */      inherit "wizard";   #include <roxen.h>   //<locale-token project="admin_tasks">LOCALE</locale-token>   #define LOCALE(X,Y) _STR_LOCALE("admin_tasks",X,Y)      constant action="status";      string name= LOCALE(63, "Extended process status");
Roxen.git/server/config_interface/actions/proc.pike:84:   string format_proc_line(string in, int ipid)   {    string pre;    int pid;    sscanf(in, "%*s%d%*s", pid);    sscanf(in,"%[ ]%s",pre,in);    pre=replace(pre," "," |");    if(strlen(pre))pre=" "+pre[1..];    if(search(in,"/proc/")==-1)    return (pre+ -  "<a href=?class=&form.class;&action=proc.pike&pid="+pid+"&unique="+time()+">"+ +  "<a href='?class=&amp;form.class;&amp;action=proc.pike&amp;pid="+pid+"&amp;unique="+time()+"&amp;&usr.set-wiz-id;'>"+    (ipid==pid?"<b>":"")+    html_encode_string(in)+    (ipid==pid?"</b>":"")+    "</a>\n");    return "";   }      #if !constant(getpwuid)   array(string) getpwuid(int uid) { return ({ (string)uid }); }   #endif