Branch: Tag:

2004-10-11

2004-10-11 19:06:02 by Martin Stjernholm <mast@lysator.liu.se>

Eradicated Roxen.http_encode_string and fixed some other quoting bugs.

Rev: server/base_server/configuration.pike:1.585
Rev: server/base_server/roxen.pike:1.884
Rev: server/config_interface/actions/make_site_template.pike:1.9
Rev: server/config_interface/dbs/browser.pike:1.48
Rev: server/config_interface/dbs/db_matrix.pike:1.23
Rev: server/config_interface/dbs/new_group.pike:1.8
Rev: server/config_interface/logutil.pike:1.17
Rev: server/config_interface/sites/add_module.pike:1.77
Rev: server/config_interface/sites/config_left_item.pike:1.68
Rev: server/config_interface/sites/site_content.pike:1.141
Rev: server/etc/modules/Roxen.pmod:1.191
Rev: server/modules/compat/compat.pike:1.71
Rev: server/modules/compat/flik.pike:1.8
Rev: server/modules/compat/secure_fs.pike:1.30
Rev: server/modules/configuration/config_tags.pike:1.186
Rev: server/modules/filters/hostredirect.pike:1.27
Rev: server/modules/filters/redirect.pike:1.37
Rev: server/modules/logging/roxen_network.pike:1.14
Rev: server/modules/misc/ismap.pike:1.21
Rev: server/modules/misc/preferred_language.pike:1.28
Rev: server/protocols/prot_hilfe.pike:2.12

374:    "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%'>"
452:    "<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%'>"
495:    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 });   }