Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
3d6255ae
Commit
3d6255ae
authored
Jun 17, 2017
by
Zot
Committed by
Mario
Jun 19, 2017
Browse files
brainstorming a comment moderation system
parent
f25e0c38
Changes
1
Hide whitespace changes
Inline
Side-by-side
view/tpl/comment_item.tpl
View file @
3d6255ae
...
...
@@ -10,6 +10,13 @@
<input
type=
"hidden"
name=
"return"
value=
"{
{
$return_path
}
}"
/>
<input
type=
"hidden"
name=
"jsreload"
value=
"{
{
$jsreload
}
}"
/>
<input
type=
"hidden"
name=
"preview"
id=
"comment-preview-inp-{
{
$id
}
}"
value=
"0"
/>
{
{
if
$anoncomments
&&
!
$observer
}
}
<div
id=
"comment-edit-anon-{
{
$id
}
}"
>
{
{
include
file
=
"field_input.tpl"
field
=
$authorname
}
}
{
{
include
file
=
"field_input.tpl"
field
=
$authormail
}
}
{
{
$anon_extras
}
}
</div>
{
{/
if
}
}
<textarea
id=
"comment-edit-text-{
{
$id
}
}"
class=
"comment-edit-text-empty"
name=
"body"
onFocus=
"commentOpenUI(this,{
{
$id
}
});"
onBlur=
"commentCloseUI(this,{
{
$id
}
});"
ondragenter=
"linkdropper(event);"
ondragleave=
"linkdropexit(event);"
ondragover=
"linkdropper(event);"
ondrop=
"linkdrop(event);"
>
{
{
$comment
}
}
</textarea>
{
{
if
$qcomment
}
}
<select
id=
"qcomment-select-{
{
$id
}
}"
name=
"qcomment-{
{
$id
}
}"
class=
"qcomment"
onchange=
"qCommentInsert(this,{
{
$id
}
});"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment