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

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:337:   }      array(int|string) class_visible_normal( string c, string d, 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+=("<gbutton " +  header+=("<a name="+Roxen.http_encode_string(c)+ +  "></a><gbutton "    "href='add_module.pike?config=&form.config;"    "#"+Roxen.http_encode_string(c)+"' > "+    LOCALE(168, "Hide")+" </gbutton>");    x=1;    }    else -  header+=("<gbutton " +  header+=("<a name="+Roxen.http_encode_string(c)+ +  "></a><gbutton "    "href='add_module.pike?config=&form.config;"    "&unfolded="+Roxen.http_encode_string(c)+    "#"+Roxen.http_encode_string(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 });
Roxen.git/server/config_interface/sites/add_module.pike:417:    "<tr><td>");       if( id->variables->unfolded == c ) {    header+=("<a name="+Roxen.http_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+=("<gbutton " +  header+=("<a name="+Roxen.http_encode_string(c)+ +  "></a><gbutton "    "href='add_module.pike?config=&form.config;"    "&unfolded="+Roxen.http_encode_string(c)+    "#"+Roxen.http_encode_string(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 });
Roxen.git/server/config_interface/sites/add_module.pike:450:    return page_base( id, content );   }      int first;      array(int|string) class_visible_compact( string c, string d, RequestID id )   {    string res="";    if(first++)    res = "</select><br /><submit-gbutton> "+LOCALE(251, "Add Module")+" </submit-gbutton> "; -  res += "<p><font size='+2'>"+c+"</font><br />"+d+"<p><select multiple name='module_to_add'>"; +  res += "<p><a name="+Roxen.http_encode_string(c)+ +  "></a><font size='+2'>"+c+"</font><br />"+d+"<p><select multiple name='module_to_add'>";    return ({ 1, res });   }      string describe_module_compact( object module, object block )   {    if(!block) {    string modname = strip_leading (module->get_name());    return "<option value='"+module->sname+"'>"+    Roxen.html_encode_string(    modname + "\0240" * max (0, (int) ((40 - sizeof (modname)) * 1.4)) +