diff --git a/admin/survey/SurveyAdminSettings.php b/admin/survey/SurveyAdminSettings.php index eb4603dff..8b51c045f 100644 --- a/admin/survey/SurveyAdminSettings.php +++ b/admin/survey/SurveyAdminSettings.php @@ -1539,7 +1539,7 @@ class SurveyAdminSettings { echo '
'.$lang['srv_extra_translations'].' '; if ($row['multilang'] == 1) { - echo ' '; $lang_id = (int)$_GET['lang_id']; if ($lang_id > 0) @@ -1563,33 +1563,26 @@ class SurveyAdminSettings { if ($row['multilang'] == 1 && $lang_id > 0) { //echo '

'.SurveyInfo::getSurveyLink().'?language='.$lang_id.'

'; } - echo '

'.$lang['srv_info_language'].'

'; - echo '
'; echo ''; // da vemo, da nastavljamo ta besedila + + // Tabela standardnih besed + echo ''; + echo ''; - echo '

 '.($lang_id>0?$lang['srv_multilang']:$lang['srv_language_respons_1']).':'; - + echo '

'; + echo ''; + + // nazaj na administrativni jezik $file = '../../lang/'.$lang_admin.'.php'; include($file); - - echo '

'; - - echo ''.($lang_id>0?$lang['srv_language_respons_1'].': '.$resp_lang['language']:$lang['srv_language_admin'].': '.$lang['language']).''; - echo ''.$lang['srv_std_second'].''; - echo ''; - echo ''.$lang['srv_std_translation'].' '; - - echo '


'; - - echo '

'; + echo '

'; + echo ''; // jezik nastavimo na nastavitev za respondente, ker ta text dejansko nastavljamo $file = '../../lang/'.$lang_resp.'.php'; @@ -1641,16 +1634,18 @@ class SurveyAdminSettings { $this->extra_translation('srv_survey_non_active_notStarted', 1); $this->extra_translation('srv_survey_non_active_expired', 1); $this->extra_translation('srv_survey_non_active_voteLimit', 1); - - - echo '

'; - + // nastavimo jezik nazaj $file = '../../lang/'.$lang_admin.'.php'; include($file); - + + echo '
'.($lang_id>0?$lang['srv_language_respons_1'].': '.$resp_lang['language']:$lang['srv_language_admin'].': '.$lang['language']).''.$lang['srv_std_second'].': '; $file = '../../lang/'.$lang_resp.'.php'; include($file); - echo ' '.$lang['language'].'

'; - - // nazaj na administrativnega + echo $lang['language'].'
'.$lang['srv_std_translation'].'
'; + echo '
'; - + + //Link na zavihek Jezik + echo '

'.$lang['srv_info_language'].'

'; + echo '
'; @@ -2252,16 +2247,17 @@ class SurveyAdminSettings { if($text == 'srv_nextpage_uvod') $next_uvod = $lang_id == '' ? $admin_lang['srv_nextpage_uvod_desc'] : $resp_lang['srv_nextpage_uvod_desc']; - echo '
'.($lang_id==''?$admin_lang[$text]:$resp_lang[$text]).' '.($text == 'srv_nextpage_uvod' ? '('.$next_uvod.')' : '').' '; - echo ''.$lang[$text].' '; - echo '
'.$value.'
'; - + echo ''; + echo ''.($lang_id==''?$admin_lang[$text]:$resp_lang[$text]).' '.($text == 'srv_nextpage_uvod' ? '('.$next_uvod.')' : '').' '; + echo ''.$lang[$text].''; + echo '
'.$value.'
'; + if($editor == 1) echo ''; echo ''; - echo '
'; + echo ''; } function anketa_nice_links () { diff --git a/public/css/admin_new.css b/public/css/admin_new.css index 4622bdf26..d662fc595 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -7634,6 +7634,13 @@ select.dropdown.small option { select.dropdown.w200 { width: 200px; } +select.dropdown.w130 { + width: 130px; +} +select.dropdown.inline { + margin-left: 24px; + margin-top: 0; +} select.dropdown:focus { outline-style: none; box-shadow: none; @@ -7679,7 +7686,7 @@ table { text-align: left; } table td, table th { - padding: 0 16px; + padding: 8px 16px; border-top: 1px solid #E5E5E5; vertical-align: middle; } diff --git a/resources/sass/admin_new/components/form/dropdown.scss b/resources/sass/admin_new/components/form/dropdown.scss index d90660fc4..798be3a42 100644 --- a/resources/sass/admin_new/components/form/dropdown.scss +++ b/resources/sass/admin_new/components/form/dropdown.scss @@ -50,7 +50,14 @@ select.dropdown { &.w200 { width: 200px; - } + } + &.w130 { + width: 130px; + } + &.inline { + margin-left: 24px; + margin-top: 0; + } &:focus { outline-style: none; diff --git a/resources/sass/admin_new/components/table/table.scss b/resources/sass/admin_new/components/table/table.scss index 805e4abdd..ef3ab9145 100644 --- a/resources/sass/admin_new/components/table/table.scss +++ b/resources/sass/admin_new/components/table/table.scss @@ -5,7 +5,7 @@ table { text-align: left; td, th { - padding: 0 16px; + padding: 8px 16px; border-top: 1px solid $gray; vertical-align: middle;