img
This commit is contained in:
parent
b445c316dd
commit
5742dded64
@ -7,7 +7,6 @@ class api_uvote extends \SYSTEM\API\api_login {
|
||||
}
|
||||
|
||||
public static function call_vote_action_feedback($feedback) {
|
||||
new \SYSTEM\LOG\INFO($feedback);
|
||||
return votes::write_feedback($feedback);
|
||||
|
||||
}
|
||||
|
||||
@ -114,8 +114,6 @@ class votes {
|
||||
|
||||
|
||||
public static function open_vote($poll_ID){
|
||||
new \SYSTEM\LOG\INFO($poll_ID);
|
||||
|
||||
$vote = votes::getVoteOfGroup($poll_ID);
|
||||
new INFO(print_r($vote, true));
|
||||
$vars = array('vote_text' => $vote['text'], 'vote_title' => $vote['title'], 'vote_init' => $vote['initiative'], 'poll_ID' => $vote['ID'], 'time_end' => $vote['time_end']);
|
||||
|
||||
BIN
uVote/img/frontend_logos/bild_8.png
Normal file
BIN
uVote/img/frontend_logos/bild_8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 305 KiB |
@ -43,7 +43,6 @@ class default_page extends SYSTEM\PAGE\Page {
|
||||
'time_end' => $vote['time_end']);
|
||||
$result .= SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/vote.tpl'), $vars);
|
||||
}
|
||||
new \SYSTEM\LOG\INFO("generated votelist successfully");
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
function init_saimod_uvote_vote_edit(){
|
||||
$('#vote_data_submit').click(function() {
|
||||
var data = new Array();
|
||||
var data = new Array();
|
||||
alert("bla")
|
||||
$.ajax({
|
||||
url: SAI_ENDPOINT+'sai_mod=.SYSTEM.SAI.saimod_uvote_vote_edit&action='+ vote,
|
||||
contentType : "application/json; charset=utf-8",
|
||||
|
||||
@ -21,6 +21,5 @@ class saimod_uvote_vote_edit extends \SYSTEM\SAI\SaiModule {
|
||||
public static function sai_mod_saimod_uvote_vote_edit_flag_js(){return \SYSTEM\LOG\JsonResult::toString(array(
|
||||
\SYSTEM\WEBPATH(new PSAI(),'saimod_uvote_vote_edit/saimod_uvote_vote_edit.js')
|
||||
));}
|
||||
public static function sai_mod_saimod_uvote_data_input_flag_css(){}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user