diff --git a/uVote/api/api_uvote.php b/uVote/api/api_uvote.php
index e9155f0..b747351 100644
--- a/uVote/api/api_uvote.php
+++ b/uVote/api/api_uvote.php
@@ -4,7 +4,14 @@ class api_uvote extends \SYSTEM\API\api_login {
public static function call_vote_action_vote($poll_ID, $vote) {
return votes::write_vote($poll_ID, $vote);
- }
+ }
+
+ public static function call_vote_action_feedback($feedback) {
+ new \SYSTEM\LOG\INFO($feedback);
+ return votes::write_feedback($feedback);
+
+ }
+
public static function call_vote_action_open_vote($poll_ID) {
return votes::open_vote($poll_ID);
diff --git a/uVote/api/votes/votes.php b/uVote/api/votes/votes.php
index 10045c4..ecdd1f3 100644
--- a/uVote/api/votes/votes.php
+++ b/uVote/api/votes/votes.php
@@ -99,6 +99,18 @@ class votes {
return JsonResult::ok();
}
+ public static function write_feedback($feedback){
+ if(!\SYSTEM\SECURITY\Security::isLoggedIn()){
+ throw new ERROR("You need to be logged in.");}
+
+ $con = new \SYSTEM\DB\Connection(new \DBD\uVote());
+ $res = $con->prepare( 'insertFeedback',
+ 'INSERT INTO uvote_beta_feedback
+ VALUES (?, ?);',
+ array(\SYSTEM\SECURITY\Security::getUser()->id, $feedback));
+ return JsonResult::ok();
+ }
+
public static function open_vote($poll_ID){
diff --git a/uVote/img/frontend_logos/chrome.png b/uVote/img/frontend_logos/chrome.png
index 7f6ddc5..5aed0f3 100644
Binary files a/uVote/img/frontend_logos/chrome.png and b/uVote/img/frontend_logos/chrome.png differ
diff --git a/uVote/img/frontend_logos/chrome.psd b/uVote/img/frontend_logos/chrome.psd
index 3b01007..7fbc6c9 100644
Binary files a/uVote/img/frontend_logos/chrome.psd and b/uVote/img/frontend_logos/chrome.psd differ
diff --git a/uVote/img/frontend_logos/contra.png b/uVote/img/frontend_logos/contra.png
new file mode 100644
index 0000000..46aff79
Binary files /dev/null and b/uVote/img/frontend_logos/contra.png differ
diff --git a/uVote/img/frontend_logos/cover.png b/uVote/img/frontend_logos/cover.png
index 0bbf86a..691f7ab 100644
Binary files a/uVote/img/frontend_logos/cover.png and b/uVote/img/frontend_logos/cover.png differ
diff --git a/uVote/img/frontend_logos/cover.psd b/uVote/img/frontend_logos/cover.psd
index 5cb675d..8161d92 100644
Binary files a/uVote/img/frontend_logos/cover.psd and b/uVote/img/frontend_logos/cover.psd differ
diff --git a/uVote/img/frontend_logos/enth.png b/uVote/img/frontend_logos/enth.png
new file mode 100644
index 0000000..568d702
Binary files /dev/null and b/uVote/img/frontend_logos/enth.png differ
diff --git a/uVote/img/frontend_logos/pro.png b/uVote/img/frontend_logos/pro.png
new file mode 100644
index 0000000..0255fd0
Binary files /dev/null and b/uVote/img/frontend_logos/pro.png differ
diff --git a/uVote/img/frontend_logos/vote_background.psd b/uVote/img/frontend_logos/vote_background.psd
new file mode 100644
index 0000000..575afca
Binary files /dev/null and b/uVote/img/frontend_logos/vote_background.psd differ
diff --git a/uVote/page/default_cover/cover.tpl b/uVote/page/default_cover/cover.tpl
index 1bc9cc5..bced509 100644
--- a/uVote/page/default_cover/cover.tpl
+++ b/uVote/page/default_cover/cover.tpl
@@ -1,2 +1,6 @@
-
-
+
+
+