use script instead of \OCP\Util methods

This commit is contained in:
Thomas Müller 2014-12-10 16:18:18 +01:00 committed by Morris Jobke
parent 775f6a1354
commit 3cc33a98a8
1 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,11 @@
<?php /** @var $l OC_L10N */ ?>
<?php vendor_script('jsTimezoneDetect/jstz') ?>
<?php
vendor_script('jsTimezoneDetect/jstz');
script('core', [
'visitortimezone',
'lostpassword'
]);
?>
<!--[if IE 8]><style>input[type="checkbox"]{padding:0;}</style><![endif]-->
<form method="post" name="login">
@ -65,8 +71,5 @@
</ul>
</fieldset>
</form>
<?php } ?>
<?php }
<?php
OCP\Util::addscript('core', 'visitortimezone');
OCP\Util::addScript('core', 'lostpassword');