[Redizajn 1KA] - Urejanje --> Nastavitve --> Panel - v1
This commit is contained in:
parent
b8222579ca
commit
116c6bd3f3
@ -9619,12 +9619,14 @@ class SurveyAdminSettings {
|
|||||||
global $site_path;
|
global $site_path;
|
||||||
|
|
||||||
echo '<fieldset><legend>'.$lang['srv_vrsta_survey_type_15'].'</legend>';
|
echo '<fieldset><legend>'.$lang['srv_vrsta_survey_type_15'].'</legend>';
|
||||||
echo '<label class="strong'.$css_disabled.'"><input type="checkbox" id="advanced_module_panel" name="panel" value="1" '. (isset($modules['panel']) ? ' checked="checked"' : '').$disabled.' onChange="toggleAdvancedModule(\'panel\');" />';
|
echo '<p>'.$lang['srv_vrsta_survey_note_15_1'].'</p>';
|
||||||
echo $lang['srv_vrsta_survey_type_15'] . '</label>';
|
echo '<p class="top16 bottom16">'.$lang['srv_vrsta_survey_note_15_1a'].'</p>';
|
||||||
echo '<br/><i class="'.$css_disabled.'">'.$lang['srv_vrsta_survey_note_15_1'].'</i>';
|
echo '<div class="setting_holder">';
|
||||||
echo '</fieldset>';
|
echo '<input type="checkbox" id="advanced_module_panel" name="panel" value="1" '. (isset($modules['panel']) ? ' checked="checked"' : '').$disabled.' onChange="toggleAdvancedModule(\'panel\');" />';
|
||||||
|
echo '<label for="advanced_module_panel">'.$lang['srv_vrsta_survey_note_15_1b'].'</label>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '<br />';
|
echo '</fieldset>';
|
||||||
|
|
||||||
echo '<div id="globalSettingsInner">';
|
echo '<div id="globalSettingsInner">';
|
||||||
if(isset($modules['panel'])){
|
if(isset($modules['panel'])){
|
||||||
|
@ -28,6 +28,10 @@ class SurveyPanel{
|
|||||||
// Prikazemo nastavitve pri vklopu naprednega modula
|
// Prikazemo nastavitve pri vklopu naprednega modula
|
||||||
public function displaySettings(){
|
public function displaySettings(){
|
||||||
global $lang;
|
global $lang;
|
||||||
|
global $site_url;
|
||||||
|
|
||||||
|
$preklici_url = ltrim(str_replace("&s=1","",$_SERVER['REQUEST_URI']),"/");
|
||||||
|
$preklici_url = "'". $site_url . $preklici_url . "'";
|
||||||
|
|
||||||
echo '<fieldset><legend>'.$lang['settings'].'</legend>';
|
echo '<fieldset><legend>'.$lang['settings'].'</legend>';
|
||||||
|
|
||||||
@ -35,49 +39,51 @@ class SurveyPanel{
|
|||||||
$row = $this->getPanelSettings();
|
$row = $this->getPanelSettings();
|
||||||
|
|
||||||
// Url za preusmeritev
|
// Url za preusmeritev
|
||||||
echo '<span class="nastavitveSpan1" >'.$lang['srv_panel_url'].':</span>';
|
echo '<div class="setting_holder">';
|
||||||
echo '<input type="text" size="40" name="url" id="url" value="'.$rowA['url'].'" />';
|
echo '<p>'.$lang['srv_panel_url'].':</p>';
|
||||||
|
echo '<input type="text" class="large w300" name="url" id value="'.$rowA['url'].'" />';
|
||||||
echo '<br /><br />';
|
echo '</div>';
|
||||||
|
|
||||||
// Ime parametra za id respondenta
|
// Ime parametra za id respondenta
|
||||||
echo '<span class="nastavitveSpan1" >'.$lang['srv_panel_user_id_name'].':</span>';
|
echo '<div class="setting_holder">';
|
||||||
echo '<input type="text" name="user_id_name" id="user_id_name" value="'.$row['user_id_name'].'" />';
|
echo '<p>'.$lang['srv_panel_user_id_name'].':</p>';
|
||||||
|
echo '<input type="text" class="large w300" name="user_id_name" id="user_id_name" value="'.$row['user_id_name'].'" />';
|
||||||
echo '<br /><br />';
|
echo '</div>';
|
||||||
|
|
||||||
// Ime parametra za status
|
// Ime parametra za status
|
||||||
echo '<span class="nastavitveSpan1" >'.$lang['srv_panel_status_name'].':</span>';
|
echo '<div class="setting_holder">';
|
||||||
echo '<input type="text" name="status_name" id="status_name" value="'.$row['status_name'].'" />';
|
echo '<p" >'.$lang['srv_panel_status_name'].':</p>';
|
||||||
|
echo '<input type="text" class="large w300" name="status_name" id="status_name" value="'.$row['status_name'].'" />';
|
||||||
echo '<br />';
|
echo '</div>';
|
||||||
|
|
||||||
// Privzeta vrednost status parametra
|
// Privzeta vrednost status parametra
|
||||||
echo '<span class="nastavitveSpan1" >'.$lang['srv_panel_status_default'].':</span>';
|
echo '<div class="setting_holder">';
|
||||||
echo '<input type="text" name="status_default" id="status_default" value="'.$row['status_default'].'" />';
|
echo '<p>'.$lang['srv_panel_status_default'].':</p>';
|
||||||
|
echo '<input type="text" class="large w300" name="status_default" id="status_default" value="'.$row['status_default'].'" />';
|
||||||
echo '<br /><br />';
|
echo '</div>';
|
||||||
|
|
||||||
// Primer zacetnega url-ja
|
// Primer zacetnega url-ja
|
||||||
$link = SurveyInfo::getSurveyLink();
|
$link = SurveyInfo::getSurveyLink();
|
||||||
echo '<span class="nastavitveSpan1" >'.$lang['srv_panel_url1_example'].':</span>';
|
echo '<div class="setting_holder">';
|
||||||
echo $link.'?'.$row['user_id_name'].'=RESPONDENT_PANEL_ID';
|
echo '<p>'.$lang['srv_panel_url1_example'].':</p>';
|
||||||
|
echo '<p class="gray">'.$link.'?'.$row['user_id_name'].'=RESPONDENT_PANEL_ID</p>';
|
||||||
echo '<br /><br />';
|
echo '</div>';
|
||||||
|
|
||||||
// Primer končnega url-ja
|
// Primer končnega url-ja
|
||||||
echo '<span class="nastavitveSpan1" >'.$lang['srv_panel_url2_example'].':</span>';
|
echo '<div class="setting_holder">';
|
||||||
echo $rowA['url'].'?'.$row['user_id_name'].'=RESPONDENT_PANEL_ID&'.$row['status_name'].'=PANEL_STATUS';
|
echo '<p>'.$lang['srv_panel_url2_example'].':</p>';
|
||||||
|
echo '<p class="gray">'.$rowA['url'].'?'.$row['user_id_name'].'=RESPONDENT_PANEL_ID&'.$row['status_name'].'=PANEL_STATUS</p>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '</fieldset>';
|
echo '</fieldset>';
|
||||||
|
|
||||||
|
|
||||||
// Gumb shrani
|
// Gumb shrani
|
||||||
echo '<br class="clr" />';
|
|
||||||
echo '<span class="floatLeft spaceRight"><div class="buttonwrapper"><a class="ovalbutton ovalbutton_orange btn_savesettings" href="#" onclick="panel_save_settings(); return false;"><span>';
|
echo '<div class="button_holder">';
|
||||||
echo $lang['edit1337'] . '</span></a></div></span>';
|
echo '<button class="medium white-blue" onClick="window.location='.$preklici_url.'; return false;">'.$lang['edit1338'].'</button>';
|
||||||
echo '<div class="clr"></div>';
|
echo '<button class="medium blue" onclick="panel_save_settings(); return false;">'.$lang['edit1337'].'</button>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '<div id="success_save"></div>';
|
echo '<div id="success_save"></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3132,7 +3132,9 @@ $lang = array (
|
|||||||
"srv_vrsta_survey_note_11_1" => "<br/>Modul 360 stopinj omogoča posebno analizo ankete.",
|
"srv_vrsta_survey_note_11_1" => "<br/>Modul 360 stopinj omogoča posebno analizo ankete.",
|
||||||
"srv_vrsta_survey_note_12_1" => "<br/>Modul omogoča izpis poročila z analizo 360°, kjer se ocenjuje posameznika znotraj organizacije. Zaposleni (nadrejeni, podrejeni, sodelavci in samoocenjevalec) izpolnijo vprašalnik na osnovi katerega se avtomatsko generira poročilo.<br /><br />Za prilagajanje izpisa poročila ali spremembe vprašalnika kontaktirajte Center za pomoč uporabnikom 1KA na tel. št. 030/702-788.",
|
"srv_vrsta_survey_note_12_1" => "<br/>Modul omogoča izpis poročila z analizo 360°, kjer se ocenjuje posameznika znotraj organizacije. Zaposleni (nadrejeni, podrejeni, sodelavci in samoocenjevalec) izpolnijo vprašalnik na osnovi katerega se avtomatsko generira poročilo.<br /><br />Za prilagajanje izpisa poročila ali spremembe vprašalnika kontaktirajte Center za pomoč uporabnikom 1KA na tel. št. 030/702-788.",
|
||||||
"srv_vrsta_survey_note_14_1" => "<br/>Modul omogoča pogovarjanje med respondenti in urednikom ankete preko storitve TAWK. <br /><br />Najprej je potrebno ustvariti uporabniški račun na <a href= \"http:\\www.tawk.to\" target=\"_blank\">www.tawk.to</a>. Po prijavi morate najprej vpisati informacije za ime spletnega mesta: 1KA, nato pa še URL www.1ka.si. Povabite lahko vse anketarje, ki bodo odgovarjali na klepet, nato pa v zadnjem koraku prejmete kodo <b>Widget Code</b>, ki jo morate kopirati in prilepiti na 1KA v spodnje okno <b>TAWK koda</b>.<br /><br />S spodnjimi nastavitvami izberete na kakšen način se prikaže okno za klepet.<br /><br />",
|
"srv_vrsta_survey_note_14_1" => "<br/>Modul omogoča pogovarjanje med respondenti in urednikom ankete preko storitve TAWK. <br /><br />Najprej je potrebno ustvariti uporabniški račun na <a href= \"http:\\www.tawk.to\" target=\"_blank\">www.tawk.to</a>. Po prijavi morate najprej vpisati informacije za ime spletnega mesta: 1KA, nato pa še URL www.1ka.si. Povabite lahko vse anketarje, ki bodo odgovarjali na klepet, nato pa v zadnjem koraku prejmete kodo <b>Widget Code</b>, ki jo morate kopirati in prilepiti na 1KA v spodnje okno <b>TAWK koda</b>.<br /><br />S spodnjimi nastavitvami izberete na kakšen način se prikaže okno za klepet.<br /><br />",
|
||||||
"srv_vrsta_survey_note_15_1" => "<br/>Modul omogoča povezovanje ankete s spletnim panelom (npr. Valicon, GFK...). <a href=\"https://www.1ka.si/d/sl/pomoc/vodic-za-uporabnike/napredni-moduli/panel\" target=\"_blank\">Več >></a>",
|
"srv_vrsta_survey_note_15_1" => "Modul omogoča povezovanje ankete s spletnim panelom (npr. Valicon, GFK, ipd.).",
|
||||||
|
"srv_vrsta_survey_note_15_1a" => "<a href=\"https://www.1ka.si/d/sl/pomoc/vodic-za-uporabnike/napredni-moduli/panel\" target=\"_blank\">Več informacij o modulu 'Panel'</a>",
|
||||||
|
"srv_vrsta_survey_note_15_1b" => "Vklopi modul 'Panel'",
|
||||||
"srv_vrsta_survey_note_16_1" => "<br/>Prikaz grafa (excelleration matrix) po koncu reševanja ankete.",
|
"srv_vrsta_survey_note_16_1" => "<br/>Prikaz grafa (excelleration matrix) po koncu reševanja ankete.",
|
||||||
"srv_vrsta_survey_create" => "Naprej",
|
"srv_vrsta_survey_create" => "Naprej",
|
||||||
"srv_vrsta_survey_with_pages_error" => "Ankete vsebuje pogoje, zato je ne morete spremeniti v preprosto anketo!<br><span class=\"red\">Najprej odstranite vse pogoje.</span>",
|
"srv_vrsta_survey_with_pages_error" => "Ankete vsebuje pogoje, zato je ne morete spremeniti v preprosto anketo!<br><span class=\"red\">Najprej odstranite vse pogoje.</span>",
|
||||||
@ -3200,9 +3202,9 @@ $lang = array (
|
|||||||
"srv_quiz_results_chart" => "Prikaz grafa rezultov kviza v zaključku",
|
"srv_quiz_results_chart" => "Prikaz grafa rezultov kviza v zaključku",
|
||||||
"srv_quiz_results_chart_correct" => "Pravilni odgovori",
|
"srv_quiz_results_chart_correct" => "Pravilni odgovori",
|
||||||
"srv_quiz_results_chart_incorrect" => "Napačni odgovori",
|
"srv_quiz_results_chart_incorrect" => "Napačni odgovori",
|
||||||
"srv_panel_user_id_name" => "Ime parametra za id respondenta",
|
"srv_panel_user_id_name" => "Ime parametra za ID respondenta",
|
||||||
"srv_panel_status_name" => "Ime parametra za status",
|
"srv_panel_status_name" => "Ime parametra za status",
|
||||||
"srv_panel_status_default" => "Privzeta vrednost status parametra",
|
"srv_panel_status_default" => "Privzeta vrednost za parameter status",
|
||||||
"srv_panel_url" => "URL po koncu ankete",
|
"srv_panel_url" => "URL po koncu ankete",
|
||||||
"srv_panel_url1_example" => "Primer URL-ja za prihod na anketo",
|
"srv_panel_url1_example" => "Primer URL-ja za prihod na anketo",
|
||||||
"srv_panel_url2_example" => "Primer URL-ja za preusmeritev po koncu ankete",
|
"srv_panel_url2_example" => "Primer URL-ja za preusmeritev po koncu ankete",
|
||||||
|
@ -3104,7 +3104,9 @@ $lang = array (
|
|||||||
"srv_vrsta_survey_note_11_1" => "<br/>Modul 360 degrees allows specific survey analysis.",
|
"srv_vrsta_survey_note_11_1" => "<br/>Modul 360 degrees allows specific survey analysis.",
|
||||||
"srv_vrsta_survey_note_12_1" => "<br/>Modul omogoča izpis poročila z analizo 360°, kjer se ocenjuje posameznika znotraj organizacije. Zaposleni (nadrejeni, podrejeni, sodelavci in samoocenjevalec) izpolnijo vprašalnik na osnovi katerega se avtomatsko generira poročilo.<br /><br />Za prilagajanje izpisa poročila ali spremembe vprašalnika kontaktirajte Center za pomoč uporabnikom 1KA na tel. št. 030/702-788.",
|
"srv_vrsta_survey_note_12_1" => "<br/>Modul omogoča izpis poročila z analizo 360°, kjer se ocenjuje posameznika znotraj organizacije. Zaposleni (nadrejeni, podrejeni, sodelavci in samoocenjevalec) izpolnijo vprašalnik na osnovi katerega se avtomatsko generira poročilo.<br /><br />Za prilagajanje izpisa poročila ali spremembe vprašalnika kontaktirajte Center za pomoč uporabnikom 1KA na tel. št. 030/702-788.",
|
||||||
"srv_vrsta_survey_note_14_1" => "<br/>The module allows conversation between respondents and editor of the survey through the TAWK service.<br /><br />First, you need to create an user account at <a href= \"http:\\www.tawk.to\" target=\"_blank\">www.tawk.to</a>. After signing in, you must first enter the information for the site's name: 1KA, and then the www.1ka.si URL. You can invite all interviewers who will answer to the chat. In the last step you will receive the Widget Code, which you need to copy and paste in the 1KA website, in the text box <b>TAWK widget code</b> below.<br /><br />Use the settings below to select how the chat window appears.<br /><br />",
|
"srv_vrsta_survey_note_14_1" => "<br/>The module allows conversation between respondents and editor of the survey through the TAWK service.<br /><br />First, you need to create an user account at <a href= \"http:\\www.tawk.to\" target=\"_blank\">www.tawk.to</a>. After signing in, you must first enter the information for the site's name: 1KA, and then the www.1ka.si URL. You can invite all interviewers who will answer to the chat. In the last step you will receive the Widget Code, which you need to copy and paste in the 1KA website, in the text box <b>TAWK widget code</b> below.<br /><br />Use the settings below to select how the chat window appears.<br /><br />",
|
||||||
"srv_vrsta_survey_note_15_1" => "<br/>The module allows connection between survey and web panel (Valicon, GFK...). <a href=\"https://www.1ka.si/d/en/help/user-guide/advanced-modules/panel\" target=\"_blank\">More >></a>",
|
"srv_vrsta_survey_note_15_1" => "The module allows connection between survey and web panel (Valicon, GFK, etc.).",
|
||||||
|
"srv_vrsta_survey_note_15_1a" => "<a href=\"https://www.1ka.si/d/en/help/user-guide/advanced-modules/panel\" target=\"_blank\">More information about the 'Panel' module</a>",
|
||||||
|
"srv_vrsta_survey_note_15_1b" => "Activate the 'Panel' module",
|
||||||
"srv_vrsta_survey_note_16_1" => "<br/>Show chart (excelleration matrix) at the end of survey.",
|
"srv_vrsta_survey_note_16_1" => "<br/>Show chart (excelleration matrix) at the end of survey.",
|
||||||
"srv_vrsta_survey_create" => "Create",
|
"srv_vrsta_survey_create" => "Create",
|
||||||
"srv_vrsta_survey_with_pages_error" => "Survey contains conditions and therefore cannot be changed to survey!<br><span class=\"red\">First, remove all the conditions.</span>",
|
"srv_vrsta_survey_with_pages_error" => "Survey contains conditions and therefore cannot be changed to survey!<br><span class=\"red\">First, remove all the conditions.</span>",
|
||||||
@ -3172,9 +3174,9 @@ $lang = array (
|
|||||||
"srv_quiz_results_chart" => "Show quiz result chart in conclusion",
|
"srv_quiz_results_chart" => "Show quiz result chart in conclusion",
|
||||||
"srv_quiz_results_chart_correct" => "Incorrect answers",
|
"srv_quiz_results_chart_correct" => "Incorrect answers",
|
||||||
"srv_quiz_results_chart_incorrect" => "Correct answers",
|
"srv_quiz_results_chart_incorrect" => "Correct answers",
|
||||||
"srv_panel_user_id_name" => "User id parameter name",
|
"srv_panel_user_id_name" => "User ID parameter name",
|
||||||
"srv_panel_status_name" => "Status parameter name",
|
"srv_panel_status_name" => "Status parameter name",
|
||||||
"srv_panel_status_default" => "Status default value",
|
"srv_panel_status_default" => "Default value for the status parameter",
|
||||||
"srv_panel_url" => "URL after finished survey",
|
"srv_panel_url" => "URL after finished survey",
|
||||||
"srv_panel_url1_example" => "URL example for survey start",
|
"srv_panel_url1_example" => "URL example for survey start",
|
||||||
"srv_panel_url2_example" => "URL example for redirect after survey is finished",
|
"srv_panel_url2_example" => "URL example for redirect after survey is finished",
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ p,span {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gray {
|
.gray {
|
||||||
color: $dark-gray;
|
color: $very-dark-gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.italic {
|
.italic {
|
||||||
|
@ -30,6 +30,9 @@ input {
|
|||||||
&.w200 {
|
&.w200 {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
&.w300 {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
&.w400 {
|
&.w400 {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user