News:

Wondering if this will always be free?  See why free is better.

Main Menu

XHTML Validation Errors

Started by Bugo, September 09, 2010, 02:07:27 AM

Previous topic - Next topic

Bugo

Code (Admin.template.php) Select

<h3 class="titlebg">';

if ($context['user']['is_admin'])
echo '
17 => <div id="quick_search" class="align_right">
<form action="', $scripturl, '?action=admin;area=search" method="post" accept-charset="', $context['character_set'], '">
<img src="', $settings['images_url'] , '/filter.gif" alt="" />
<input type="text" name="search_term" value="', $txt['admin_search'], '" onclick="if (this.value == \'', $txt['admin_search'], '\') this.value = \'\';" class="input_text" />
<select name="search_type">
<option value="internal"', (empty($context['admin_preferences']['sb']) || $context['admin_preferences']['sb'] == 'internal' ? ' selected="selected"' : ''), '>', $txt['admin_search_type_internal'], '</option>
<option value="member"', (!empty($context['admin_preferences']['sb']) && $context['admin_preferences']['sb'] == 'member' ? ' selected="selected"' : ''), '>', $txt['admin_search_type_member'], '</option>
<option value="online"', (!empty($context['admin_preferences']['sb']) && $context['admin_preferences']['sb'] == 'online' ? ' selected="selected"' : ''), '>', $txt['admin_search_type_online'], '</option>
</select>
<input type="submit" name="search_go" value="', $txt['admin_search_go'], '" class="button_submit" />
</form>
</div>';

echo $txt['admin_center'], '
</h3>

Quoteline 17 - Error: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

Code (Themes.template.php) Select
<div class="content">
                    <dl class="settings themes_list">
                        <dt>', $txt['themeadmin_list_theme_dir'], ':</dt>
                        <dd', $theme['valid_path'] ? '' : ' class="error"', '>', $theme['theme_dir'], $theme['valid_path'] ? '' : ' ' . $txt['themeadmin_list_invalid'], '</dd>
                        <dt>', $txt['themeadmin_list_theme_url'], ':</dt>
                        <dd>', $theme['theme_url'], '</dd>
                        <dt>', $txt['themeadmin_list_images_url'], ':</dt>
                        <dd>', $theme['images_url'], '</dd>
246 =>                    </ul>
                </div>

Quoteline 246 - Error: end tag for element "ul" which is not open
I think that "</ul>" should be replaced with "</dl>"...

Code (ManagePermissions.template.php) Select
        </form>
346 =>    </div>
    <br class="clear" />';
}

Quoteline 346 - Error: end tag for element "div" which is not open
Perhaps this block must be replaced with:
        </form>

    <br class="clear" />';
}

live627


Bugo


live627

Well it's valid on an August DEV build.

Bugo


Advertisement: