Trail now uses a table, so that it displays correctly in RTL langs.
authorjollytoad <jollytoad>
Thu, 30 Sep 2004 12:49:08 +0000 (12:49 +0000)
committerjollytoad <jollytoad>
Thu, 30 Sep 2004 12:49:08 +0000 (12:49 +0000)
Alternative solutions that avoid a table are very welcome.

classes/Misc.php
themes/default/global.css

index 711b5a4170ab1508985a6efefdb2cf98e1fbe801..e391f6ad878772b0522294bb6a01f397f4a94a6f 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.93 2004/09/23 12:06:46 soranzo Exp $
+        * $Id: Misc.php,v 1.94 2004/09/30 12:49:08 jollytoad Exp $
         */
         
        class Misc {
                                $trail = $this->getTrail($trail);
                        }
                        
-                       echo "<div class=\"trail\">";
+                       echo "<div class=\"trail\"><table><tr>";
                        
                        foreach ($trail as $crumb) {
+                               echo "<td>";
                                $crumblink = "<a";
                                
                                if (isset($crumb['url']))
                                        echo $crumblink;
                                
                                echo "{$lang['strseparator']}";
+                               echo "</td>";
                        }
                        
-                       echo "</div>\n";
+                       echo "</tr></table></div>\n";
                }
 
                /**
index fee8133435539e26efaaf20d30fb2143868fe4e3..302fb6244242474276922fa1030572a4e73f288e 100644 (file)
@@ -1,7 +1,7 @@
 /**
  * Default style sheet
  *
- * $Id: global.css,v 1.29 2004/09/01 16:35:57 jollytoad Exp $
+ * $Id: global.css,v 1.30 2004/09/30 12:49:09 jollytoad Exp $
  */
 
 /** ELEMENTS */
@@ -199,6 +199,11 @@ td.opbutton2
        margin-bottom: 2px;
 }
 
+.trail td
+{
+       background-color: #F3F3E9;
+}
+
 .tabs
 {
        width: 100%;