aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bbcode.php2
-rw-r--r--view/css/conversation.css7
2 files changed, 8 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index db3a1011b..2d86bd263 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -769,6 +769,8 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
}
// Check for list text
$Text = str_replace("[*]", "<li>", $Text);
+ $Text = str_replace("[]", "<li><input class=\"listcheckbox\" type=\"checkbox\" disabled=\"disabled\">", $Text);
+ $Text = str_replace("[x]", "<li><input class=\"listcheckbox\" type=\"checkbox\" checked=\"checked\" disabled=\"disabled\">", $Text);
// handle nested lists
$endlessloop = 0;
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 677198149..6acca4b0d 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -320,10 +320,15 @@ img.smiley.emoji:hover {
height: 32px;
}
+input.listcheckbox {
+ margin: 0px;
+ vertical-align: middle;
+}
+
.combobox {
padding: 15px;
}
#filer_save {
margin-left: 15px;
-} \ No newline at end of file
+}