Objava - pregled

This commit is contained in:
Nejc Kovač 2022-07-17 18:17:10 +02:00
parent dbba06f2fb
commit 4a6711cd60
7 changed files with 89 additions and 7 deletions

View File

@ -6941,7 +6941,19 @@ class SurveyAdminAjax {
echo '<a href="'.$link.'?anketa='.$this->anketa.'&a=prevajanje&lang_id='.$key.'" target="_blank">'.$val.'</a>';
}
echo '</p>';
}
}
# Prevod
echo '<p> <span>Prevod: </span>';
echo '<span><a href="#">Belarussian</a>, </span>';
echo '<span><a href="#">Bulgarian</a></span>';
echo '</p>';
#piškotki
echo '<p><span>'.$lang['srv_cookie'].':</span> <a href="'.$base_url.'&a='.A_COOKIE.'&f=vabila_settings" title="'.$lang['srv_cookie'].'"><span class="qs_data as_link">'.$lang['srv_cookie_'.$row['cookie']].'</span></a></p>';
echo '<p><span>'.$lang['srv_cookie_return'].':</span> <a href="'.$base_url.'&a='.A_COOKIE.'&f=vabila_settings" title="'.$lang['srv_cookie_return'].'"><span class="qs_data as_link">'.($row['cookie_return'] == 0 ? $lang['srv_cookie_return_start'] : $lang['srv_cookie_return_middle']).'</span></a></p>';

View File

@ -2923,6 +2923,21 @@ class SurveyAdminSettings {
$link1 = $site_url.'a/'.$row['hash'];
echo '<div class="grouplang">';
echo '<a href="'.$link1.'" target="_blank">'.$link1.'</a>'.(count($lang_array) > 0 ? '&nbsp- '.$base_lang_resp : '');
echo '<div class= "lang_span">- English </div>';
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link1.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
echo '</div>';
$link1 = $site_url.'a/'.$row['hash'];
echo '<div class="grouplang">';
echo '<a href="'.$link1.'" target="_blank">'.$link1.'</a>'.(count($lang_array) > 0 ? '&nbsp- '.$base_lang_resp : '');
echo '<div class= "lang_span">- Slovenščina </div>';
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link1.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
echo '</div>';
$link1 = $site_url.'a/'.$row['hash'];
echo '<div class="grouplang">';
echo '<a href="'.$link1.'" target="_blank">'.$link1.'</a>'.(count($lang_array) > 0 ? '&nbsp- '.$base_lang_resp : '');
echo '<div class= "lang_span">- Italian </div>';
echo '<span class="faicon blue copy" onclick="CopyToClipboard(\''.$link1.'\'); actionNotePopup(\'link_copied\', \'success\'); return false;" title="'.$lang['srv_publication_survey_copylink'].'"></span>';
echo '</div>';

View File

@ -1915,8 +1915,8 @@ $lang = array (
"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" => "QR koda",
"srv_anketa_href_friends_text" => "Delite povezavo do ankete s QR kodo.",
"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_ijs_text2" => "Tu lahko skopirate kodo vaše ankete (Javascript verzija) in jo vdelate v vašo spletno stran.",

View File

@ -1908,8 +1908,8 @@ $lang = array (
"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" => "QR code",
"srv_anketa_href_friends_text" => "Share the link to the survey with a QR code.",
"srv_anketa_href_friends" => "Share with friends",
"srv_anketa_href_friends_text" => "Share the survey link with 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_ijs_text2" => "You can copy the code of your survey (Javascript version) and embed it into your own website.",

View File

@ -24504,6 +24504,8 @@ div#vabila div.button_holder .copy_survey_url_holder button {
}
div#vabila div.button_holder #nice_url_button {
margin: 0 0 0 32px;
background-color: #FFC700;
border: 1px #FFC700 solid;
}
div#vabila div.button_holder #nice_url_holder {
display: flex;
@ -24644,6 +24646,20 @@ div#general_popup div.popup_content.publish.settings div#publish_settings_more {
display: none;
}
@media screen and (max-width: 1300px) {
#vabila .copy_survey_url_holder .input_box {
width: 300px;
}
#vabila .button_holder {
display: unset;
}
#vabila .button_holder #nice_url_button {
margin: 16px 0px !important;
}
#vabila .button_holder #nice_url_holder {
margin: 16px 0px !important;
}
}
.page_invitations .invitations_holder.half-half {
display: flex;
}
@ -33413,7 +33429,7 @@ header .mobile_menu .mobile_menu_user .submenu_user_content > div a {
width: 100%;
}
.page_vabila #vabila .button_holder .copy_survey_url_holder .input_box {
width: auto;
max-width: 300px;
}
.page_vabila #vabila .button_holder #nice_url_button {
margin: 16px 0 0 0;

View File

@ -10,7 +10,7 @@
// Url ankete in kopiranje url-ja
.input_box {
width: auto;
max-width: 300px;
}
}

View File

@ -124,6 +124,8 @@ div#vabila {
// Nice URL - gumb
#nice_url_button{
margin: 0 0 0 32px;
background-color: #FFC700;
border: 1px #FFC700 solid;
}
// Nice URL - dodajanje
@ -320,3 +322,40 @@ div#general_popup {
}
}
}
@media screen and (max-width: 1300px){
#vabila{
.copy_survey_url_holder{
.input_box{
width: 300px;
}
}
.button_holder {
display: unset;
#nice_url_button {
margin: 16px 0px !important;
}
#nice_url_holder {
margin: 16px 0px !important;
}
}
}
}