Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10485

XHTML error in Prosilver - index and viewforum

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.10-RC2
    • 3.0.10-RC1
    • Styles, Viewing forums
    • None

      The following lines and their respective errors:
      forumlist_body.html:

      <dt><div class="wrap-content"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>

      Line 167, Column 36: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag

      <dt><div class="wrap-content"><a href="./viewforum.php?f=1">First Categor...

      				<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}"><div class="wrap-content">
      				<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
       
      					<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
      					<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
      					{forumrow.FORUM_DESC}
      					<!-- IF forumrow.MODERATORS -->
      						<br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
      					<!-- ENDIF -->
      					<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->
      				</div></dt>

      Line 178, Column 58: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag

      <dt title="No unread posts"><div class="wrap-content">

      ---------

      viewforum_body.html

      <dt><div class="wrap-content"><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></div></dt>

      Line 190, Column 35: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag

      <dt><div class="wrap-content">Topics</div></dt>

      <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
      				<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><div class="wrap-content"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>

      Line 202, Column 58: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag

      ...nread posts"><div class="wrap-content"><a href="./viewtopic.php?f=5&t=4" c...

      Why not just change the DIVs to SPAN, as well as in 3.1?

            nickvergessen Joas Schilling
            _Vinny_ Marcus Vinicius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: