Author: dpillot
Date: Wed May 23 18:41:02 2007
New Revision: 677

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D677&repname=
=3Dcorporate_portal_templates_v2
Log:
templates-154

Modified:
    branches/JAHIA-5-0-SP-BRANCH/src/jsp/common/topmenu.inc

Modified: branches/JAHIA-5-0-SP-BRANCH/src/jsp/common/topmenu.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/jsp/common/topmenu.inc&rev=3D677&repname=3Dcorporate_portal_tem=
plates_v2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/jsp/common/topmenu.inc (original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/jsp/common/topmenu.inc Wed May 23 18:4=
1:02 2007
@@ -39,7 +39,11 @@
             %>>
                 <a class=3D"link" href=3D"<%=3DnavigationLink.getURL(jPara=
ms)%>">
                 <span>
+                <%if(!navigationLink.getTitle().equals("")){%>
                     <%=3DnavigationLink.getHighLightDiffTitle(jData.params=
())%>
+                    <% } else { %>
+                    &nbsp;
+                    <% }%>
                 </span>
                 </a>
             <%
@@ -61,9 +65,15 @@
         <%
         } else {
             logger.warn("this container"+topNavigationContainer.getID()+" =
have no field navigationLink! ");
-            %>
-            <!-- nd page-->
+            if (isEditMode) { %>
+            <div id=3D"topmenu_<%=3DtopNavigationContainer.getID()%>" clas=
s=3D"notselected"<% if (! topNavigationContainers.hasMoreElements()) {
+                %> style=3D"border-width:0;"<%
+                }
+            %>>
+
+                </div>
             <%
+            }
 =

         }
     }

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to