Fixed some html validation errors

language tag in script is deprecated. used type
<script> tag after </html> is invalid. moved the localized messages dictionary inside html body.
This commit is contained in:
Rajani Karuturi 2013-10-30 12:08:45 +05:30 committed by Jessica Wang
parent b464a20a52
commit fdf7639eb8
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ under the License.
</c:if>
<fmt:setBundle basename="resources/messages"/>
<% long now = System.currentTimeMillis(); %>
<script language="javascript">
<script type="text/javascript">
dictionary = {
'label.hypervisors': '<fmt:message key="label.hypervisors" />',
'label.home': '<fmt:message key="label.home" />',

View File

@ -1722,6 +1722,8 @@
<script type="text/javascript" src="plugins/plugins.js?t=<%=now%>"></script>
<script type="text/javascript" src="modules/modules.js?t=<%=now%>"></script>
<script type="text/javascript" src="scripts/plugins.js?t=<%=now%>"></script>
<!-- localized messages -->
<jsp:include page="dictionary.jsp" />
</body>
</html>
<jsp:include page="dictionary.jsp" />