use script instead of \OCP\Util methods
This commit is contained in:
parent
775f6a1354
commit
3cc33a98a8
1 changed files with 8 additions and 5 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue