mirror of https://github.com/apache/cloudstack.git
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:
parent
b464a20a52
commit
fdf7639eb8
|
|
@ -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" />',
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue