diff --git a/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php b/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php index 3f043682e..c9d103c85 100644 --- a/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php +++ b/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php @@ -5563,8 +5563,11 @@ class SurveyInvitationsNew { echo '
'; - echo '

Urejanje respondenta

'; - + echo '

'.$lang['srv_inv_recipient_edit'].'

'; + echo ''; + + $button_check = 0; + if ((int)$_POST['inv_rid'] > 0) { # polovimo podatke respondenta $sql_string = "SELECT * FROM srv_invitations_recipients WHERE id = '".(int)$_POST['inv_rid']."'"; @@ -5577,49 +5580,49 @@ class SurveyInvitationsNew { echo ''; #email echo ''; #geslo echo ''; #ime echo ''; #priimek echo ''; #naziv echo ''; #telefon echo ''; #drugo echo ''; #odnos if(SurveyInfo::getInstance()->checkSurveyModule('360_stopinj')){ echo ''; } echo '
'.$lang['srv_inv_field_email'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_password'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_firstname'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_lastname'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_salutation'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_phone'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_custom'].''; - echo ''; + echo ''; echo '
'.$lang['srv_inv_field_relation'].''; - echo ''; + echo ''; echo '
'; - - echo '
'; - echo '
'; - echo ''.$lang['srv_inv_recipient_save'].''; + $button_check = 1; } - echo ''.$lang['srv_cancel'].''; - echo '
'; - echo '
'; + + echo '
'; + echo ''; + if($button_check) + echo ''; + echo '
'; } function saveRecipient() { diff --git a/lang/1.php b/lang/1.php index b63231fa6..8e2eec659 100644 --- a/lang/1.php +++ b/lang/1.php @@ -5005,6 +5005,7 @@ $lang = array ( 'srv_inv_recipient_list_recipients' => "Prejemniki: ", 'srv_inv_recipient_list_new' => "Seznam respondentov", 'srv_inv_recipient_delete' => "Izbris respondenta", + 'srv_inv_recipient_edit' => "Urejanje respondenta", 'srv_inv_recipient_delete_text' => "Ali ste prepričani da želite izbrisati respondenta?", 'srv_inv_recipient_delete_error' => "Ne morem izbrisati respondenta!", 'srv_inv_recipient_show_only_duplicates' => "Prikaži samo podvojene", diff --git a/lang/2.php b/lang/2.php index 01fbfe79f..9d8fe17de 100644 --- a/lang/2.php +++ b/lang/2.php @@ -4974,7 +4974,8 @@ $lang = array ( 'srv_inv_recipient_list_comment' => "List comment: ", 'srv_inv_recipient_list_recipients' => "Recipients: ", 'srv_inv_recipient_list_new' => "New list", - 'srv_inv_recipient_delete' => "Delete respondents", + 'srv_inv_recipient_edit' => "Edit respondent", + 'srv_inv_recipient_delete' => "Delete respondent", 'srv_inv_recipient_delete_text' => "Are you sure you want to delete the respondent?", 'srv_inv_recipient_delete_error' => "Can't delete the respondent!", 'srv_inv_recipient_show_only_duplicates' => "Show only duplicated",