aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/js/rating.js1
-rw-r--r--themes/default/js/scripts.js32
-rw-r--r--themes/default/print.css4
3 files changed, 3 insertions, 34 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js
index 0e3006ec2..f0f838c72 100644
--- a/themes/default/js/rating.js
+++ b/themes/default/js/rating.js
@@ -82,7 +82,6 @@ function updateRating(e)
{
var t = gRatingOptions.ratingSummaryText;
var args =[result.average, result.count], idx = 0, rexp = new RegExp( /%\.?\d*[sdf]/ );
- //_xxx = t.match( rexp );
while (idx<args.length) t=t.replace(rexp, args[idx++]);
gRatingOptions.ratingSummaryElement.innerHTML = t;
}
diff --git a/themes/default/js/scripts.js b/themes/default/js/scripts.js
index 638fccbcf..0447d4c93 100644
--- a/themes/default/js/scripts.js
+++ b/themes/default/js/scripts.js
@@ -1,33 +1,3 @@
-function SelectAll( formulaire )
-{
-var elts = formulaire.elements;
-for(var i=0; i <elts.length; i++)
-{
- if (elts[i].type=='checkbox')
- elts[i].checked = true;
-}
-}
-
-function DeselectAll( formulaire )
-{
-var elts = formulaire.elements;
-for(var i=0; i <elts.length; i++)
-{
- if (elts[i].type=='checkbox')
- elts[i].checked = false;
-}
-}
-
-function Inverser( formulaire )
-{
-var elts = formulaire.elements;
-for(var i=0; i <elts.length; i++)
-{
- if (elts[i].type=='checkbox')
- elts[i].checked = !elts[i].checked;
-}
-}
-
function phpWGOpenWindow(theURL,winName,features)
{
img = new Image();
@@ -62,7 +32,7 @@ function PwgWS(urlRoot)
this.urlRoot = urlRoot;
this.options = {
method: "GET",
- async: true,
+ async: true,
onFailure: null,
onSuccess: null
};
diff --git a/themes/default/print.css b/themes/default/print.css
index 52707ae35..f966d6cfc 100644
--- a/themes/default/print.css
+++ b/themes/default/print.css
@@ -9,6 +9,6 @@ BODY {
background: #fff;
}
-.content {
- margin: 0;
+BODY#theCategoryPage .content {
+ margin: 0 !important;
}