Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.60 1997/08/12 23:26:32 per Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.61 1997/08/12 23:47:24 peter Exp $";   inherit "roxenlib";   inherit "config/draw_things";      import Array;   import Stdio;   string status_row(object node);   string display_tabular_header(object node);      /* Work-around for Simulate.perror */   #define perror roxen_perror
Roxen.git/server/base_server/mainconfig.pike:1393:    case NODE_MODULE_COPY_VARIABLES:       case NODE_MODULE_COPY:    PUSH("<font size=\"+2\">Do you really want to delete this copy "    " of the module "+ o->up->data->name + "?\n\n<p></font>");    break;       case NODE_CONFIGURATIONS:    return stores("You don't want to do that...\n");    } -  PUSH("<blockquote><font size=\"+2\"><i>This action cannot be undone.\n\n<p></font>"+ -  TABLEP("<table>", "") +"<tr><td><form action="+ -  o->path(1)+">" +  PUSH("<blockquote><font size=\"+2\"><i>This action cannot be" +  " undone.\n\n<p></font>"+ TABLEP("<table>", "")+ +  "<tr><td><form action=\""+ o->path(1)+"\">"    "<input type=submit value=\"No, I do not want to delete it\"> " -  "</form></td><td><form action=\"/(really_delete)"+o->path(1)+ +  "</form></td><td><form action=\"/(really_delete)"+ o->path(1)+    "\"><input type=submit value=\"Go ahead\"></form></td></tr> "    "</table></blockquote>");       return stores(res*"");    break;       /* When this has been called, the node will be * _very_ deleted    * The amount of work needed to delete a node does vary    * depending on the node, since there is no 'zap' function in    * the nodes at the moment. I will probably move this code into
Roxen.git/server/base_server/mainconfig.pike:1624:    PUSH("<p>");    if(o->up != root && o->up)    PUSH("<a href=\""+ o->up->path(1)+"?"+(bar++)+"\">"    "<img src=/auto/back alt=\"[Up]\" align=left hspace=0 border=0></a>\n");       if(i=o->folded) o->folded=0;    mixed tmp = o->describe(1,id);    if(mappingp(tmp)) return tmp;    if(!id->supports->font)    tmp = parse_html(tmp, ([]),(["font":remove_font, ])); +  PUSH("<dl><dt>");    PUSH(tmp); -  +  PUSH("</dl>");    o->folded=i;    -  PUSH("</dl>"); +     PUSH("<p><br clear=all>&nbsp;\n");       int lm=1;       if(o->type == NODE_CONFIGURATIONS)    BUTTON(newconfig, "New virtual server", left);       if(o->type == NODE_CONFIGURATION)    BUTTON(addmodule, "Add module", left);   
Roxen.git/server/base_server/mainconfig.pike:1668:    if(o->changed)    BUTTON(unfoldmodified, "Unfold modified", left);       if(nfolded(o))    BUTTON(unfoldlevel, "Unfold level", left);   // else if(nfoldedr(o))   // BUTTON(unfoldall, "Unfold all", left);       if(!lm)    { -  PUSH("<img border=0 alt=\"\" hspacing=0 vspacing=0 src=\"/auto/button/rm/%20\">"); -  PUSH("</nobr><br clear=all>"); +  PUSH("<img border=0 alt=\"\" hspacing=0 vspacing=0" +  " src=\"/auto/button/rm/%20\">"); +  PUSH("<br clear=all>");    lm=1;    }       if(!more_mode)    BUTTON(morevars, "More options", left);    else    BUTTON(nomorevars, "Fewer options", left);       if((o->changed||root->changed))    BUTTON(save, "Save", left);   // BUTTON(restart, "Restart", left);   // BUTTON(shutdown,"Shutdown", left);       PUSH("<img border=0 alt=\"\" hspacing=0 vspacing=0 src=\"/auto/button/rm/%20\">"); -  PUSH("</nobr><br clear=all>"); +  PUSH("<br clear=all>");   // PUSH("<p align=right><font size=-1 color=blue><a href=\"$docurl\"><font color=blue>"+roxen->real_version +"</font></a></font></p>");   // PUSH("</table>");    PUSH("</body>\n");    return stores(res*"");   } -  -  -  -  -  +