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

version» Context lines:

Roxen.git/server/config_interface/sites/site_header.pike:18:    RXML.get_var( "moduletab", "usr" );       RXML.set_var( "lastmlmode", section, "usr" );    RXML.set_var( "section", section, "form" );       return   #"<emit source='module-variables-sections'    configuration='"+conf+#"'    module='"+module+#"'>    <tab ::='&_.first; &_.last; &_.selected;' -  href='?section=&_.section:http;'>&_.sectionname;</tab> +  href='?section=&_.section:http;&amp;&usr.set-wiz-id;'>&_.sectionname;</tab>   </emit>";   }         mixed parse( RequestID id )   {    array path = ((id->misc->path_info||"")/"/")-({""});       if( id->real_variables->section )    id->variables->section=id->real_variables->section[0];
Roxen.git/server/config_interface/sites/site_header.pike:42:       Configuration conf = roxen->find_configuration( path[0] );    if( !conf->inited )    conf->enable_all_modules();    id->misc->current_configuration = conf;    switch( sizeof(path)<3? "settings" : path[ 1 ] )    {    case "settings":    return    Roxen.http_string_answer( -  "<emit source='config-variables-sections' add-module-priorities='1' add-status='1' " +  "<emit source='config-variables-sections' " + +  ((conf != id->conf)?"add-module-priorities='1' ":"") + +  " add-status='1' "    " configuration='"+path[0]+"'>\n"    " <tab ::='&_.first; &_.last; &_.selected;'\n" -  " href='?section=&_.section:http;'>&_.sectionname;</tab>" +  " href='?section=&_.section:http;&amp;&usr.set-wiz-id;'>&_.sectionname;</tab>"    "</emit>");    break;       default:    return Roxen.http_string_answer( module_page( id, path[0], path[2] ));    }   }