Close #651: less confusing "next tip" link
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 22 Mar 2007 22:11:25 +0000 (22:11 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 22 Mar 2007 22:11:25 +0000 (22:11 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1600 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
templates/include/tips.tpl
templates/skin/common.header.tpl

index 93ad4e4..12e57b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,9 @@ Bug/Wish:
     * Emails:
         - #595: Update antispam description                                -FRU
 
+    * Events:
+        - #651: Less confusing "next tip" link                             -FRU
+
     * Newsletter:
         - #648: Add navigation link in preview page                        -FRU
         - #649: Fix layout of preview page                                 -FRU
index 27b2ccf..b1867bc 100644 (file)
   {else}
     <span style="color: red; font-weight: bold;">{$tips.titre}</span>
   {/if}
-  {if !$nochange}
-  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="" onclick="Ajax.update_html('tod', 'ajax/tips/{$tips.id}'); return false">
-    {icon name=resultset_next title="Astuce suivante"}
-  </a>
-  {/if}
   </legend>
   {tidy}
   {$tips.text|nl2br|smarty:nodefaults}
-  {/tidy} 
+  {/tidy}
+  {if !$nochange}
+  <div class="right">
+    <a href="" onclick="Ajax.update_html('tod', 'ajax/tips/{$tips.id}'); return false" style="text-decoration: none">
+      Astuce suivante {icon name=resultset_next title="Astuce suivante"}
+    </a>
+  </div>
+  {/if}
 {if $full}
 </fieldset>
 {/if}
index 438d7b9..2a49a73 100644 (file)
     </style>
     {/foreach}
     <link rel="stylesheet" type="text/css" href="css/print.css" media="print"/>
-    <script type="text/javascript">
+    <script type="text/javascript">//<![CDATA[
     if (window.top != window)
       document.write('<link rel="stylesheet" type="text/css" href="css/onlycontent.css" media="all"/>');
-    </script>
+    //]]></script>
     {foreach from=$xorg_js item=js}
     <script type="text/javascript" src="javascript/{$js}"></script>
     {/foreach}