/administrator/components/com_users/models/forms/note.xml

https://bitbucket.org/eternaware/joomus · XML · 126 lines · 112 code · 14 blank · 0 comment · 0 complexity · 26f650b319b5570dcac5c9b3b37137ab MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <form>
  3. <fieldset>
  4. <field
  5. name="id"
  6. type="hidden"
  7. class="readonly"
  8. size="6"
  9. default="0"
  10. readonly="true"
  11. label="COM_USERS_FIELD_ID_LABEL"
  12. />
  13. <field
  14. name="user_id"
  15. type="user"
  16. size="50"
  17. class="inputbox"
  18. required="true"
  19. label="COM_USERS_FIELD_USER_ID_LABEL"
  20. />
  21. <field
  22. name="catid"
  23. type="category"
  24. class="inputbox"
  25. extension="com_users.notes"
  26. label="COM_USERS_FIELD_CATEGORY_ID_LABEL"
  27. description="JFIELD_CATEGORY_DESC" >
  28. </field>
  29. <field
  30. name="subject"
  31. type="text"
  32. class="inputbox"
  33. size="80"
  34. label="COM_USERS_FIELD_SUBJECT_LABEL"
  35. description="COM_USERS_FIELD_SUBJECT_DESC"
  36. />
  37. <field
  38. name="body"
  39. type="editor"
  40. class="inputbox"
  41. rows="10"
  42. cols="80"
  43. filter="safehtml"
  44. label="COM_USERS_FIELD_NOTEBODY_LABEL"
  45. description="COM_USERS_FIELD_NOTEBODY_DESC"
  46. />
  47. <field
  48. name="state"
  49. type="list"
  50. label="JSTATUS"
  51. description="COM_USERS_FIELD_STATE_DESC"
  52. class="inputbox"
  53. size="1"
  54. default="1">
  55. <option
  56. value="1">JPUBLISHED</option>
  57. <option
  58. value="0">JUNPUBLISHED</option>
  59. <option
  60. value="2">JARCHIVED</option>
  61. <option
  62. value="-2">JTRASHED</option>
  63. </field>
  64. <field
  65. name="review_time"
  66. type="calendar"
  67. class="inputbox"
  68. label="COM_USERS_FIELD_REVIEW_TIME_LABEL"
  69. description="COM_USERS_FIELD_REVIEW_TIME_DESC"
  70. default="0000-00-00"
  71. format="%Y-%m-%d"
  72. />
  73. <field
  74. name="checked_out"
  75. type="hidden"
  76. filter="unset"
  77. />
  78. <field
  79. name="checked_out_time"
  80. type="hidden"
  81. filter="unset"
  82. />
  83. <field
  84. name="created_user_id"
  85. type="hidden"
  86. filter="unset"
  87. />
  88. <field
  89. name="created_time"
  90. type="hidden"
  91. filter="unset"
  92. />
  93. <field
  94. name="modified_user_id"
  95. type="hidden"
  96. filter="unset"
  97. />
  98. <field
  99. name="modified_time"
  100. type="hidden"
  101. filter="unset"
  102. />
  103. <field name="publish_up" type="calendar"
  104. label="JGLOBAL_FIELD_PUBLISH_UP_LABEL" description="JGLOBAL_FIELD_PUBLISH_UP_DESC"
  105. class="inputbox" format="%Y-%m-%d %H:%M:%S" size="22"
  106. filter="user_utc" />
  107. <field name="publish_down" type="calendar"
  108. label="JGLOBAL_FIELD_PUBLISH_DOWN_LABEL" description="JGLOBAL_FIELD_PUBLISH_DOWN_DESC"
  109. class="inputbox" format="%Y-%m-%d %H:%M:%S" size="22"
  110. filter="user_utc" />
  111. </fieldset>
  112. </form>