diff --git a/admin/survey/Branching.php b/admin/survey/Branching.php index 48f535f86..f6e647b3a 100644 --- a/admin/survey/Branching.php +++ b/admin/survey/Branching.php @@ -6172,14 +6172,43 @@ class Branching { // Poglej komentarje if ($admin_type <= $question_comment_viewadminonly || $question_comment_viewauthor==1) { - echo ''; + echo '
'; echo ' '; - echo ''; + echo '
'; - echo ''; + echo '
'; + + echo '
'; + echo '
'; + echo ''; + echo $lang['srv_admin_comment']; + echo '
'; + echo ''; + echo '
'; + + echo 'TODO: load editor commments'; + + echo '
'; + echo ''; + echo '
'; + + echo '
'; //comment_inline_popup + + // Klik izven - zapremo popup + echo ''; + + //echo ''; } } @@ -6190,14 +6219,44 @@ class Branching { $row = mysqli_fetch_array($sql); if ($row['count'] > 0) { - echo ''; + echo '
'; echo ' '; - echo ''; + echo '
'; + + echo '
'; + + echo '
'; + echo '
'; + echo ''; + echo $lang['srv_repondent_comment']; + echo '
'; + echo ''; + echo '
'; + + echo 'TODO: load respondent commments'; + + echo '
'; + echo ''; + echo '
'; + + echo '
'; //comment_inline_popup + + // Klik izven - zapremo popup + echo ''; + - echo ''; + //echo ''; } echo ''; } diff --git a/admin/survey/script/script.js b/admin/survey/script/script.js index 0cc22b735..b070cbcee 100644 --- a/admin/survey/script/script.js +++ b/admin/survey/script/script.js @@ -5723,6 +5723,11 @@ function toggleCommentDropdownTestSurvey () { function toggleCommentPopupInline ($type) { + if ($type==3) // komentarji respondentov + $("#comment_inline_respondent").toggleClass('displayNone'); + if ($type==2) // komentarji urednikov + $("#comment_inline_editor").toggleClass('displayNone'); if ($type==1) // dodaj komentar $("#comment_inline_add").toggleClass('displayNone'); + } \ No newline at end of file