mirror of
https://shylinux.com/x/icebergs
synced 2025-04-28 02:02:02 +08:00
add some
This commit is contained in:
parent
6ea1bd5a9d
commit
299f3ea184
@ -45,6 +45,10 @@ func init() {
|
||||
}, mdb.ImportantHashAction(EMAIL, ADMIN, mdb.SHORT, mdb.UNIQ, mdb.FIELD, "time,hash,status,inviter,email,title,content")), Hand: func(m *ice.Message, arg ...string) {
|
||||
if !m.Warn(len(arg) == 0 && m.Option(ice.MSG_USERROLE) == VOID, ice.ErrNotRight) {
|
||||
kit.If(mdb.HashSelect(m, arg...).FieldsIsDetail(), func() {
|
||||
if m.Option(ice.MSG_USERNAME) != "" {
|
||||
m.ProcessLocation(m.MergePod(""))
|
||||
return
|
||||
}
|
||||
m.Option(ice.MSG_USERHOST, strings.Split(m.Option(ice.MSG_USERHOST), "://")[1])
|
||||
m.SetAppend().EchoInfoButton(ice.Info.Template(m, SUBJECT_HTML), ACCEPT)
|
||||
})
|
||||
|
@ -38,15 +38,13 @@ func init() {
|
||||
OPEN: {Hand: func(m *ice.Message, arg ...string) {
|
||||
ProcessIframe(m, m.Option(mdb.NAME), S(m.Option(mdb.NAME)), arg...)
|
||||
}},
|
||||
PORTAL: {Hand: func(m *ice.Message, arg ...string) {
|
||||
PORTAL: {Role: aaa.VOID, Hand: func(m *ice.Message, arg ...string) {
|
||||
ProcessIframe(m, m.Option(mdb.NAME), m.Option(ORIGIN)+S(m.Option(mdb.NAME))+C(PORTAL), arg...)
|
||||
}},
|
||||
}, ctx.ConfAction(ctx.TOOLS, DREAM)), Hand: func(m *ice.Message, arg ...string) {
|
||||
if len(arg) == 0 {
|
||||
m.Cmd(SPIDE, arg, kit.Dict(ice.MSG_FIELDS, "time,client.type,client.name,client.origin")).Table(func(value ice.Maps) {
|
||||
if value[CLIENT_TYPE] == nfs.REPOS {
|
||||
m.Push(mdb.NAME, value[CLIENT_NAME])
|
||||
}
|
||||
kit.If(value[CLIENT_TYPE] == nfs.REPOS, func() { m.Push(mdb.NAME, value[CLIENT_NAME]) })
|
||||
})
|
||||
if ctx.Toolkit(m.Display("")); ice.Info.NodeType == WORKER {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user