add moment js
This commit is contained in:
parent
66f166399c
commit
6bfa410f90
|
@ -246,7 +246,8 @@ echo template_render('../templates/layout.html', array(
|
|||
'menu' => make_menu(),
|
||||
'content' => $content,
|
||||
'header_toolbar' => header_toolbar(),
|
||||
'faq_url' => $faq_url
|
||||
'faq_url' => $faq_url,
|
||||
'locale' => $_SESSION['locale']
|
||||
));
|
||||
|
||||
counter();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -12,7 +12,8 @@
|
|||
<meta name="revisit-after" content="1 days" />
|
||||
<script type="text/javascript" src="vendor/jquery-2.1.1.min.js"></script>
|
||||
<script type="text/javascript" src="vendor/bootstrap-3.2.0/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="css/forms.js"></script>
|
||||
<script type="text/javascript" src="js/forms.js"></script>
|
||||
<script type="text/javascript" src="js/moment-with-locales.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="vendor/bootstrap-3.2.0/css/theme%theme%.css" />
|
||||
<link rel="stylesheet" type="text/css" href="vendor/icomoon/style.css" />
|
||||
%atom_link%
|
||||
|
@ -36,5 +37,10 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
moment.locale("%locale%");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue