📄 add.xml
字号:
<form>
<title>{PRIVATE.FORM_ACTION_TITLE} Administrator Note</title>
<action>index.php?mod=myprofile&sub=myprofile.notes&action=store</action>
<name>edit</name>
<width>580</width>
<formtag>true</formtag>
<border>true</border>
<buttons>
<set>
<footer>true</footer>
<header>true</header>
</set>
<return onclick="" button="return">
<location>{PRIVATE.FORM_PREVIOUS_PAGE}</location>
</return>
<save onclick="" button="saveall">
<location>javascript:document.forms[0].submit();</location>
</save>
</buttons>
<redirect>index.php?mod=myprofile&sub=accounts</redirect>
<fields>
<note_id type="hidden" hidden="true"/>
<note_post_date type="hidden" default="time()" action="eval"/>
<note_post_user type="hidden" default="$_SESSION[minibase][raw][user_id]" action="eval"/>
<note_post_ip type="hidden" default="$_SERVER[REMOTE_ADDR]" action="eval"/>
<note_relation type="hidden" default="$_GET[note_relation]" action="eval"/>
<note_type type="hidden" default="$_GET[note_type]" action="eval"/>
<note_title type="textbox" size="35" required="true" validate="A:2:200">
<title>Title</title>
</note_title>
<note_body type="textarea" size="60:7" required="true" validate="A:1:100000">
<title>Body</title>
</note_body>
</fields>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -