From e74ae8b0310fd4b638ff5da674ba16b47fc5f294 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 22 Apr 2012 23:58:34 +0200 Subject: [PATCH] diabook-themes: bugfix --- view/theme/diabook/admin_users.tpl | 3 +-- view/theme/diabook/diabook-aerith/admin_users.tpl | 6 +++--- view/theme/diabook/diabook-aerith/nav.tpl | 2 +- view/theme/diabook/diabook-blue/admin_users.tpl | 6 +++--- view/theme/diabook/diabook-blue/nav.tpl | 2 +- view/theme/diabook/diabook-dark/admin_users.tpl | 6 +++--- view/theme/diabook/diabook-dark/nav.tpl | 2 +- view/theme/diabook/diabook-green/admin_users.tpl | 6 +++--- view/theme/diabook/diabook-green/nav.tpl | 2 +- view/theme/diabook/diabook-pink/admin_users.tpl | 6 +++--- view/theme/diabook/diabook-pink/nav.tpl | 2 +- view/theme/diabook/diabook-red/admin_users.tpl | 6 +++--- view/theme/diabook/diabook-red/nav.tpl | 2 +- view/theme/diabook/nav.tpl | 2 +- view/theme/diabook/theme.php | 5 +++++ 15 files changed, 31 insertions(+), 27 deletions(-) diff --git a/view/theme/diabook/admin_users.tpl b/view/theme/diabook/admin_users.tpl index b465dc1b0..8aabb51ec 100644 --- a/view/theme/diabook/admin_users.tpl +++ b/view/theme/diabook/admin_users.tpl @@ -14,8 +14,7 @@

$title - $page

- - +

$h_pending

{{ if $pending }} diff --git a/view/theme/diabook/diabook-aerith/admin_users.tpl b/view/theme/diabook/diabook-aerith/admin_users.tpl index 40f94f5fe..8aabb51ec 100644 --- a/view/theme/diabook/diabook-aerith/admin_users.tpl +++ b/view/theme/diabook/diabook-aerith/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-aerith/nav.tpl b/view/theme/diabook/diabook-aerith/nav.tpl index 5f316bcdd..e3aabaa8b 100644 --- a/view/theme/diabook/diabook-aerith/nav.tpl +++ b/view/theme/diabook/diabook-aerith/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-blue/admin_users.tpl b/view/theme/diabook/diabook-blue/admin_users.tpl index 40f94f5fe..8aabb51ec 100644 --- a/view/theme/diabook/diabook-blue/admin_users.tpl +++ b/view/theme/diabook/diabook-blue/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-blue/nav.tpl b/view/theme/diabook/diabook-blue/nav.tpl index 5f316bcdd..e3aabaa8b 100644 --- a/view/theme/diabook/diabook-blue/nav.tpl +++ b/view/theme/diabook/diabook-blue/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-dark/admin_users.tpl b/view/theme/diabook/diabook-dark/admin_users.tpl index 40f94f5fe..8aabb51ec 100644 --- a/view/theme/diabook/diabook-dark/admin_users.tpl +++ b/view/theme/diabook/diabook-dark/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-dark/nav.tpl b/view/theme/diabook/diabook-dark/nav.tpl index 5f316bcdd..e3aabaa8b 100644 --- a/view/theme/diabook/diabook-dark/nav.tpl +++ b/view/theme/diabook/diabook-dark/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-green/admin_users.tpl b/view/theme/diabook/diabook-green/admin_users.tpl index 40f94f5fe..8aabb51ec 100644 --- a/view/theme/diabook/diabook-green/admin_users.tpl +++ b/view/theme/diabook/diabook-green/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-green/nav.tpl b/view/theme/diabook/diabook-green/nav.tpl index 5f316bcdd..e3aabaa8b 100644 --- a/view/theme/diabook/diabook-green/nav.tpl +++ b/view/theme/diabook/diabook-green/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-pink/admin_users.tpl b/view/theme/diabook/diabook-pink/admin_users.tpl index 40f94f5fe..8aabb51ec 100644 --- a/view/theme/diabook/diabook-pink/admin_users.tpl +++ b/view/theme/diabook/diabook-pink/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-pink/nav.tpl b/view/theme/diabook/diabook-pink/nav.tpl index 5f316bcdd..e3aabaa8b 100644 --- a/view/theme/diabook/diabook-pink/nav.tpl +++ b/view/theme/diabook/diabook-pink/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/diabook-red/admin_users.tpl b/view/theme/diabook/diabook-red/admin_users.tpl index 40f94f5fe..8aabb51ec 100644 --- a/view/theme/diabook/diabook-red/admin_users.tpl +++ b/view/theme/diabook/diabook-red/admin_users.tpl @@ -14,7 +14,7 @@

$title - $page

- +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +72,8 @@ {{ endfor }} diff --git a/view/theme/diabook/diabook-red/nav.tpl b/view/theme/diabook/diabook-red/nav.tpl index 5f316bcdd..e3aabaa8b 100644 --- a/view/theme/diabook/diabook-red/nav.tpl +++ b/view/theme/diabook/diabook-red/nav.tpl @@ -138,7 +138,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/nav.tpl b/view/theme/diabook/nav.tpl index 29a89527c..e0ffa4f7b 100644 --- a/view/theme/diabook/nav.tpl +++ b/view/theme/diabook/nav.tpl @@ -136,7 +136,7 @@ -
+
$langselector
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index dee9c2890..269015d0a 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -357,6 +357,11 @@ $(document).ready(function() { } else $(this).attr("src",ifr_source+"?"+wmode); }); + + $("a[href=#top]").click(function() { + $("html, body").animate({scrollTop:0}, "slow"); + return false; + }); });
- - + +