aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php2
-rw-r--r--themes/default/template/menubar_identification.tpl14
-rw-r--r--themes/default/theme.css6
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}
<div>
- <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
+ <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
<input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
- <ul class="categoryActions">
+ <span class="categoryActions">
{if isset($U_REGISTER)}
- <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" class="pwg-state-default pwg-button">
+ <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" class="pwg-state-default pwg-button">
<span class="pwg-icon pwg-icon-register">&nbsp;</span>
- </a></li>
+ </a>
{/if}
- <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
+ <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
<span class="pwg-icon pwg-icon-lost-password">&nbsp;</span>
- </a></li>
- </ul>
+ </a>
+ </span>
</div>
</fieldset>
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*/
}