edit.php 592 B

1234567891011121314151617181920212223242526
  1. <?php
  2. $title = '修改昵称';
  3. $view
  4. ->import('inc/head')
  5. ->set('title', $title)
  6. ->set('name', 'password')
  7. ->fetch('header span', $title)
  8. ->fetch('.back@href', '<{Dever::url("user/update", "main")}>')
  9. ->fetch(array('input@id', 0), 'username')
  10. ->fetch(array('input@name', 0), 'username')
  11. ->fetch(array('input@value', 0), '<{Dever::load("task/user.one#username")}>')
  12. ->fetch(array('input@dever-error', 0), '请填写昵称')
  13. ->fetch('.button@class', 'button')
  14. ->fetch('.button@type', 'button')
  15. ->fetch('.button@id', 'edit')
  16. ->import('inc/foot')
  17. ->display();