[Redizajn 1KA] Popupi: Objava > Vabila - Preveri nastavitve gumb - v2
This commit is contained in:
parent
b3116231de
commit
6bf44918ac
@ -10638,32 +10638,31 @@ class SurveyAdminSettings {
|
|||||||
$error = true;
|
$error = true;
|
||||||
$msg = $lang['srv_mail_test_smtp_not_possible'];
|
$msg = $lang['srv_mail_test_smtp_not_possible'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo '<div id="divSurveySmtp">';
|
||||||
|
|
||||||
/*// če imamo napake jo izpišemo
|
echo '<h2>'.$lang['srv_mail_test_smtp'].'</h2>';
|
||||||
|
echo '<div class="popup_close"><a href="#" onClick="popupClose(); return false;">✕</a></div>';
|
||||||
|
|
||||||
|
// če imamo napake jo izpišemo
|
||||||
if ($error == true){
|
if ($error == true){
|
||||||
echo $lang['srv_mail_test_smtp_error'].': '. $msg;
|
echo $lang['srv_mail_test_smtp_error'].': '. $msg;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
echo $lang['srv_mail_test_smtp_sent'].': '.$email;
|
echo $lang['srv_mail_test_smtp_sent'].': '.$email;
|
||||||
}
|
}
|
||||||
|
|
||||||
#vsebino shranimo v buffer
|
#vsebino shranimo v buffer
|
||||||
$content = ob_get_clean();
|
$content = ob_get_clean();
|
||||||
|
|
||||||
|
echo $content;
|
||||||
|
|
||||||
|
echo '<div class="button_holder">';
|
||||||
|
echo '<button class="medium blue" onClick="popupClose(); return false;">'.$lang['srv_zapri'].'</button>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
$popUp = new PopUp();
|
echo '</div>';
|
||||||
#$popUp->setId('divSurveySmtp');
|
|
||||||
$popUp->setHeaderText($lang['srv_mail_test_smtp']);
|
|
||||||
|
|
||||||
#dodamo vsebino
|
|
||||||
$popUp->setContent($content);
|
|
||||||
|
|
||||||
# dodamo gumb Prekliči
|
|
||||||
$button = new PopUpCancelButton();
|
|
||||||
$button->setCaption($lang['srv_zapri'])->setTitle($lang['srv_zapri']);
|
|
||||||
$popUp->addButton($button);
|
|
||||||
|
|
||||||
echo $popUp; */ //@TG8
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
@ -4465,7 +4465,7 @@ function testiranje_preview_settings_save () {
|
|||||||
function showTestSurveySMTP()
|
function showTestSurveySMTP()
|
||||||
{
|
{
|
||||||
$('#fade').fadeTo('slow', 1);
|
$('#fade').fadeTo('slow', 1);
|
||||||
$('#general_popup').html('').fadeIn('slow');
|
$('#general_popup').html('').addClass('PopUpNarrow').fadeIn('slow');
|
||||||
$("#general_popup").load('ajax.php?t=showTestSurveySMTP', $('form[name="settingsanketa_'+srv_meta_anketa_id+'"]').serialize(), function() {});
|
$("#general_popup").load('ajax.php?t=showTestSurveySMTP', $('form[name="settingsanketa_'+srv_meta_anketa_id+'"]').serialize(), function() {});
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user