user_info.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="{:url('user/userInfo')}">{:lang('ADMIN_USER_USERINFO')}</a></li>
  7. <li><a href="{:url('setting/password')}">{:lang('ADMIN_SETTING_PASSWORD')}</a></li>
  8. </ul>
  9. <form class="form-horizontal js-ajax-form margin-top-20" role="form" method="post" action="{:url('User/userinfoPost')}">
  10. <div class="form-group">
  11. <label for="input-user-nickname" class="col-sm-2 control-label">{:lang('NICKNAME')}</label>
  12. <div class="col-md-6 col-sm-10">
  13. <input type="text" class="form-control" id="input-user-nickname" name="user_nicename" value="{$user_nicename}">
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label for="input-gender" class="col-sm-2 control-label">{:lang('GENDER')}</label>
  18. <div class="col-md-6 col-sm-10">
  19. <select class="form-control" name="sex" id="input-gender">
  20. <php>$sexs=array("0"=>lang('GENDER_SECRECY'),"1"=>lang('MALE'),"2"=>lang('FEMALE'));</php>
  21. <foreach name="sexs" item="vo">
  22. <php>$sexselected=$key==$sex?"selected":"";</php>
  23. <option value="{$key}" {$sexselected}>{$vo}</option>
  24. </foreach>
  25. </select>
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label for="input-user_url" class="col-sm-2 control-label">{:lang('WEBSITE')}</label>
  30. <div class="col-md-6 col-sm-10">
  31. <input type="text" class="form-control" id="input-user_url" name="user_url" value="{$user_url}" placeholder="http://thinkcmf.com">
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label for="input-signature" class="col-sm-2 control-label">{:lang('SIGNATURE')}</label>
  36. <div class="col-md-6 col-sm-10">
  37. <textarea class="form-control" id="input-signature" name="signature" placeholder="{:lang('SIGNATURE')}">{$signature}</textarea>
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <div class="col-sm-offset-2 col-sm-10">
  42. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
  43. </div>
  44. </div>
  45. </form>
  46. </div>
  47. <script src="__STATIC__/js/admin.js"></script>
  48. </body>
  49. </html>