diff --git a/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php b/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php
index 40c140e51..c053f57c2 100644
--- a/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php
+++ b/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php
@@ -5482,27 +5482,20 @@ class SurveyInvitationsNew {
echo '
';
- echo '';
-
+ echo ''.$lang['srv_inv_recipient_list_name'].'
';
+ echo '';
echo '';
- echo '
';
- echo ''.$lang['srv_cancel'].'';
- echo ''.$lang['save'].'';
- echo '
';
+ echo '';
+ echo ' ';
+ echo ' ';
+ echo '
';
echo ''; # id="inv_view_arch_recipients"
sisplet_query("COMMIT");
}
- echo json_encode($return);
-
exit;
}
@@ -6625,39 +6618,49 @@ class SurveyInvitationsNew {
global $lang;
echo '';
- echo $lang['srv_inv_message_draft_new_save'].': ';
- # polovimo vsa sporočila
- $sql_string = "SELECT * FROM srv_invitations_messages WHERE ank_id = '$this->sid'";
- $sql_query = sisplet_query($sql_string);
+ echo '
'.$lang['message'].'
';
+ echo '';
- echo '
';
- #'.((int)$_POST['mid'] > 0 ? ' class="displayNone"' : '').'
- echo '
';
- echo '
';
- echo '';
- echo '';
- echo '
';
- echo $lang['srv_inv_message_draft_list_comment'];
- #.((int)$_POST['mid'] > 0 ? $messages[(int)$_POST['mid']]['comment'] : '').
- echo '';
- echo '
';
- echo '
'.$lang['save'].'';
- echo '
'.$lang['srv_cancel'].'';
- echo '
';
- echo '
'; # id="inv_view_arch_recipients"
+
+ echo '';
+ echo ' '.$lang['srv_inv_message_draft_list_comment'].'';
+ echo ' ';
+ echo '
';
+
+
+ echo '';
+ echo ' ';
+ echo ' ';
+ echo '
';
+
+
+ echo '';
}
@@ -8747,20 +8750,9 @@ class SurveyInvitationsNew {
list($pid, $name, $comment, $uid) = mysqli_fetch_row($sql_query);
echo '';
echo '';
echo '
'; # id="inv_view_arch_recipients"
- /* echo '';
- */
}
function listGetName() {
diff --git a/admin/survey/script/invitations.js b/admin/survey/script/invitations.js
index b2bc625db..1ecd52a46 100644
--- a/admin/survey/script/invitations.js
+++ b/admin/survey/script/invitations.js
@@ -564,12 +564,17 @@ function invMessageRename() {
}
);
}
+
+// najprej dodatno poeditiramo sporočilo
function inv_message_save_advanced(mid) {
- // najprej dodatno poeditiramo sporočilo
+
$('#fade').fadeTo('slow', 1);
+ $('#fullscreen').addClass('divPopUp PopUpNarrow');
$('#fullscreen').html('').fadeIn('slow');
+
$("#fullscreen").load('ajax.php?t=invitations&a=edit_message_details', {anketa:srv_meta_anketa_id, noNavi:'true', mid:mid});
}
+
function inv_message_save_forward(mid) {
//v kolikor je CKEditor vklopljen potem, ga odstranimo pred skranjevanjem
if(CKEDITOR.instances['inv_message_body']){
@@ -894,6 +899,7 @@ function inv_edit_rec_profile() {
var pid = $("#inv_import_list_profiles ol li.active").attr("pid");
$('#fade').fadeTo('slow', 1);
+ $('#fullscreen').addClass('divPopUp PopUpNarrow');
$('#fullscreen').html('').fadeIn('slow');
$("#fullscreen").load('ajax.php?t=invitations&a=edit_rec_profile', {anketa:srv_meta_anketa_id, pid:pid, noNavi:'true'});
}
diff --git a/public/css/admin_new.css b/public/css/admin_new.css
index f02a7ac42..efaface1a 100644
--- a/public/css/admin_new.css
+++ b/public/css/admin_new.css
@@ -8583,6 +8583,11 @@ div#invListAccess {
overflow: auto;
}
+#inv_recipients_profile_name input[type=text],
+#inv_recipients_profile_name textarea {
+ width: 100%;
+}
+
/*
Header scss - top line, menu...
*/
diff --git a/resources/sass/admin_new/components/popup/page_specific.scss b/resources/sass/admin_new/components/popup/page_specific.scss
index 0e7c9fca1..5ece34b36 100644
--- a/resources/sass/admin_new/components/popup/page_specific.scss
+++ b/resources/sass/admin_new/components/popup/page_specific.scss
@@ -795,4 +795,18 @@ div.edit_user_content {
div#invListAccess {
max-height: 200px;
overflow: auto;
+}
+
+
+
+/////// VABILA ////////
+#inv_recipients_profile_name{
+ //@include popup_general();
+
+ //width: 600px !important;
+
+ input[type="text"],
+ textarea{
+ width: 100%;
+ }
}
\ No newline at end of file