Modul volitve - popravki vklopa, besedilo, popravljeno obvestilo "v bazi ni enot"
This commit is contained in:
parent
13bcb49620
commit
fdadf91093
@ -9614,18 +9614,21 @@ class SurveyAdminSettings {
|
|||||||
|
|
||||||
echo '<fieldset><legend>'.$lang['srv_voting'].'</legend>';
|
echo '<fieldset><legend>'.$lang['srv_voting'].'</legend>';
|
||||||
|
|
||||||
echo '<label class="strong'.$css_disabled.'"><input type="checkbox" id="advanced_module_voting" name="voting" value="1" '. (isset($modules['voting']) ? ' checked="checked"' : '').$disabled.' onChange="toggleAdvancedModule(\'voting\');" />';
|
echo '<p class="bottom16">'.$lang['srv_voting_info'].'</p>';
|
||||||
echo $lang['srv_vrsta_survey_type_18'] . '</label>';
|
echo '<p class="bottom16">'.$lang['srv_voting_info_link'].'</p>';
|
||||||
echo '<br><i>'.$lang['srv_voting_info'].'</i>';
|
echo '<p class="bottom16">'.$lang['srv_voting_info_warning'].'</p>';
|
||||||
|
|
||||||
// Opozorilo, da so vabila ze vklopljena in zato modula ni mogoce vklopiti
|
// Opozorilo, da so vabila ze vklopljena in zato modula ni mogoce vklopiti
|
||||||
if(!isset($modules['voting']) && SurveyInfo::getInstance()->checkSurveyModule('email')){
|
if(!isset($modules['voting']) && SurveyInfo::getInstance()->checkSurveyModule('email')){
|
||||||
echo '<br><br><i class="red bold">'.$lang['srv_voting_info_error'].'</i><br>';
|
echo '<p class="bottom16"><i class="red bold">'.$lang['srv_voting_info_error'].'</i></p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</fieldset>';
|
echo '<div class="setting_holder '.$css_disabled.'">';
|
||||||
|
echo ' <input type="checkbox" id="advanced_module_voting" name="voting" value="1" '. (isset($modules['voting']) ? ' checked="checked"' : '').$disabled.' onChange="toggleAdvancedModule(\'voting\');" />';
|
||||||
|
echo ' <label for="advanced_module_voting">'.$lang['srv_voting_on'].'</label>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '<br />';
|
echo '</fieldset>';
|
||||||
|
|
||||||
echo '<div id="globalSettingsInner">';
|
echo '<div id="globalSettingsInner">';
|
||||||
if(isset($modules['voting'])){
|
if(isset($modules['voting'])){
|
||||||
@ -9637,12 +9640,13 @@ class SurveyAdminSettings {
|
|||||||
elseif ($_GET['a'] == 'advanced_paradata'){
|
elseif ($_GET['a'] == 'advanced_paradata'){
|
||||||
|
|
||||||
echo '<fieldset><legend>'.$lang['srv_advanced_paradata'].'</legend>';
|
echo '<fieldset><legend>'.$lang['srv_advanced_paradata'].'</legend>';
|
||||||
echo '<label class="strong'.$css_disabled.'"><input type="checkbox" id="advanced_module_advanced_paradata" name="advanced_paradata" value="1" '. (isset($modules['advanced_paradata']) ? ' checked="checked"' : '').$disabled.' onChange="toggleAdvancedModule(\'advanced_paradata\');" />';
|
|
||||||
echo $lang['srv_vrsta_survey_type_16'] . '</label>';
|
|
||||||
//echo '<br/><i class="'.$css_disabled.'">'.$lang['srv_vrsta_survey_note_6_4'].'</i>';
|
|
||||||
echo '</fieldset>';
|
|
||||||
|
|
||||||
echo '<br />';
|
echo '<div class="setting_holder '.$css_disabled.'">';
|
||||||
|
echo ' <input type="checkbox" id="advanced_module_advanced_paradata" name="advanced_paradata" value="1" '. (isset($modules['advanced_paradata']) ? ' checked="checked"' : '').$disabled.' onChange="toggleAdvancedModule(\'advanced_paradata\');" />';
|
||||||
|
echo ' <label for="advanced_module_advanced_paradata">'.$lang['srv_vrsta_survey_type_16_on'].'</label>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
|
echo '</fieldset>';
|
||||||
|
|
||||||
echo '<div id="globalSettingsInner">';
|
echo '<div id="globalSettingsInner">';
|
||||||
if(isset($modules['advanced_paradata'])){
|
if(isset($modules['advanced_paradata'])){
|
||||||
|
@ -807,7 +807,7 @@ class SurveyStatistic {
|
|||||||
echo '<div class="dashboard_boxes">';
|
echo '<div class="dashboard_boxes">';
|
||||||
|
|
||||||
// nimamo še vnosov
|
// nimamo še vnosov
|
||||||
if ($allUserCount == 0 || $paradata_date == 1) {
|
if ($allUserCount == 0 || ($paradata_date == 1 && !SurveyInfo::getInstance()->checkSurveyModule('voting'))){
|
||||||
|
|
||||||
echo '<div class="dashboard_box" name="div_statistic_info" id="div_statistic_info">';
|
echo '<div class="dashboard_box" name="div_statistic_info" id="div_statistic_info">';
|
||||||
$this->DisplayInfoView();
|
$this->DisplayInfoView();
|
||||||
|
@ -47,15 +47,13 @@ class SurveyVoting{
|
|||||||
|
|
||||||
echo '<fieldset><legend>'.$lang['settings'].'</legend>';
|
echo '<fieldset><legend>'.$lang['settings'].'</legend>';
|
||||||
|
|
||||||
echo '<br>';
|
echo ' <p class="bottom16">';
|
||||||
|
echo $lang['srv_voting_edit1'].' <a href="index.php?anketa='.$this->anketa.'&a='.A_BRANCHING.'">'.$lang['srv_voting_edit2'].'</a>.';
|
||||||
|
echo ' </p>';
|
||||||
|
|
||||||
echo $lang['srv_voting_edit1'].' <a href="index.php?anketa='.$this->anketa.'&a='.A_BRANCHING.'"><span class="bold">'.$lang['srv_voting_edit2'].'</span></a>.';
|
echo ' <p>';
|
||||||
|
echo $lang['srv_voting_invitations1'].' <a href="index.php?anketa='.$this->anketa.'&a='.A_INVITATIONS.'">'.$lang['srv_voting_invitations2'].'</a>.';
|
||||||
echo '<br><br>';
|
echo ' </p>';
|
||||||
|
|
||||||
echo $lang['srv_voting_invitations1'].' <a href="index.php?anketa='.$this->anketa.'&a='.A_INVITATIONS.'"><span class="bold">'.$lang['srv_voting_invitations2'].'</span></a>.';
|
|
||||||
|
|
||||||
echo '<br><br>';
|
|
||||||
|
|
||||||
echo '</fieldset>';
|
echo '</fieldset>';
|
||||||
}
|
}
|
||||||
|
@ -3162,6 +3162,7 @@ $lang = array (
|
|||||||
"srv_vrsta_survey_type_14" => "Klepet",
|
"srv_vrsta_survey_type_14" => "Klepet",
|
||||||
"srv_vrsta_survey_type_15" => "Panel",
|
"srv_vrsta_survey_type_15" => "Panel",
|
||||||
"srv_vrsta_survey_type_16" => "Napredni parapodatki",
|
"srv_vrsta_survey_type_16" => "Napredni parapodatki",
|
||||||
|
"srv_vrsta_survey_type_16_on" => "Vklopi modul 'Napredni parapodatki'",
|
||||||
"srv_vrsta_survey_type_17" => "JSON izvoz ankete",
|
"srv_vrsta_survey_type_17" => "JSON izvoz ankete",
|
||||||
"srv_vrsta_survey_type_18" => "Volitve",
|
"srv_vrsta_survey_type_18" => "Volitve",
|
||||||
"srv_vrsta_survey_with_pool" => "Dodajanje glasovanja",
|
"srv_vrsta_survey_with_pool" => "Dodajanje glasovanja",
|
||||||
@ -3244,7 +3245,10 @@ $lang = array (
|
|||||||
"srv_zakljucek_vprasalnika" => "Zaključek vprašalnika",
|
"srv_zakljucek_vprasalnika" => "Zaključek vprašalnika",
|
||||||
"srv_kviz_konec_note" => "Če ni izbrana nobena opcija, vidi rezultate samo administrator",
|
"srv_kviz_konec_note" => "Če ni izbrana nobena opcija, vidi rezultate samo administrator",
|
||||||
"srv_voting" => "Volitve",
|
"srv_voting" => "Volitve",
|
||||||
"srv_voting_info" => "Modul volitve omogoča pošiljanje vabil z izklopom vseh parapodatkov in brez kakršnekoli možnosti povezovanja podatkov z elektronskimi naslovi in drugimi identifikatorji.<br>Po vklopu, izklop modula ni več mogoč!",
|
"srv_voting_on" => "Vklopi modul 'Volitve'",
|
||||||
|
"srv_voting_info" => "Modul volitve omogoča pošiljanje vabil z izklopom vseh parapodatkov in brez kakršnekoli možnosti povezovanja podatkov z elektronskimi naslovi in drugimi identifikatorji.",
|
||||||
|
"srv_voting_info_link" => "<a href=\"https://www.1ka.si/d/sl/pomoc/prirocniki/napredni-modul-volitve\" target=\"_blank\">Več informacij o modulu 'Volitve'</a>",
|
||||||
|
"srv_voting_info_warning" => "<b>Po vklopu, izklop modula na anketi ni več mogoč!</b>",
|
||||||
"srv_voting_info_error" => "V anketi so bila že vklopljena oziroma poslana email vabila, zato modula na tej anketi ni mogoče vklopiti.",
|
"srv_voting_info_error" => "V anketi so bila že vklopljena oziroma poslana email vabila, zato modula na tej anketi ni mogoče vklopiti.",
|
||||||
"srv_voting_edit1" => "Vprašalnik urejate v zavihku",
|
"srv_voting_edit1" => "Vprašalnik urejate v zavihku",
|
||||||
"srv_voting_edit2" => "Urejanje",
|
"srv_voting_edit2" => "Urejanje",
|
||||||
|
@ -3135,6 +3135,7 @@ $lang = array (
|
|||||||
"srv_vrsta_survey_type_14" => "Chat",
|
"srv_vrsta_survey_type_14" => "Chat",
|
||||||
"srv_vrsta_survey_type_15" => "Panel",
|
"srv_vrsta_survey_type_15" => "Panel",
|
||||||
"srv_vrsta_survey_type_16" => "Advanced paradata",
|
"srv_vrsta_survey_type_16" => "Advanced paradata",
|
||||||
|
"srv_vrsta_survey_type_16_on" => "Activate 'Advanced paradata' module",
|
||||||
"srv_vrsta_survey_type_17" => "JSON survey export",
|
"srv_vrsta_survey_type_17" => "JSON survey export",
|
||||||
"srv_vrsta_survey_type_18" => "Voting",
|
"srv_vrsta_survey_type_18" => "Voting",
|
||||||
"srv_vrsta_survey_with_pool" => "Add vote",
|
"srv_vrsta_survey_with_pool" => "Add vote",
|
||||||
@ -3215,7 +3216,10 @@ $lang = array (
|
|||||||
"srv_zakljucek_vprasalnika" => "Survey end",
|
"srv_zakljucek_vprasalnika" => "Survey end",
|
||||||
"srv_kviz_konec_note" => "If no option is selected, only administrator can view results",
|
"srv_kviz_konec_note" => "If no option is selected, only administrator can view results",
|
||||||
"srv_voting" => "Voting",
|
"srv_voting" => "Voting",
|
||||||
"srv_voting_info" => "The Voting module allows you to send invitations by turning off all paraadata and without any possibility of associating data with e-mail addresses and other identifiers.<br>After switching on, switching off the module is no longer possible!",
|
"srv_voting_on" => "Activate the 'Voting' module",
|
||||||
|
"srv_voting_info" => "The Voting module allows you to send invitations by turning off all paraadata and without any possibility of associating data with e-mail addresses and other identifiers.",
|
||||||
|
"srv_voting_info_link" => "<a href=\"https://www.1ka.si/d/sl/pomoc/prirocniki/napredni-modul-volitve\" target=\"_blank\">More info about 'voting' module</a>",
|
||||||
|
"srv_voting_info_warning" => "<b>After switching on, switching off the module is no longer possible!</b>",
|
||||||
"srv_voting_info_error" => "Email invitations have already been activated or sent, so the module cannot be activated in this survey.",
|
"srv_voting_info_error" => "Email invitations have already been activated or sent, so the module cannot be activated in this survey.",
|
||||||
"srv_voting_edit1" => "You can edit the questionnaire in a tab",
|
"srv_voting_edit1" => "You can edit the questionnaire in a tab",
|
||||||
"srv_voting_edit2" => "Edit",
|
"srv_voting_edit2" => "Edit",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user