Fix layout issues.
[platal.git] / templates / include / plview.multipage.tpl
index a7ca6f4..edd3313 100644 (file)
@@ -22,8 +22,8 @@
 
 {capture name=pages}
 {if $plview->pages > 1}
-<div class="center pages">
-  {if $show_bounds}<small><strong>[{$first} - {$last}]&nbsp;</strong></small>{/if}
+  {if $show_bounds}<div style="float: right"><small><strong>[{$first} - {$last}]&nbsp;</strong></small></div>{/if}
+<div class="center pages" style="float: left">
   {if $plview->page neq 1}
   <a href="{$platal->pl_self()}{$plset_search}order={$order}&amp;page=1#pl_set_top">{icon name=resultset_first title="Première page"}</a>{*
   *}<a href="{$platal->pl_self()}{$plset_search}order={$order}&amp;page={$plview->page-1}#pl_set_top">{icon name=resultset_previous title="Page précédente"}</a>
@@ -49,7 +49,7 @@
 
 {capture name=order}
 {if $plset_count > 1}
-<div>
+<div style="clear: both">
   Trier par&nbsp;:
   {foreach from=$orders key=name item=sort}
   [
 {/capture}
 
 
-{$smarty.capture.pages|smarty:nodefaults}
-
 {$smarty.capture.order|smarty:nodefaults}
 
-<div id="multipage_content" style="padding: 0.5em 0">
+{$smarty.capture.pages|smarty:nodefaults}
+
+<div id="multipage_content" style="padding: 0.5em 0; clear: both">
   {include file=$plview->templateName()}
 </div>
 
-{$smarty.capture.order|smarty:nodefaults}
+{$smarty.capture.pages|smarty:nodefaults}<br />
 
-{$smarty.capture.pages|smarty:nodefaults}
+{$smarty.capture.order|smarty:nodefaults}
 
 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}