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

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:367:      array(int|string) class_visible_normal( string c, string d, int size,    RequestID id )   {    int x;    string header = ("<tr><td colspan='2'><table width='100%' "    "cellspacing='0' border='0' cellpadding='3' "    "bgcolor='&usr.content-titlebg;'><tr><td>");       if( id->variables->unfolded == c ) { -  header+=("<a name="+Roxen.http_encode_string(c)+ -  "></a><gbutton " +  header+=("<a name='"+Roxen.html_encode_string(c)+ +  "'></a><gbutton "    "href='add_module.pike?config=&form.config;" -  "#"+Roxen.http_encode_string(c)+"' > "+ +  "#"+Roxen.http_encode_url(c)+"' > "+    LOCALE(168, "Hide")+" </gbutton>");    x=1;    }    else -  header+=("<a name="+Roxen.http_encode_string(c)+ -  "></a><gbutton " +  header+=("<a name='"+Roxen.html_encode_string(c)+ +  "'></a><gbutton "    "href='add_module.pike?config=&form.config;" -  "&unfolded="+Roxen.http_encode_string(c)+ -  "#"+Roxen.http_encode_string(c)+"' > "+ +  "&unfolded="+Roxen.http_encode_url(c)+ +  "#"+Roxen.http_encode_url(c)+"' > "+    LOCALE(267, "View")+" </gbutton>");       header+=("</td><td width='100%'>"    "<font color='&usr.content-titlefg;' size='+2'>"+c+"</font>"    "<br />"+d+"</td></tr></table></td></tr>\n");       return ({ x, header });   }      string page_normal( RequestID id, int|void noimage )
Roxen.git/server/config_interface/sites/add_module.pike:445:      array(int|string) class_visible_faster( string c, string d, int size,    RequestID id )   {    int x;    string header = ("<tr><td colspan='2'><table width='100%' cellspacing='0' "    "border='0' cellpadding='3' bgcolor='&usr.content-titlebg;'>"    "<tr><td>");       if( id->variables->unfolded == c ) { -  header+=("<a name="+Roxen.http_encode_string(c)+ -  "></a><gbutton dim='1'> "+LOCALE(267, "View")+" </gbutton>" +  header+=("<a name='"+Roxen.html_encode_string(c)+ +  "'></a><gbutton dim='1'> "+LOCALE(267, "View")+" </gbutton>"    "<tr><td><submit-gbutton> "+LOCALE(251, "Add Module")+    " </submit-gbutton></td></tr>");    x=1;    }    else -  header+=("<a name="+Roxen.http_encode_string(c)+ -  "></a><gbutton " +  header+=("<a name='"+Roxen.html_encode_string(c)+ +  "'></a><gbutton "    "href='add_module.pike?config=&form.config;" -  "&unfolded="+Roxen.http_encode_string(c)+ -  "#"+Roxen.http_encode_string(c)+"' > "+ +  "&unfolded="+Roxen.http_encode_url(c)+ +  "#"+Roxen.http_encode_url(c)+"' > "+    LOCALE(267, "View")+" </gbutton>");       header+=("</td><td width='100%'>"    "<font color='&usr.content-titlefg;' size='+2'>"+c+"</font>"    "<br />"+d+"</td></tr></table></td></tr>\n");       return ({ x, header });   }      string page_faster( RequestID id )
Roxen.git/server/config_interface/sites/add_module.pike:488:      int first;      array(int|string) class_visible_compact( string c, string d, int size,    RequestID id )   {    string res="";    if(first++)    res = "</select><br /><submit-gbutton> "+LOCALE(251, "Add Module")+    " </submit-gbutton> "; -  res += "<p><a name="+Roxen.http_encode_string(c)+ -  "></a><font size='+2'>"+c+"</font><br />"+d+"<p>" +  res += "<p><a name='"+Roxen.html_encode_string(c)+ +  "'></a><font size='+2'>"+c+"</font><br />"+d+"<p>"    "<select size='"+size+"' multiple name='module_to_add' class='add-module-select'>";    return ({ 1, res });   }      string describe_module_compact( object module, object block )   {    if(!block) {    //string modname = strip_leading (module->get_name());    string modname = module->get_name();    return "<option value='"+module->sname+"'>"+