From b87fa9f49653bfe9745c720953b11dcfb39a62d1 Mon Sep 17 00:00:00 2001 From: tejagerjovic Date: Mon, 22 Nov 2021 01:24:06 +0100 Subject: [PATCH] [Redizajn 1KA] - Urejanje --> Nastavitve --> Mobilne nastavitve v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (prej napačno comittan del kode za pdf/rtf izvoze) --- admin/survey/SurveyAdminSettings.php | 69 ++++++++++++++++++++-------- 1 file changed, 50 insertions(+), 19 deletions(-) diff --git a/admin/survey/SurveyAdminSettings.php b/admin/survey/SurveyAdminSettings.php index d72afe7f2..1003d2cb7 100644 --- a/admin/survey/SurveyAdminSettings.php +++ b/admin/survey/SurveyAdminSettings.php @@ -1340,39 +1340,70 @@ class SurveyAdminSettings { /*Nastavitve prikaza za mobilnike*/ if ($_GET['a'] == 'mobile_settings') { - SurveySetting::getInstance()->Init($this->anketa); - - echo '
'; + SurveySetting::getInstance()->Init($this->anketa); + echo '
'; echo ''.$lang['srv_mobile_settings_title'].''; // Prikaz slik pri mobilnikih (default da) $mobile_friendly = SurveySetting::getInstance()->getSurveyMiscSetting('mobile_friendly'); - echo ''.$lang['srv_settings_mobile_friendly'].':'; - echo ' '; - echo ' '; + echo '
'; + + echo ''.$lang['srv_settings_mobile_friendly'].':'; + echo '
'; + echo ''; + echo ''; + echo '
'; + echo '
'; + echo ''; + echo ' '; + echo '
'; - $display = ($mobile_friendly == 1) ? '' : ' display: none;'; - echo '
'; + echo '
'; + + $display = ($mobile_friendly == 1) ? '' : 'displayNone'; + + echo '
'; // Prikaz slik pri mobilnikih (default da) $hide_mobile_img = SurveySetting::getInstance()->getSurveyMiscSetting('hide_mobile_img'); - echo ''.$lang['srv_settings_mobile_img'].':'; - echo ' '; - echo ' '; - - echo ''; + echo '
'; + + echo ''.$lang['srv_settings_mobile_img'].':'; + echo '
'; + echo ''; + echo ' '; + echo '
'; + echo '
'; + echo ''; + echo ' '; + echo '
'; + + echo '
'; + // Prilagoditev tabel pri mobilnikih $mobile_tables = SurveySetting::getInstance()->getSurveyMiscSetting('mobile_tables'); - echo ''.$lang['srv_settings_mobile_tables'].':'; - echo ' '; - echo ' '; - echo ' '; - + echo '
'; + + echo ''.$lang['srv_settings_mobile_tables'].':'; + echo '
'; + echo ''; + echo ' '; echo '
'; - + echo '
'; + echo ''; + echo ' '; + echo '
'; + echo '
'; + echo ''; + echo ' '; + echo '
'; + + echo '
'; + echo '
'; + echo '
'; }