function loadStylesheet()
{
- top.result.location.replace(getUwoboURL() + "add?xsluri=" + getStylesheetURL() + "&key=" + document.stylesheetKey.elements[0].value);
+ top.result.location.replace(getUwoboURL() + "add?bind=" + document.stylesheetKey.elements[0].value + "," + getStylesheetURL());
}
function removeStylesheet()
{
- top.result.location.replace(getUwoboURL() + "remove?key=" + document.stylesheetKey.elements[0].value);
+ top.result.location.replace(getUwoboURL() + "remove?keys=" + document.stylesheetKey.elements[0].value);
}
function removeAllStylesheets()
function reloadStylesheet()
{
- top.result.location.replace(getUwoboURL() + "reload?key=" + document.stylesheetKey.elements[0].value);
+ top.result.location.replace(getUwoboURL() + "reload?keys=" + document.stylesheetKey.elements[0].value);
}
function loadAllPredefined()
{
with (document.predefinedStylesheets.elements[0]) {
var i;
+ var request = "dummy=0";
for (i = 1; i < length; i++)
- open(getUwoboURL() +
- "add?xsluri=" + escape((getPredefinedStylesheetUseGetter(i) == "true" ? (getGetterURL() + "getxslt?uri=") : "") + getPredefinedStylesheetURI(i)) +
- "&key=" + getPredefinedStylesheetKey(i),
- getPredefinedStylesheetKey(i),
- "toolbar=0,location=0,directories=0,status=0,menubar=0,width=400,height=200");
+ request +=
+ "&bind=" + getPredefinedStylesheetKey(i) + "," + escape((getPredefinedStylesheetUseGetter(i) == "true" ? (getGetterURL() + "getxslt?uri=") : "") + getPredefinedStylesheetURI(i));
+ top.result.location.replace(getUwoboURL() + "add?" + request);
}
}
{
with (document.predefinedStylesheets.elements[0]) {
var i;
+ var request = "";
for (i = 1; i < length; i++)
- open(getUwoboURL() + "remove?key=" + getPredefinedStylesheetKey(i),
- getPredefinedStylesheetKey(i),
- "toolbar=0,location=0,directories=0,status=0,menubar=0,width=400,height=200");
+ request += getPredefinedStylesheetKey(i) + ",";
+ top.result.location.replace(getUwoboURL() + "remove?keys=" + request);
}
}