Votes: $votes";
-
- foreach ($elem['poll']['options'] as $option){
- $post['text'] .= "
".$option['title']."
";
- }
+ $post['text'] .= "
";
+ $post['text'] .= renderPoll($elem);
$post['text'] .= "
";
}
-
$post['spoiler'] = (empty($elem['spoiler_text']) ? "" : "
" . $elem['spoiler_text'] . "");
$post['media'] = "";
@@ -244,9 +245,9 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) {
$ext = explode(".", $file['url']);
$ext = end($ext);
$ext = explode("?", $ext) [0];
- if (in_array($ext,array('webm','mp4'))) {
+ if (in_array($ext,array('webm','mp4','ogv'))) {
$post['media'] .= "
";
}
diff --git a/themes/1994/css/color.css b/themes/1994/css/color.css
index 812fd1e..6867e7d 100644
--- a/themes/1994/css/color.css
+++ b/themes/1994/css/color.css
@@ -338,12 +338,17 @@ input[type="checkbox"]:checked+label {
padding:5px;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
border-bottom:2px solid #ffffff;
border-right:2px solid #ffffff;
border-top:2px solid #828282;
border-left:2px solid #828282;
cursor: pointer;
+ background-color:#c8f7f5;
+}
+
+.voteBar{
+ background-color: #734eec;
}
.post_footer {
diff --git a/themes/amplifier/css/color.css b/themes/amplifier/css/color.css
index acc8fdf..90a95ed 100644
--- a/themes/amplifier/css/color.css
+++ b/themes/amplifier/css/color.css
@@ -311,12 +311,16 @@ input[type="submit"] {
color:#04e703 !important;
}
-.polloption:hover {
+.polloption:hover:not(.fixed),.voted{
background-color: #04e703;
color:black !important;
cursor:pointer;
}
+.voteBar{
+ background-color: #04e703;
+}
+
.post_footer .post_buttons a, .post_footer span{
color: #04e703;
}
diff --git a/themes/ancientbird/css/color.css b/themes/ancientbird/css/color.css
index f7662d6..ca6337b 100644
--- a/themes/ancientbird/css/color.css
+++ b/themes/ancientbird/css/color.css
@@ -86,18 +86,22 @@ input[type="text"] {
padding:5px;
background-color: white;
border:2px solid #7dbcda;
- border-radius:15px;
- color:#7dbcda;
+ border-radius:7px;
+ color:#04a0c6;
font-weight:bold;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
cursor: pointer;
border:2px solid #7dbcda;
background-color: #7dbcda;
color:white;
}
+.voteBar{
+ background-color: #04a0c6;
+}
+
.new {
background-color:white;
}
diff --git a/themes/bythebook/css/color.css b/themes/bythebook/css/color.css
index f98fc1f..f834e7b 100644
--- a/themes/bythebook/css/color.css
+++ b/themes/bythebook/css/color.css
@@ -236,13 +236,17 @@ input[type="submit"] {
background-color: #ddd;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
background-color: #3b5998;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
color: white;
cursor: pointer;
}
+.voteBar{
+ background-color: #3b5998;
+}
+
.icon {
background-color: black;
}
diff --git a/themes/chicago/css/color.css b/themes/chicago/css/color.css
index 3c33968..a6db544 100644
--- a/themes/chicago/css/color.css
+++ b/themes/chicago/css/color.css
@@ -297,7 +297,7 @@ input[type="submit"] {
color:black;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
cursor: pointer;
border-bottom:2px solid #ffffff ;
border-right:2px solid #ffffff;
@@ -305,6 +305,10 @@ input[type="submit"] {
border-left:2px solid #828282;
}
+.voteBar{
+ background-color:#000082;
+}
+
.post_footer {
border-bottom:2px solid #ffffff;
border-right:2px solid #ffffff;
diff --git a/themes/cuatro/css/color.css b/themes/cuatro/css/color.css
index daddecd..651a5f5 100644
--- a/themes/cuatro/css/color.css
+++ b/themes/cuatro/css/color.css
@@ -219,19 +219,23 @@ input[type="submit"] {
margin:5px;
padding:5px;
background-color: white;
- border:2px solid #800;
- border-radius:15px;
+ border:1px solid #800;
+ border-radius:3px;
color:#800;
font-weight:bold;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
cursor: pointer;
- border:2px solid #800;
+ border:1px solid #800;
background-color: #800;
color:white;
}
+.voteBar{
+ background-color: #467757;
+}
+
.post_footer {
background-color: #FFF;
border-top:2px solid #eeaa88;
diff --git a/themes/custom/css/color.php b/themes/custom/css/color.php
index bedcaa2..418f5da 100644
--- a/themes/custom/css/color.php
+++ b/themes/custom/css/color.php
@@ -123,12 +123,16 @@ input[type="checkbox"]:checked+label {
color: ;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
cursor: pointer;
background-color: ;
color: white;
}
+.voteBar{
+ background-color: ;
+}
+
.tiselected {
border-bottom: 2px solid ;
}
diff --git a/themes/monad/css/color.css b/themes/monad/css/color.css
index 40f6e7b..a264d1d 100644
--- a/themes/monad/css/color.css
+++ b/themes/monad/css/color.css
@@ -216,16 +216,23 @@ input[type="submit"] {
display:block;
margin:5px;
padding:5px;
- background-color: #d8a070;
- color:black;
+ color: #d8a070;
+ background-color: rgba(255,255,255,0.1);
+ font-weight:bold;
}
-.polloption:hover{
+.polloption:hover:not(.fixed),.voted{
cursor: pointer;
background-color:white;
color:black;
+ font-weight:bold;
}
+.voteBar{
+ background-color: #d8a070;
+}
+
+
.post {
border-top: 2px solid #1c2737;
}
diff --git a/themes/phubbub/css/color.css b/themes/phubbub/css/color.css
index 04bcece..f60135a 100644
--- a/themes/phubbub/css/color.css
+++ b/themes/phubbub/css/color.css
@@ -222,14 +222,18 @@ textarea,input[type="text"]{
display:block;
margin:5px;
padding:5px;
- background-color: white;
+ background-color: #3f3f3f;
+ color:white;
+}
+
+.polloption:hover:not(.fixed),.voted{
+ cursor: pointer;
+ background-color: #ff8706;
color:black;
}
-.polloption:hover{
- cursor: pointer;
- background-color: #ff8706;;
- color:black;
+.voteBar{
+ background-color: #ff8706;
}
.post_buttons {