1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Simple Question Code Wrapping

Discussion in 'Web Design, HTML And CSS' started by hanleyhansen, Jan 27, 2010.

  1. hanleyhansen

    hanleyhansen New Member

    Joined:
    Jan 24, 2008
    Messages:
    336
    Likes Received:
    8
    Trophy Points:
    0
    Occupation:
    Drupal Developer/LAMP Developer
    Location:
    Clifton
    Home Page:
    I have to wrap this line of code:

    Code:
    <dnn:ARTMENU ID="ArtMenu1" ShowHiddenTabs="False" ShowAdminTabs="True" ShowDeletedTabs="False" ShowLoginTab="True" ShowUserTab="True" runat="server" /><div id="TopPane" visible="false" runat="server"></div>
    
    With this conditional:

    Code:
    <% If DotNetNuke.Security.PortalSecurity.IsInRole("Registered Users") Then %>
          <div id="LoginUserContainer">
          <dnn:USER cssclass="BannerLinks" runat="server" id="dnnUser" url="" />
          &nbsp;|&nbsp;
          <dnn:LOGIN runat="server" cssclass="BannerLinks" id="dnnLogin" />
          </div>
    <% End If %>
    What does that mean? And what would it look like?
     

Share This Page