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>';
|
echo '</p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
//respondent iz cms
|
// respondent iz cms ne prikazemo ce gre za volitve
|
||||||
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' : '') . '>';
|
if(!SurveyInfo::getInstance()->checkSurveyModule('voting')){
|
||||||
echo '<span id="label_alert_finish_respondent_cms">';
|
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' : '') . '>';
|
||||||
$this->display_alert_label('finish_respondent_cms',($rowAlert['finish_respondent_cms'] == 1));
|
echo '<span id="label_alert_finish_respondent_cms">';
|
||||||
echo '</span></p>'. "\n";
|
$this->display_alert_label('finish_respondent_cms',($rowAlert['finish_respondent_cms'] == 1));
|
||||||
|
echo '</span></p>'. "\n";
|
||||||
|
}
|
||||||
|
|
||||||
// avtor ankete oz osebe z dostopom
|
// 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' : '') . '>';
|
//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')");
|
sisplet_query("INSERT INTO srv_anketa_module (ank_id, modul) VALUES ('".$this->anketa."', 'email')");
|
||||||
|
|
||||||
// Ugasnemo obvescanje respondenta
|
// 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
|
// Nastavitve volitev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user