This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/core/bottom_print.tpl

19 lines
321 B
Smarty
Raw Normal View History

{literal}
<SCRIPT LANGUAGE=\"JavaScript\">
<!-- Begin
if (window.print) {
agree = confirm('{/literal}{translate}alert_print{/translate}{literal}');
if (agree) {
window.print();
}
else
{
window.close();
}
}
// End -->
</script>
{/literal}