forgetpassword.html.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * The forgetPassword view file of user module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Mengyi Liu <liumengyi@easycorp.ltd>
  7. * @package user
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. set::zui(true);
  12. div
  13. (
  14. set::id('main'),
  15. div
  16. (
  17. set::id('mainContent'),
  18. formPanel
  19. (
  20. setStyle(array('width' => '500px', 'margin-top' => '100px')),
  21. set::title($lang->user->resetPwdByMail),
  22. set::actions(array()),
  23. to::headingActions
  24. (
  25. a
  26. (
  27. set::href(inlink('reset')),
  28. $lang->user->resetPwdByAdmin
  29. )
  30. ),
  31. formRow
  32. (
  33. formGroup
  34. (
  35. set::label($lang->user->account),
  36. set::name('account'),
  37. set::required(true),
  38. set::placeholder($lang->user->placeholder->loginAccount)
  39. )
  40. ),
  41. formRow
  42. (
  43. formGroup
  44. (
  45. set::label($lang->user->email),
  46. set::name('email'),
  47. set::required(true),
  48. set::placeholder($lang->user->placeholder->email)
  49. )
  50. ),
  51. formRow
  52. (
  53. setClass('form-actions'),
  54. toolbar
  55. (
  56. btn(set(array('text' => $lang->user->submit, 'btnType' => 'submit', 'type' => 'primary', 'class' => 'mx-4'))),
  57. btn(set(array('text' => $lang->goback, 'url' => createLink('user', 'login'), 'class' => 'mx-4 not-open-url')))
  58. )
  59. )
  60. )
  61. )
  62. );
  63. render('pagebase');