Roxen.git / server / config_interface / sites / add_module.pike

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:669:    }    remove_call_out( roxen.really_save_it );    }       [string cf_form, int num] = initial_form( id, conf, modules );    if( !num || id->variables["ok.x"] )    {    // set initial variables from form variables...    if( num ) Roxen.parse_rxml( cf_form, id );    foreach( modules, string mod ) -  conf->call_start_callbacks( conf->find_module( replace(mod,"!","#") ), -  roxen.find_module( (mod/"!")[0] ), -  conf->modules[ mod ] ); +  conf->call_high_start_callbacks( conf->find_module( replace(mod,"!","#") ), +  roxen.find_module( (mod/"!")[0] ) );    already_added = ([ ]);    conf->save( ); // save it all in one go    conf->forcibly_added = ([]);    return Roxen.http_redirect(    site_url(id,conf->name)+"-!-/"+modules[-1]+"/" ,    id);    }    return page_base(id,"<table>"+    map( modules, lambda( string q ) {    return "<input type='hidden' "