From c296ca98df7745b5a7ca5bf9cd5612972f5d8e81 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 1 Jan 2011 20:30:39 +0000 Subject: - fix quick connect right margin (recent css simplification impact) - index.php wrong nav bar generation under some plugin cases - css sprites in the quick connect are simpler and more compact git-svn-id: http://piwigo.org/svn/trunk@8432 68402e56-0260-453c-a942-63ccdbb3a9ee --- index.php | 2 +- themes/default/template/menubar_identification.tpl | 14 +++++++------- themes/default/theme.css | 6 +----- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/index.php b/index.php index f4b4ebb02..f253ac120 100644 --- a/index.php +++ b/index.php @@ -63,7 +63,7 @@ if (isset($_GET['image_order'])) //-------------------------------------------------------------- initialization $page['navigation_bar'] = array(); -if (count($page['items']) > $user['nb_image_page']) +if (count($page['items']) > $page['nb_image_page']) { $page['navigation_bar'] = create_navigation_bar( duplicate_index_url(array(), array('start')), diff --git a/themes/default/template/menubar_identification.tpl b/themes/default/template/menubar_identification.tpl index 7591e7f60..0f6591508 100644 --- a/themes/default/template/menubar_identification.tpl +++ b/themes/default/template/menubar_identification.tpl @@ -48,18 +48,18 @@ {/if}
- + - + +
diff --git a/themes/default/theme.css b/themes/default/theme.css index 6bfcc4daa..2de359b4f 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -64,13 +64,9 @@ } /* quickconnect form */ -#quickconnect { - margin: 5px; - padding: 0; -} #quickconnect FIELDSET { - margin: 0; + margin: 0 5px 0 0; padding: 0; /*IE6 requires padding 0*/ } -- cgit v1.2.3