Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[ljcom] r11099: LJSV-1803: Sitemap displays incorrectly

Committer: skomarov
LJSV-1803: Sitemap displays incorrectly
U   trunk/htdocs/site/index.bml
Modified: trunk/htdocs/site/index.bml
===================================================================
--- trunk/htdocs/site/index.bml	2011-10-14 14:39:30 UTC (rev 11098)
+++ trunk/htdocs/site/index.bml	2011-10-17 09:07:09 UTC (rev 11099)
@@ -45,7 +45,7 @@
 
     my $id = 1; my $ret;
     foreach my $menu (@nav) {
-        $ret .= "<div style='width: 32%; float: left'>\n  <dl>\n" if $id == 1 || $id == 5;
+        $ret .= "<div style='width: 25%; float: left'>\n  <dl>\n" if $id == 1 || $id == 5 || $id == 8;
         my $url = $menu->{url} || "#";
         $ret .= $id == 1 ? "    <dt style='margin-bottom: 1em'><a href='$menu->{url}'>$menu->{name}</a></dt>\n    <dd>\n" :
                            "    <dt>$menu->{name}</dt>\n    <dd>\n";
@@ -58,13 +58,13 @@
             $ret .= "      </ul>\n";
         }
         $ret .= "    </dd>\n";
-        $ret .= "  </dl>\n</div>\n" if $id == 4 || $id == 7;
+        $ret .= "  </dl>\n</div>\n" if $id == 4 || $id == 7 || $id == 11;
         $id++;
     }
     return $ret;
 }
 _code?>
-<div style='width: 32%; float: right'>
+<div style='width: 25%; float: right'>
   <dl>
     <dt><?_ml .userlinks.your_account _ml?></dt>
     <dd>

Tags: bml, ioracle, ljcom, skomarov
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments