Commit fd47bb52 authored by Fabian Franz's avatar Fabian Franz

translation fix

parent 4a1614bd
......@@ -322,7 +322,7 @@ else :?>
endif; ?>
var oWin = window.open(url,"OPNsense","width=620,height=400,top=150,left=150, scrollbars=yes");
if (oWin==null || typeof(oWin)=="undefined")
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
}
$( document ).ready(function() {
......
......@@ -528,7 +528,7 @@ $( document ).ready(function() {
url="system_usermanager_import_ldap.php";
var oWin = window.open(url,"OPNsense","width=620,height=400,top=150,left=150,scrollbars=yes");
if (oWin==null || typeof(oWin)=="undefined") {
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
}
});
......
......@@ -79,7 +79,7 @@ include("head.inc");
if ($save_and_test):?>
<script type="text/javascript">
myRef = window.open('system_usermanager_settings_test.php?authserver=<?=$pconfig['authmode'];?>','mywin','left=20,top=20,width=700,height=550,toolbar=1,resizable=0');
if (myRef==null || typeof(myRef)=='undefined') alert('<?=gettext("Popup blocker detected. Action aborted.");?>');
if (myRef==null || typeof(myRef)=='undefined') alert('<?=gettext("Popup blocker detected. Action aborted.");?>');
</script>;
<?php
endif;?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment