diff --git a/admin/survey/SurveyAdminSettings.php b/admin/survey/SurveyAdminSettings.php index 3511c22fd..96e6420aa 100644 --- a/admin/survey/SurveyAdminSettings.php +++ b/admin/survey/SurveyAdminSettings.php @@ -6815,61 +6815,6 @@ class SurveyAdminSettings { } - function testiranje_komentarji_links($comment_count){ - global $lang; - global $site_url; - global $site_path; - global $admin_type; - global $global_user_id; - - - if($_GET['a'] == 'komentarji_anketa'){ - - // Gumb nazaj - echo '
'; - - echo ' ('; - if($comment_count['question']['unresolved'] > 0) - echo ''; - echo $comment_count['question']['unresolved']; - if($comment_count['question']['unresolved'] > 0) - echo ''; - echo '/'.$comment_count['question']['all']; - echo ')'; - } - else{ - - echo ''; - - echo $lang['srv_komentarji_imate'].' '; - if($comment_count['question']['unresolved'] > 0) echo ''; - echo $this->string_format((int)$comment_count['question']['unresolved'], 'srv_cnt_komentarji'); - if($comment_count['question']['unresolved'] > 0) echo ''; - - echo ' '.$lang['srv_komentarji_odskupno'].' '; - echo $this->string_format((int)$comment_count['question']['all'], 'srv_cnt_komentar_na_vprs'); - - echo ''; - - - // Gumb splosni komentarji - echo ' '; - - echo ' ('; - if($comment_count['survey_resp']['unresolved']+$comment_count['survey_admin']['unresolved'] > 0) - echo ''; - echo ($comment_count['survey_resp']['unresolved']+$comment_count['survey_admin']['unresolved']); - if($comment_count['survey_resp']['unresolved']+$comment_count['survey_admin']['unresolved'] > 0) - echo ''; - echo '/'.($comment_count['survey_resp']['all']+$comment_count['survey_admin']['all']); - echo ')'; - } - } - function string_format($cnt,$lang_root) { global $lang; @@ -6956,6 +6901,7 @@ class SurveyAdminSettings { $survey_comment = SurveySetting::getInstance()->getSurveyMiscSetting('survey_comment'); $survey_comment_resp = SurveySetting::getInstance()->getSurveyMiscSetting('survey_comment_resp'); $comment_count = $this->testiranje_komentarji_count(); + $commentmarks_who = SurveySetting::getInstance()->getSurveyMiscSetting('commentmarks_who'); $rowa = SurveyInfo::getInstance()->getSurveyRow(); @@ -6970,16 +6916,6 @@ class SurveyAdminSettings { echo $this->string_format((int)($comment_count['survey_resp']['all']+$comment_count['survey_admin']['all']), 'srv_cnt_komentarji_survey_od'); echo ''; - - /* - ZAČASNO ZAKOMENTIRAN TOOLTIP (prekriva vsebino za redizajn) @TG - echo ' '; - echo ' ('.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.') '; - echo ''; // tooltip */ echo ' '; // expanded-tooltip bottom - echo '