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

version» Context lines:

Roxen.git/server/config_interface/sites/drop_site.pike:7:      void get_dead( string cfg, int del )   {   };      string|mapping parse( RequestID id )   {    if( !config_perm( "Create Site" ) )    return LOCALE(226, "Permission denied");    +  if (!id->variables->site) +  return Roxen.http_redirect( "/sites/", id ); +     Configuration cf = roxen->find_configuration( id->variables->site );    if( !cf )    return "No such configuration: "+id->variables->site;       if( !id->variables["really.x"] )    {    string res =    "<use file='/template' />\n"    "<tmpl title=' "+ LOCALE(249,"Drop old site") +"'>"    "<topmenu base='&cf.num-dotdots;' selected='sites'/>\n"