Tudi obvescanje respondenta iz cms ni na voljo pri volitvah
This commit is contained in:
parent
a746f33350
commit
3614553be7
@ -2793,11 +2793,13 @@ class SurveyAdminSettings {
|
||||
echo '</p>';
|
||||
}
|
||||
|
||||
//respondent iz cms
|
||||
// respondent iz cms ne prikazemo ce gre za volitve
|
||||
if(!SurveyInfo::getInstance()->checkSurveyModule('voting')){
|
||||
echo '<p><input type="checkbox" name="alert_finish_respondent_cms" id="alert_finish_respondent_cms" value="1" onChange="change_alert_respondent(\'finish_respondent_cms\', $(this)); chnage_alert_instruction($(this)); $(\'form[name=alertanketa_' . $anketa . ']\').submit(); return false;" ' . ($rowAlert['finish_respondent_cms'] == 1 ? ' checked' : '') . '>';
|
||||
echo '<span id="label_alert_finish_respondent_cms">';
|
||||
$this->display_alert_label('finish_respondent_cms',($rowAlert['finish_respondent_cms'] == 1));
|
||||
echo '</span></p>'. "\n";
|
||||
}
|
||||
|
||||
// avtor ankete oz osebe z dostopom
|
||||
//echo '<p><input type="checkbox" name="alert_finish_author" id="alert_finish_author" value="1" onChange="change_alert_respondent(\'finish_author\', $(this)); $(\'form[name=alertanketa_' . $anketa . ']\').submit(); return false;"' . ($rowAlert['finish_author'] == 1 ? ' checked' : '') . '>';
|
||||
|
@ -38,7 +38,7 @@ class SurveyVoting{
|
||||
sisplet_query("INSERT INTO srv_anketa_module (ank_id, modul) VALUES ('".$this->anketa."', 'email')");
|
||||
|
||||
// Ugasnemo obvescanje respondenta
|
||||
sisplet_query("UPDATE srv_alert SET finish_respondent='0' WHERE ank_id='".$this->anketa."'");
|
||||
sisplet_query("UPDATE srv_alert SET finish_respondent='0', finish_respondent_cms='0' WHERE ank_id='".$this->anketa."'");
|
||||
}
|
||||
|
||||
// Nastavitve volitev
|
||||
|
Loading…
x
Reference in New Issue
Block a user