[Redizajn 1KA] - Objava -> Pregled - v1
This commit is contained in:
parent
8099e22ef9
commit
454a99bc12
@ -2422,74 +2422,112 @@ class SurveyAdminSettings {
|
||||
$row = SurveyInfo::getInstance()->getSurveyRow();
|
||||
|
||||
$d = new Dostop();
|
||||
|
||||
echo '<table id="tbl_inv_setting" style="width:100%">';
|
||||
echo '<colgroup>';
|
||||
echo '<col style="width:30%;" valign="top"/>';
|
||||
echo '<col style="width:70%;" valign="top"/>';
|
||||
echo '</colgroup>';
|
||||
|
||||
echo '<tr>';
|
||||
|
||||
# če ni aktivna damo opozorilo
|
||||
echo '<td style="height: 50px;">';
|
||||
|
||||
|
||||
# Opozorilo o napakah
|
||||
$sd = new SurveyDiagnostics($this->anketa);
|
||||
$sd->doDiagnostics();
|
||||
$diagnostic = $sd->getDiagnostic();
|
||||
if (is_array($diagnostic) && count($diagnostic) > 0)
|
||||
echo '<div id="anketa_diagnostika_note2">'.$lang['srv_publication_survey_warnings'].' <a href="index.php?anketa=' . $this->anketa . '&a='.A_TESTIRANJE.'" class="bold">>></a></div>';
|
||||
|
||||
// Aktivacija ankete
|
||||
echo '<span id="anketa_aktivacija_note" '.($row['active']==0?' class="google_yellow"':'').'>';
|
||||
$this->anketa_aktivacija_note();
|
||||
echo'</span>';
|
||||
|
||||
echo '</td>';
|
||||
|
||||
# Povezave, lepi linki...
|
||||
echo '<td style="padding-left:15px;" rowspan="2">';
|
||||
|
||||
# Linki, lepi linki
|
||||
$this->niceUrlSettings();
|
||||
|
||||
echo '<br />';
|
||||
|
||||
// Napredne URL povezave
|
||||
echo '<div style="background-color:#EFF2F7; padding:5px 10px;">';
|
||||
//echo '<span class="strong">'.$lang['srv_publication_advanced_url'].'</span>';
|
||||
echo '<div class="buttonwrapper" style="margin:10px 0; height:25px;"><a class="ovalbutton floatLeft" title="'.$lang['srv_publication_advanced_url'].'" href="index.php?anketa=' . $this->anketa . '&a=' . A_VABILA . '&m=url">'.$lang['srv_publication_advanced_url'].'</a></div>';
|
||||
echo '<p>'.$lang['srv_publication_advanced_url_text'].'</p>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<br />';
|
||||
|
||||
// Individualizirana vabila
|
||||
echo '<div style="background-color:#EFF2F7; padding:5px 10px;">';
|
||||
//echo '<span class="strong">'.$lang['srv_publication_invitations'].'</span>';
|
||||
echo '<div class="buttonwrapper" style="margin:10px 0; height:25px;"><a class="ovalbutton floatLeft" title="'.$lang['srv_publication_invitations'].'" href="index.php?anketa=' . $this->anketa . '&a=invitations">'.$lang['srv_publication_invitations'].'</a></div>';
|
||||
echo '<p>'.$lang['srv_publication_invitations_text'].'</p>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</td>';
|
||||
/* # Opozorilo o napakah
|
||||
echo '<td style="padding-left:15px;">';
|
||||
$sd = new SurveyDiagnostics($this->anketa);
|
||||
$sd->doDiagnostics();
|
||||
$diagnostic = $sd->getDiagnostic();
|
||||
if (is_array($diagnostic) && count($diagnostic) > 0) {
|
||||
echo '<span id="anketa_diagnostika_note">';
|
||||
$this->anketa_diagnostika_note($sd, $d->checkDostopSub('test'));
|
||||
echo'</span>';
|
||||
|
||||
echo '<div class="top_note" id="publication_warnings">';
|
||||
echo ' <div class="title">';
|
||||
echo ' <span class="faicon warning"></span> '.$lang['srv_warning'];
|
||||
echo '<div class="note_hide"><a href="#" onClick="top_note_hide(\'publication_warnings\'); return false;"">✕</a></div>';
|
||||
echo ' </div>';
|
||||
echo $lang['srv_publication_survey_warnings'].'\'<a href="index.php?anketa=' . $this->anketa . '&a='.A_TESTIRANJE.'">'.$lang['srv_testiranje'].'</a>\'.';
|
||||
echo '</div>';
|
||||
}
|
||||
echo '</td>';*/
|
||||
|
||||
# Opozorilo - anketa ni aktivna
|
||||
if ($row['active']==0) {
|
||||
echo '<div class="top_note">';
|
||||
echo ' <div class="title">';
|
||||
echo ' <span class="faicon warning"></span> '.$lang['srv_publication_survey_noactive'];
|
||||
echo ' </div>';
|
||||
echo '<p class="bottom16">'.$lang['srv_publication_survey_noactive_note'].'</p>';
|
||||
|
||||
|
||||
echo '<div class="top_note_activate">';
|
||||
|
||||
echo '<p class="bold">'.$lang['srv_anketa_noactive2'].'</p>';
|
||||
|
||||
//Toggle kopiran iz headerja
|
||||
if (SurveyInfo::getSurveyColumn('active') == 1) {
|
||||
|
||||
# anketa je aktivna
|
||||
# V kolikor gre za hierarhijo in uporabnik ni administrator hierarhije
|
||||
if (SurveyInfo::getInstance()->checkSurveyModule('hierarhija')){
|
||||
if ($hierarhija_type == 1) {
|
||||
echo '<a href="index.php?anketa=' . $this->anketa . '&a=' . A_HIERARHIJA_SUPERADMIN . '&m=' . M_ADMIN_AKTIVACIJA . '" class="srv_ico" title="' . $lang['srv_anketa_noactive'] . '">';
|
||||
}
|
||||
else{
|
||||
echo '<a href="#" class="srv_ico" title="' . $lang['srv_anketa_active'] . '" style="cursor:text !important;">';
|
||||
}
|
||||
}
|
||||
else {
|
||||
echo '<a href="#" class="srv_ico" onclick="anketa_active(\'' . $this->anketa . '\',\'' . $row['active'] . '\'); return false;" title="' . $lang['srv_anketa_active'] . '">';
|
||||
}
|
||||
|
||||
echo '<div id="srv_active" class="switch_anketa anketa_on"><span class="switch_anketa_content">ON</span></div>';
|
||||
|
||||
echo '</a>';
|
||||
}
|
||||
else {
|
||||
$anketa_active = "anketa_active('" . $this->anketa . "','" . $row['active'] . "'); ";
|
||||
|
||||
//Preden anketo aktiviramo preverimo, če gre tudi za izgradnjo hierarhije in če anketa še ni bila aktivirana
|
||||
if (SurveyInfo::getInstance()->checkSurveyModule('hierarhija')){
|
||||
if ($hierarhija_type == 1) {
|
||||
echo '<a href="index.php?anketa=' . $this->anketa . '&a=' . A_HIERARHIJA_SUPERADMIN . '&m=' . M_ADMIN_AKTIVACIJA . '" class="srv_ico" title="' . $lang['srv_anketa_noactive'] . '">';
|
||||
} else{
|
||||
echo '<a href="#" class="srv_ico" title="' . $lang['srv_anketa_noactive'] . '">';
|
||||
}
|
||||
}
|
||||
else {
|
||||
echo '<a href="#" class="srv_ico" onclick="' . $anketa_active . ' return false;" title="' . $lang['srv_anketa_noactive'] . '">';
|
||||
}
|
||||
|
||||
if ((int)$_last_active > 0) {
|
||||
# anketa je zaključena
|
||||
echo '<div id="srv_inactive" class="switch_anketa anketa_off"><span class="switch_anketa_content">OFF</span></div>';
|
||||
}
|
||||
else {
|
||||
# anketa je neaktivna
|
||||
echo '<div id="srv_inactive" class="switch_anketa anketa_off"><span class="switch_anketa_content">OFF</span></div>';
|
||||
}
|
||||
|
||||
echo '</a>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
|
||||
|
||||
echo '</div>';
|
||||
|
||||
}
|
||||
|
||||
// Delite povezavo do ankete
|
||||
echo '<div class="title"><div class="title_icon"><span class="faicon edit_square empty"></span></div><h2>'.$lang['srv_publication_survey_links'].'</h2></div>';
|
||||
|
||||
echo '<p class="bottom16">'.$lang['srv_publication_survey_links_note'].'</p>';
|
||||
|
||||
echo '<div class="button_holder">';
|
||||
echo '<div class="input_box">';
|
||||
echo '<span class="faicon link-chain link-right blue"></span><span class="italic"></span>';
|
||||
echo '<input type="text" onClick="this.select();" value="'.SurveyInfo::getSurveyLink().'" readonly/>';
|
||||
echo '</div>';
|
||||
echo '<button type="button" class="medium blue" onclick="CopyToClipboard(\''.SurveyInfo::getSurveyLink().'\'); actionNotePopup(\'link_copied\', \'success\');">'.$lang['srv_diagnostika_testiranje_copy'].'</button>';
|
||||
echo '<button type="button" class="medium yellow">'.$lang['srv_nice_url_add'].'</button>';
|
||||
echo '</div>';
|
||||
|
||||
// Povezave za skupine in jezike
|
||||
echo '<p class="bold">'.$lang['srv_publication_survey_grouplang'].'</p>';
|
||||
|
||||
echo '</tr>';
|
||||
$this->niceUrlSettings();
|
||||
|
||||
echo '<tr>';
|
||||
|
||||
echo '<td>';
|
||||
/* --- privzete nastavitve
|
||||
echo '<input type="hidden" value="' . $this->anketa . '" name="anketa" >';
|
||||
|
||||
$base_url = $site_url.'admin/survey/index.php?anketa='.$this->anketa;
|
||||
@ -2548,11 +2586,6 @@ class SurveyAdminSettings {
|
||||
}
|
||||
}
|
||||
|
||||
// nastavimo jezik nazaj
|
||||
/*$file = '../../lang/'.$lang_admin.'.php';
|
||||
if (file_exists($file)) {
|
||||
include($file);
|
||||
}*/
|
||||
$lang = $lang_old;
|
||||
$resp_change_lang = SurveySetting::getInstance()->getSurveyMiscSetting('resp_change_lang');
|
||||
//echo '<p>'.$lang['srv_language_admin_1'].':</p>';
|
||||
@ -2721,11 +2754,6 @@ class SurveyAdminSettings {
|
||||
}
|
||||
}
|
||||
|
||||
// nastavimo jezik nazaj
|
||||
/*$file = '../../lang/'.$lang_admin.'.php';
|
||||
if (file_exists($file)) {
|
||||
include($file);
|
||||
}*/
|
||||
$lang = $lang_old;
|
||||
$resp_change_lang = SurveySetting::getInstance()->getSurveyMiscSetting('resp_change_lang');
|
||||
echo '<p>'.$lang['srv_language_admin_0'].': '.$lang_array[$lang_admin].' / '.$lang_array[$lang_resp].'</p>';
|
||||
@ -2847,17 +2875,71 @@ class SurveyAdminSettings {
|
||||
echo '<p>'.$lang['srv_alert_delete_2'].': '.(count($alert_delete) ? implode(',',$alert_delete) : $lang['no']).'</p>';
|
||||
|
||||
echo '</div>';
|
||||
}
|
||||
} --- privzete nastavitve */
|
||||
|
||||
|
||||
|
||||
// Več načinov deljenja ankete
|
||||
echo '<div class="title"><div class="title_icon"><span class="faicon edit_square empty"></span></div><h2>'.$lang['srv_publication_survey_more'].'</h2></div>';
|
||||
|
||||
echo '<div class="more">';
|
||||
|
||||
// Vabila
|
||||
echo '<div class="more_block" onclick="window.location.href=\'index.php?anketa=' . $this->anketa . '&a=invitations\'">';
|
||||
echo '<div class="more_title">';
|
||||
echo '<div class="more_title_icon"><span class="faicon inv_sent_1 empty"></span></div>';
|
||||
echo $lang['srv_publication_invitations'];
|
||||
echo '</div>';
|
||||
echo $lang['srv_publication_invitations_text'];
|
||||
echo '</div>';
|
||||
|
||||
//HTML koda
|
||||
echo '<div class="more_block">';
|
||||
echo '<div class="more_title">';
|
||||
echo '<div class="more_title_icon"><span class="faicon red html5"></span></div>';
|
||||
echo $lang['srv_anketa_href'];
|
||||
echo '</div>';
|
||||
echo $lang['srv_anketa_href_text'];
|
||||
echo '</div>';
|
||||
|
||||
echo '</fieldset>';
|
||||
echo '</td>';
|
||||
//HTML koda + števec
|
||||
echo '<div class="more_block">';
|
||||
echo '<div class="more_title">';
|
||||
echo '<div class="more_title_icon"><span class="faicon red html5"></span><span class="faicon stopwatch20"></span></div>';
|
||||
echo $lang['srv_anketa_href_count'];
|
||||
echo '</div>';
|
||||
echo $lang['srv_anketa_href_count_text'];
|
||||
echo '</div>';
|
||||
|
||||
echo '<td>';
|
||||
echo '</td>';
|
||||
//Delite s prijatelji
|
||||
echo '<div class="more_block">';
|
||||
echo '<div class="more_title">';
|
||||
echo '<div class="more_title_icon"><span class="faicon fa-qrcode"></span></div>';
|
||||
echo $lang['srv_anketa_href_friends'];
|
||||
echo '</div>';
|
||||
echo $lang['srv_anketa_href_friends_text'];
|
||||
echo '</div>';
|
||||
|
||||
// iFrame - js
|
||||
echo '<div class="more_block">';
|
||||
echo '<div class="more_title">';
|
||||
echo '<div class="more_title_icon"><span class="faicon fa-window-maximize"></span></div>';
|
||||
echo $lang['srv_anketa_href_ijs'];
|
||||
echo '</div>';
|
||||
echo $lang['srv_anketa_href_ijs_text'];
|
||||
echo '</div>';
|
||||
|
||||
echo '</tr>';
|
||||
|
||||
echo '</table>';
|
||||
// iFrame - brez js
|
||||
echo '<div class="more_block">';
|
||||
echo '<div class="more_title">';
|
||||
echo '<div class="more_title_icon"><span class="faicon fa-window-maximize empty"></span></div>';
|
||||
echo $lang['srv_anketa_href_inojs'];
|
||||
echo '</div>';
|
||||
echo $lang['srv_anketa_href_inojs_text'];
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
}
|
||||
|
||||
function niceUrlSettings() {
|
||||
@ -2875,10 +2957,7 @@ class SurveyAdminSettings {
|
||||
$preview_hidecomment = SurveySetting::getInstance()->getSurveyMiscSetting('preview_hidecomment');
|
||||
$preview_options = ''.($preview_disableif==1?'&disableif=1':'').($preview_disablealert==1?'&disablealert=1':'').($preview_displayifs==1?'&displayifs=1':'').($preview_displayvariables==1?'&displayvariables=1':'').($preview_hidecomment==1?'&hidecomment=1':'').'';
|
||||
|
||||
|
||||
echo '<fieldset><legend>'.$lang['srv_publication_base_title'].'</legend>';
|
||||
|
||||
// Predogled url
|
||||
/*// Predogled url
|
||||
echo '<div class="publish_url_holder">';
|
||||
|
||||
echo '<p style="margin: 2px 0;"><a href="' . $link . '&preview=on'.$preview_options.'" target="_blank" class="srv_icox spaceRight"><span class="faicon preview"></span> ' . $lang['srv_poglejanketo2'] . '</b></a>';
|
||||
@ -2905,28 +2984,7 @@ class SurveyAdminSettings {
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
// Navaden url
|
||||
echo '<div class="publish_url_holder">';
|
||||
|
||||
$row = SurveyInfo::getInstance()->getSurveyRow();
|
||||
|
||||
echo '<p style="margin: 2px 0;"><a href="' . $link . '" target="_blank" class="srv_icox spaceRight"><span class="faicon edit_square large"></span> ' . $lang['srv_survey_real'] . '</b></a>';
|
||||
echo '<span class="spaceLeft italic">('.$lang['srv_survey_real_savedata'].')</span></p>';
|
||||
|
||||
echo '<span class="'.($row['active']==1?'url_box_active':'').'" style="display:block;">' . $lang['url'] . ': ';
|
||||
|
||||
$p->include_lang($p->lang_resp);
|
||||
$base_lang_resp = $lang['language'];
|
||||
$p->include_base_lang();
|
||||
|
||||
$link1 = $site_url.'a/'.$row['hash'];
|
||||
echo '<b><a href="'.$link1.'" target="_blank">'.$link1.'</a>'.(count($lang_array) > 0 ? ' - '.$base_lang_resp : '').'</b>';
|
||||
|
||||
echo '<a href="#" onclick="CopyToClipboard(\''.$link1.'\');" return false;" title="Kopiraj povezavo" class="srv_ico">'
|
||||
.'  '
|
||||
. '<span class="faicon copy"></span></a>';
|
||||
|
||||
// Zlistamo vse lepe url-je
|
||||
// Zlistamo vse lepe url-je
|
||||
$sqll = sisplet_query("SELECT id, link FROM srv_nice_links WHERE ank_id = '$this->anketa' ORDER BY id ASC");
|
||||
while ($rowl = mysqli_fetch_assoc($sqll)) {
|
||||
|
||||
@ -2935,10 +2993,22 @@ class SurveyAdminSettings {
|
||||
echo '<br/><span style="margin-left:35px; margin-top:5px; display:inline-block;" ><b>';
|
||||
echo '<a href="'.$link_nice.'" target="_blank">'.$link_nice.'</a>'.(count($lang_array) > 0 ? ' - '.$base_lang_resp : '').'</b></span>';
|
||||
|
||||
}*/
|
||||
|
||||
//echo '<b><a href="'.$site_url.$rowl['link'].'" target="_blank">'.$site_url.$rowl['link'].'</a></b>';
|
||||
//echo '<a href="ajax.php?a=nice_url_remove&anketa='.$this->anketa.'&nice_url='.$rowl['id'].'" title="'.$lang['srv_copy_remove'].'"><img src="img_0/if_remove.png" /></a></b></span>';
|
||||
}
|
||||
// Navaden url
|
||||
echo '<div class="publish_url_holder">';
|
||||
|
||||
$row = SurveyInfo::getInstance()->getSurveyRow();
|
||||
|
||||
$p->include_lang($p->lang_resp);
|
||||
$base_lang_resp = $lang['language'];
|
||||
$p->include_base_lang();
|
||||
|
||||
$link1 = $site_url.'a/'.$row['hash'];
|
||||
echo '<div class="grouplang">';
|
||||
echo '<a href="'.$link1.'" target="_blank">'.$link1.'</a>'.(count($lang_array) > 0 ? ' - '.$base_lang_resp : '');
|
||||
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link1.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
|
||||
echo '</div>';
|
||||
|
||||
// Imamo vec linkov za skupine
|
||||
$ss = new SurveySkupine($this->anketa);
|
||||
@ -2947,36 +3017,34 @@ class SurveyAdminSettings {
|
||||
$vrednosti = $ss->getVrednosti($spr_id);
|
||||
foreach($vrednosti as $vrednost){
|
||||
$link_skupine = isset($vrednost['nice_url']) ? $vrednost['nice_url'] : $vrednost['url'];
|
||||
echo '<br/><span style="margin-left:35px; margin-top:5px; display:inline-block;" ><b>';
|
||||
echo '<a href="'.$link_skupine.'" target="_blank">'.$link_skupine.'</a>'.(count($lang_array) > 0 ? ' - '.$base_lang_resp : '').' - '.$vrednost['naslov'].'</b></span>';
|
||||
echo '<div class="grouplang">';
|
||||
echo '<a href="'.$link_skupine.'" target="_blank">'.$link_skupine.'</a>'.(count($lang_array) > 0 ? ' - '.$base_lang_resp : '').' - '.$vrednost['naslov'];
|
||||
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link_skupine.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// Imamo vec linkov za jezike
|
||||
if (count($lang_array) > 0) {
|
||||
foreach ($lang_array AS $lang_id => $lang_name) {
|
||||
echo '<br/><span style="margin-left:35px; margin-top:5px; display:inline-block;" ><b>';
|
||||
echo '<a href="'.$link.'?language='.$lang_id.'" target="_blank">'.$link.'?language='.$lang_id.'</a> - '.$lang_name.'</b></span>';
|
||||
echo '<div class="grouplang">';
|
||||
echo '<a href="'.$link.'?language='.$lang_id.'" target="_blank">'.$link.'?language='.$lang_id.'</a> - '.$lang_name;
|
||||
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link.'?language='.$lang_id.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
|
||||
echo '</div>';
|
||||
|
||||
if($spr_id > 0){
|
||||
foreach($vrednosti as $vrednost){
|
||||
$link_skupine = isset($vrednost['nice_url']) ? $vrednost['nice_url'] : $vrednost['url'];
|
||||
echo '<br/><span style="margin-left:35px; margin-top:5px; display:inline-block;" ><b>';
|
||||
echo '<a href="'.$link_skupine.'&language='.$lang_id.'" target="_blank">'.$link_skupine.'&language='.$lang_id.'</a> - '.$lang_name.' - '.$vrednost['naslov'].'</b></span>';
|
||||
echo '<div class="grouplang">';
|
||||
echo '<a href="'.$link_skupine.'&language='.$lang_id.'" target="_blank">'.$link_skupine.'&language='.$lang_id.'</a> - '.$lang_name.' - '.$vrednost['naslov'];
|
||||
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link_skupine.'&language='.$lang_id.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo '</span>';
|
||||
|
||||
echo '</fieldset>';
|
||||
|
||||
|
||||
echo '<br />';
|
||||
|
||||
|
||||
// Okno za dodajanje lepega url-ja
|
||||
/*/ Okno za dodajanje lepega url-ja
|
||||
echo '<fieldset><legend>'.$lang['srv_nice_url'].'</legend>';
|
||||
|
||||
// Zlistamo vse lepe url-je
|
||||
@ -3030,7 +3098,7 @@ class SurveyAdminSettings {
|
||||
|
||||
echo '<br /><br />';
|
||||
|
||||
echo '</fieldset>';
|
||||
echo '</fieldset>';*/
|
||||
}
|
||||
|
||||
function anketa_vabila_url() {
|
||||
|
@ -253,7 +253,7 @@ class CrossRoad {
|
||||
$first_action = NAVI_OBJAVA;
|
||||
$_GET['m'] == 'settings' ? $second_action = NAVI_OBJAVA_SETTINGS : ($_GET['m'] == 'url' ? $second_action = NAVI_OBJAVA_URL : $second_action = '');
|
||||
|
||||
$layout_width = 'wide';
|
||||
$layout_width = 'narrow';
|
||||
|
||||
$status = 5;
|
||||
|
||||
|
@ -5529,3 +5529,10 @@ function actionNotePopupClose(){
|
||||
$('#action_note_holder').html('');
|
||||
});
|
||||
}
|
||||
|
||||
//Hide top_note div
|
||||
function top_note_hide(id) {
|
||||
|
||||
$('#'+id).addClass('displayNone');
|
||||
|
||||
}
|
||||
|
23
lang/1.php
23
lang/1.php
@ -1898,9 +1898,15 @@ $lang = array (
|
||||
"srv_anketa_is_not_active" => "NEAKTIVNA",
|
||||
"srv_anketa_is_finished" => "ZAKLJUČENA",
|
||||
"srv_anketa_href" => "HTML koda povezave",
|
||||
"srv_anketa_href_text" => "Običajna HTML koda za povezavo",
|
||||
"srv_anketa_href_count" => "HTML koda povezave s števcem ogledov",
|
||||
"srv_anketa_href_count_text" => "HTML koda skupaj s števcem, ki šteje število ogledov <u>povezave</u> na anketo",
|
||||
"srv_anketa_href_text" => "Delite povezavo do ankete na vaši spletni strani.",
|
||||
"srv_anketa_href_count" => "HTML koda s števcem ogledov",
|
||||
"srv_anketa_href_count_text" => "Delite povezavo do ankete na vaši spletni strani in beležite število ogledov povezave na anketo. ",
|
||||
"srv_anketa_href_friends" => "Delite s prijatelji",
|
||||
"srv_anketa_href_friends_text" => "Delite povezavo do ankete s prijatelji na družbenih medijih (Facebook, Twitter, Linkedin, itd.)",
|
||||
"srv_anketa_href_ijs" => "iFrame - JavaScript verzija",
|
||||
"srv_anketa_href_ijs_text" => "Vdelajte anketo na vašo spletno stran, da lahko respondenti anketo rešujejo na vaši strani.",
|
||||
"srv_anketa_href_inojs" => "iFrame - brez JavaScripta",
|
||||
"srv_anketa_href_inojs_text" => "Vdelajte anketo na vašo spletno stran, da lahko respondenti anketo rešujejo na vaši strani.",
|
||||
"srv_anketa_noactive_email" => "Označi anketo kot 'Email vabila''.",
|
||||
"srv_anketa_setActive_email" => "aktiviraj 'Email vabila'",
|
||||
"srv_anketa_active_email" => "Anketa je označena kot 'Email vabila'.",
|
||||
@ -4278,7 +4284,14 @@ $lang = array (
|
||||
# "srv_collect_full_meta" => "Para podatke (lastnosti računalika, podrobni podatki o e-poštnih vabilih in telefonskih klicih).",
|
||||
"srv_publication_base" => "Pregled",#"Nastavitve",#"Objava URL",
|
||||
"srv_publication_base_title" => "Osnovne URL povezave",
|
||||
"srv_publication_survey_warnings" => "Anketa ima napake, opozorila, priporočila, nerešene komentarje.",
|
||||
"srv_publication_survey_warnings" => "Anketa ima napake, opozorila, priporočila ali nerešene komentarje, ki jih lahko pregledate v zavihku ",
|
||||
"srv_publication_survey_noactive" => "Vaša anketa še ni aktivirana",
|
||||
"srv_publication_survey_links" => "Delite povezavo do ankete",
|
||||
"srv_publication_survey_links_note" => "Spodaj je povezava do vprašalnika, kjer se podatki normalno shranjujejo v bazo. To povezavo sporočite dejanskim respondentom, denimo z objavo na družbenih omrežjih, forumih, prek e-maila, ipd.",
|
||||
"srv_publication_survey_noactive_note" => "Če želite zbirati realne podatke, je anketo treba aktivirati.",
|
||||
"srv_publication_survey_grouplang" => "Povezave za skupine in jezike",
|
||||
"srv_publication_survey_more" => "Več načinov deljenja ankete",
|
||||
"srv_publication_survey_copylink" => "Kopiraj povezavo",
|
||||
"srv_publication_advanced_url" => "Napredne URL povezave",
|
||||
"srv_publication_advanced_url_text" => "HTML koda, QR koda, vdelava, pop-up, Twitter, Facebook...",
|
||||
"srv_publication_invitations" => "Vabila v anketo",
|
||||
@ -4522,7 +4535,7 @@ $lang = array (
|
||||
"admin_please_enable_this_b" => "Prosimo, vklopite B za to navigacijo v urejanju navigacij",
|
||||
"admin_too_many_b" => "Žtevilo prikazanih kategorij je zaradi hitrosti omejeno na 2000.",
|
||||
"srv_nice_url" => "Lep URL",
|
||||
"srv_nice_url_add" => "Dodaj nov lep URL",
|
||||
"srv_nice_url_add" => "Ustvari lepo URL povezavo",
|
||||
"srv_nice_url_remove" => "Odstrani lep URL",
|
||||
"srv_nice_url_taken" => "je že zaseden!",
|
||||
"srv_nice_url_short" => "je prekratek! Minimalna dolžina so 3 znaki.",
|
||||
|
23
lang/2.php
23
lang/2.php
@ -1891,9 +1891,15 @@ $lang = array (
|
||||
"srv_anketa_is_not_active" => "NOT ACTIVE",
|
||||
"srv_anketa_is_finished" => "FINISHED",
|
||||
"srv_anketa_href" => "HTML code for link",
|
||||
"srv_anketa_href_text" => "",
|
||||
"srv_anketa_href_count" => "HTML code for link with view counter",
|
||||
"srv_anketa_href_count_text" => "",
|
||||
"srv_anketa_href_text" => "Share the link to the survey on your website.",
|
||||
"srv_anketa_href_count" => "HTML code with view counter",
|
||||
"srv_anketa_href_count_text" => "Share the link to the survey on your website and keep track of the number of views of the survey link. ",
|
||||
"srv_anketa_href_friends" => "Share with friends",
|
||||
"srv_anketa_href_friends_text" => "Share the link to the survey with your friends on social media (Facebook, Twitter, Linkedin, etc.)",
|
||||
"srv_anketa_href_ijs" => "iFrame - JavaScript version",
|
||||
"srv_anketa_href_ijs_text" => "Embed the survey on your website so that respondents can complete the survey on your website.",
|
||||
"srv_anketa_href_inojs" => "iFrame - without JavaScripta",
|
||||
"srv_anketa_href_inojs_text" => "Embed the survey on your website so that respondents can complete the survey on your website.",
|
||||
"srv_anketadelete" => "Delete survey",
|
||||
"srv_anketarename_txt" => "Rename",
|
||||
"srv_anketadelete_txt" => "Delete",
|
||||
@ -4256,7 +4262,14 @@ $lang = array (
|
||||
# "srv_collect_full_meta" => "meta podatke (lastnosti računalika, podrobni podatki o e-poštnih vabilih in telefonskih klicih).",
|
||||
"srv_publication_base" => "Overview",#"URL publication",
|
||||
"srv_publication_base_title" => "Survey links",
|
||||
"srv_publication_survey_warnings" => "Survey has errors, warnings, recommendations, unresolved comments.",
|
||||
"srv_publication_survey_warnings" => "Survey has errors, warnings, recommendationsor unresolved comments which you can review here: ",
|
||||
"srv_publication_survey_noactive" => "Your survey has not been activated yet",
|
||||
"srv_publication_survey_noactive_note" => "To collect real data, the survey must be activated.",
|
||||
"srv_publication_survey_grouplang" => "Group and language links",
|
||||
"srv_publication_survey_copylink" => "Copy link",
|
||||
"srv_publication_survey_more" => "More ways to share the survey",
|
||||
"srv_publication_survey_links" => "Share survey link",
|
||||
"srv_publication_survey_links_note" => "Below is a link to the questionnaire where the data is normally stored in the database. Share this link with the actual respondents, e.g. by posting on social networks, forums, via email, etc.",
|
||||
"srv_publication_advanced_url" => "Advanced URL links",
|
||||
"srv_publication_advanced_url_text" => "HTML code, QR code, embedd, pop-up, Twitter, Facebook...",
|
||||
"srv_publication_invitations" => "Individualised invitations",
|
||||
@ -4497,7 +4510,7 @@ $lang = array (
|
||||
"admin_please_enable_this_b" => "Please enable B for this category in menu editing.",
|
||||
"admin_too_many_b" => "Number of categories is limited to 2000.",
|
||||
"srv_nice_url" => "Set custom URL",
|
||||
"srv_nice_url_add" => "Add new custom URL",
|
||||
"srv_nice_url_add" => "Create custom URL",
|
||||
"srv_nice_url_remove" => "Remove custom URL",
|
||||
"srv_nice_url_taken" => "is already taken!",
|
||||
"srv_nice_url_short" => "is too short! Minimal length is 3 characters.",
|
||||
|
@ -6048,6 +6048,14 @@ span.faicon.link-chain::before {
|
||||
content: "\f0c1";
|
||||
}
|
||||
|
||||
span.faicon.html5::before {
|
||||
content: "\f13b";
|
||||
}
|
||||
|
||||
span.faicon.stopwatch20::before {
|
||||
content: "\e06f";
|
||||
}
|
||||
|
||||
/*
|
||||
To change this license header, choose License Headers in Project Properties.
|
||||
To change this template file, choose Tools | Templates
|
||||
@ -10868,6 +10876,200 @@ div.theme_label.span_theme_current img {
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
div#vabila div.top_note {
|
||||
position: relative;
|
||||
}
|
||||
div#vabila div.top_note .note_hide {
|
||||
position: absolute !important;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 9999;
|
||||
font-size: 12px !important;
|
||||
color: #777777;
|
||||
}
|
||||
div#vabila div.top_note .note_hide:hover {
|
||||
color: #333333;
|
||||
}
|
||||
div#vabila div.top_note .note_hide a {
|
||||
color: #777777;
|
||||
text-decoration: none;
|
||||
}
|
||||
div#vabila div.top_note .note_hide a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate p {
|
||||
margin-right: 12px;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 46px;
|
||||
height: 16px;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa .switch_anketa_content {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding-top: 1px;
|
||||
color: white;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 12px;
|
||||
background-color: #1E88E5;
|
||||
border-radius: 16px;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa .switch_anketa_content:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
bottom: 1px;
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa.anketa_on .switch_anketa_content {
|
||||
padding-left: 20px;
|
||||
background-color: #1E88E5;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa.anketa_on .switch_anketa_content:before {
|
||||
left: 1px;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa.anketa_on:hover .switch_anketa_content {
|
||||
background-color: #0059ab;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa.anketa_off .switch_anketa_content {
|
||||
padding-left: 6px;
|
||||
background-color: #808080;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa.anketa_off .switch_anketa_content:before {
|
||||
right: 1px;
|
||||
}
|
||||
div#vabila div.top_note div.top_note_activate .switch_anketa.anketa_off:hover .switch_anketa_content {
|
||||
background-color: #777777;
|
||||
}
|
||||
div#vabila div.title {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 24px;
|
||||
margin-top: 48px;
|
||||
}
|
||||
div#vabila div.title:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
div#vabila div.title div.title_icon {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
border-radius: 2px;
|
||||
background-color: #EAF9FE;
|
||||
color: #1E88E5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 8px;
|
||||
}
|
||||
div#vabila div.title h2 {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
font-weight: 300;
|
||||
font-size: 24px;
|
||||
margin-block-start: 0;
|
||||
margin-block-end: 0;
|
||||
}
|
||||
div#vabila div.title h2:after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
height: 0.5em;
|
||||
vertical-align: bottom;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin-right: -100%;
|
||||
margin-left: 8px;
|
||||
border-top: 1px solid #E5E5E5;
|
||||
}
|
||||
div#vabila div.button_holder {
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
div#vabila div.button_holder button {
|
||||
margin: 0 32px 0 8px;
|
||||
}
|
||||
div#vabila div.button_holder div.input_box {
|
||||
border: 1px solid #C4C4C4;
|
||||
width: 300px;
|
||||
padding: 10px 0 10px 8px;
|
||||
}
|
||||
div#vabila div.button_holder div.input_box input {
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
width: 90%;
|
||||
}
|
||||
div#vabila div.grouplang {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
div#vabila div.grouplang span.faicon {
|
||||
margin-left: 9px;
|
||||
cursor: pointer;
|
||||
}
|
||||
div#vabila div.more {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px 32px;
|
||||
}
|
||||
div#vabila div.more div.more_block {
|
||||
height: auto;
|
||||
width: 298px;
|
||||
background-color: #F8F8F8;
|
||||
border: 1px solid #E5E5E5;
|
||||
padding: 16px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: 0.2s;
|
||||
}
|
||||
div#vabila div.more div.more_block:hover {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
div#vabila div.more div.more_block div.more_title {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
font-size: 16px;
|
||||
}
|
||||
div#vabila div.more div.more_block div.more_title div.more_title_icon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
border-radius: 2px;
|
||||
background-color: #EAF9FE;
|
||||
color: #1E88E5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 8px;
|
||||
position: relative;
|
||||
}
|
||||
div#vabila div.more div.more_block div.more_title div.more_title_icon span.stopwatch20 {
|
||||
font-size: 8px;
|
||||
position: absolute;
|
||||
bottom: 1px;
|
||||
right: 1px;
|
||||
}
|
||||
|
||||
.dashboard_top_settings {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -684,3 +684,13 @@ span.faicon.list::before{
|
||||
span.faicon.link-chain::before{
|
||||
content: "\f0c1";
|
||||
}
|
||||
|
||||
//HTML5
|
||||
span.faicon.html5::before{
|
||||
content: "\f13b";
|
||||
}
|
||||
|
||||
//Stopwatch
|
||||
span.faicon.stopwatch20::before{
|
||||
content: "\e06f";
|
||||
}
|
||||
|
@ -10,4 +10,5 @@
|
||||
@import "podatki";
|
||||
@import "testiranje";
|
||||
@import "oblika_teme";
|
||||
@import "objava";
|
||||
|
||||
|
262
resources/sass/admin_new/pages/my_surveys/objava.scss
Normal file
262
resources/sass/admin_new/pages/my_surveys/objava.scss
Normal file
@ -0,0 +1,262 @@
|
||||
div#vabila {
|
||||
|
||||
div.top_note {
|
||||
position: relative;
|
||||
|
||||
.note_hide{
|
||||
position: absolute !important;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 9999;
|
||||
|
||||
font-size: 12px !important;
|
||||
color: $very-dark-gray;
|
||||
|
||||
&:hover{
|
||||
color: $black;
|
||||
}
|
||||
|
||||
a{
|
||||
color: $very-dark-gray;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover{
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Toggle za aktivacijo ankete
|
||||
div.top_note_activate{
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
p {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
// Gumb za aktivacijo ankete - kopirano iz headerja
|
||||
.switch_anketa {
|
||||
position: relative;
|
||||
display: block;
|
||||
|
||||
width: 46px;
|
||||
height: 16px;
|
||||
|
||||
.switch_anketa_content {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding-top: 1px;
|
||||
|
||||
color: white;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 12px;
|
||||
|
||||
background-color: $blue;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.switch_anketa_content:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
bottom: 1px;
|
||||
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.switch_anketa.anketa_on{
|
||||
.switch_anketa_content{
|
||||
padding-left: 20px;
|
||||
background-color: $blue;
|
||||
}
|
||||
.switch_anketa_content:before{
|
||||
left: 1px;
|
||||
}
|
||||
&:hover{
|
||||
.switch_anketa_content{
|
||||
background-color: $dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.switch_anketa.anketa_off{
|
||||
.switch_anketa_content{
|
||||
padding-left: 6px;
|
||||
background-color: $very-dark-gray2;
|
||||
}
|
||||
.switch_anketa_content:before{
|
||||
right: 1px;
|
||||
}
|
||||
&:hover{
|
||||
.switch_anketa_content{
|
||||
background-color: $very-dark-gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Naslovi z ikonami
|
||||
div.title {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
margin-bottom: 24px;
|
||||
margin-top: 48px;
|
||||
&:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
div.title_icon {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
border-radius: 2px;
|
||||
background-color: $light-blue;
|
||||
color: $blue;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
font-weight: $light;
|
||||
font-size: 24px;
|
||||
|
||||
margin-block-start: 0;
|
||||
margin-block-end: 0;
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
height: 0.5em;
|
||||
vertical-align: bottom;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin-right: -100%;
|
||||
margin-left: 8px;
|
||||
border-top: 1px solid $gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Polje za kopiranje linka
|
||||
div.button_holder {
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
|
||||
button {
|
||||
margin: 0 32px 0 8px;
|
||||
}
|
||||
|
||||
div.input_box {
|
||||
border: 1px solid $dark-gray;
|
||||
width: 300px;
|
||||
padding: 10px 0 10px 8px;
|
||||
|
||||
input {
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
width: 90%
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Seznam linkov za skupine/jezike
|
||||
div.grouplang {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
span.faicon {
|
||||
margin-left: 9px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// Več načinov deljenja ankete
|
||||
div.more {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
gap: 16px 32px;
|
||||
|
||||
div.more_block {
|
||||
height: auto;
|
||||
width: 298px;
|
||||
|
||||
background-color: $light-gray;
|
||||
border: 1px solid $gray;
|
||||
|
||||
padding: 16px;
|
||||
|
||||
font-size: 14px;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
transition: 0.2s;
|
||||
&:hover {
|
||||
background-color: darken($light-gray, 5%);
|
||||
}
|
||||
|
||||
div.more_title {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
text-transform: uppercase;
|
||||
font-weight: $semi-bold;
|
||||
|
||||
margin-bottom: 8px;
|
||||
|
||||
font-size: 16px;
|
||||
|
||||
div.more_title_icon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
border-radius: 2px;
|
||||
background-color: $light-blue;
|
||||
color: $blue;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
margin-right: 8px;
|
||||
|
||||
position: relative;
|
||||
|
||||
span.stopwatch20 {
|
||||
font-size: 8px;
|
||||
position: absolute;
|
||||
|
||||
bottom: 1px;
|
||||
right: 1px
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user