From: tommy tomson Date: Sun, 22 Apr 2012 21:58:34 +0000 (+0200) Subject: diabook-themes: bugfix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e74ae8b0310fd4b638ff5da674ba16b47fc5f294;p=friendica.git diabook-themes: bugfix --- diff --git a/view/theme/diabook/admin_users.tpl b/view/theme/diabook/admin_users.tpl index b465dc1b08..8aabb51ec9 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 40f94f5fef..8aabb51ec9 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 5f316bcdd4..e3aabaa8b7 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 40f94f5fef..8aabb51ec9 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 5f316bcdd4..e3aabaa8b7 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 40f94f5fef..8aabb51ec9 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 5f316bcdd4..e3aabaa8b7 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 40f94f5fef..8aabb51ec9 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 5f316bcdd4..e3aabaa8b7 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 40f94f5fef..8aabb51ec9 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 5f316bcdd4..e3aabaa8b7 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 40f94f5fef..8aabb51ec9 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 5f316bcdd4..e3aabaa8b7 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 29a89527c5..e0ffa4f7b0 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 dee9c28901..269015d0a3 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; + }); });
- - + +