1
0

resetpassword.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * @author Jan-Christoph Borchardt <hey@jancborchardt.net>
  4. * @author Lukas Reschke <lukas@owncloud.com>
  5. * @author Michael Gapczynski <GapczynskiM@gmail.com>
  6. * @author Morris Jobke <hey@morrisjobke.de>
  7. * @author Victor Dubiniuk <dubiniuk@owncloud.com>
  8. *
  9. * @copyright Copyright (c) 2016, ownCloud, Inc.
  10. * @license AGPL-3.0
  11. *
  12. * This code is free software: you can redistribute it and/or modify
  13. * it under the terms of the GNU Affero General Public License, version 3,
  14. * as published by the Free Software Foundation.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU Affero General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU Affero General Public License, version 3,
  22. * along with this program. If not, see <http://www.gnu.org/licenses/>
  23. *
  24. */
  25. style('core', 'lostpassword/resetpassword');
  26. script('core', 'lostpassword');
  27. ?>
  28. <form action="<?php print_unescaped($_['link']) ?>" id="reset-password" method="post">
  29. <fieldset>
  30. <p>
  31. <label for="password" class="infield"><?php p($l->t('New password')); ?></label>
  32. <input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('New Password')); ?>" required />
  33. </p>
  34. <input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
  35. <p class="text-center">
  36. <img class="hidden" id="float-spinner" src="<?php p(image_path('core', 'loading-dark.gif'));?>"/>
  37. </p>
  38. </fieldset>
  39. </form>