From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- admin/survey/modules/mod_chat/class.SurveyChat.php | 49 +++++++++++++++------- 1 file changed, 35 insertions(+), 14 deletions(-) (limited to 'admin/survey/modules/mod_chat/class.SurveyChat.php') diff --git a/admin/survey/modules/mod_chat/class.SurveyChat.php b/admin/survey/modules/mod_chat/class.SurveyChat.php index 4f65b13..6afa624 100644 --- a/admin/survey/modules/mod_chat/class.SurveyChat.php +++ b/admin/survey/modules/mod_chat/class.SurveyChat.php @@ -26,6 +26,10 @@ class SurveyChat{ // Nastavitve chat-a (na kateri strani se prikaze...) public function displaySettings(){ global $lang; + global $site_url; + + $preklici_url = ltrim(str_replace("&s=1","",$_SERVER['REQUEST_URI']),"/"); + $preklici_url = "'". $site_url . $preklici_url . "'"; $row = SurveyInfo::getInstance()->getSurveyRow(); @@ -40,27 +44,44 @@ class SurveyChat{ $row = mysqli_fetch_array($sql); $code = $row['code']; } - echo ''.$lang['srv_chat_code'].':'; - echo ''; - - echo '

'; + + echo '

'.$lang['srv_vrsta_survey_note_14_1a'].':

'; + + echo '
'; + echo '

'.$lang['srv_chat_code'].':

'; + echo ''; + echo '
'; // Prikaz vklopa chata - echo ''.$lang['srv_chat_type'].':'; - echo ''; - echo ''; - echo ''; - - echo '

'; + echo '

'.$lang['srv_vrsta_survey_note_14_1c'].'

'; + + echo '
'; + echo ''.$lang['srv_chat_type'].':'; + + echo '
'; + echo ''; + echo ''; + echo '
'; + echo '
'; + echo ''; + echo ''; + echo '
'; + echo '
'; + echo ''; + echo ''; + echo '
'; + + echo '
'; echo ''; // Gumb shrani - echo '
'; - echo ''; - echo '
'; + echo '
'; + echo ''; + echo ''; + echo '
'; + echo '
'; } -- cgit v1.2.3