Just noticed a strange xhtml error when viewing this mod in ucp when using prosilver
If i use this (from the mod)
- Code: Select all
<!-- IF S_STYLE_OPTIONS and not S_STYLE_PREVIEW -->
<dl>
<dt><label for="style">{L_BOARD_STYLE}:</label></dt>
<dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
</dl>
<!-- ELSEIF S_STYLE_PREVIEW -->
<!-- INCLUDE ucp_style_preview.html -->
<!-- ENDIF -->
I get a xhtml error
If the org code is used, there is no xhtml error
- Code: Select all
<!-- IF S_STYLE_OPTIONS -->
<dl>
<dt><label for="style">{L_BOARD_STYLE}:</label></dt>
<dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
</dl>
<!-- ENDIF -->
Error code from the validator
Hideline 279 column 19 - Info: reference to non-existent ID "style"
Strange since the ID style is also used in org code.
EDIT: It seems subsilver2. has 4 xhtml errors on these lines
- Code: Select all
<script type="text/javascript" src="./style_preview/jquery_core_mini.js"></script>
<script type="text/javascript" src="./style_preview/jquery_ui_custom.js"></script>
<script type="text/javascript" src="./style_preview/style_preview_ajax_mini.js"></script>
<script type="text/javascript">
All of the errors are the same
Hideline 328 column 72 - Error: document type does not allow element "script" here
