$js2 = "<script language='JavaScript' type='text/javascript'>
function set_fullmode() {
document.getElementById('ui_mode').value = 1;
- this.form.submit();
+ document.loginform.submit();
return true;
}
</script>";
echo "<head><title>$title</title>\n";
echo "<meta http-equiv='Content-type' content='text/html; charset=$encoding' />\n";
echo "<link href='$path_to_root/themes/$def_theme/default.css' rel='stylesheet' type='text/css'> \n";
+ echo $js2;
if (!$login_timeout)
{
- echo $js2;
echo $js;
}
echo "</head>\n";
if ($myrow["id"] != $company_year) {
delete_button_cell("Delete".$myrow['id'], _("Delete"));
submit_js_confirm("Delete".$myrow['id'],
- sprintf(_("Are you sure you want to remove fiscal year
- '%s'-'%s'? All transactions are removed and converted into relevant
- balances. Do you want to continue ?"), $from, $to));
+ sprintf(_("Are you sure you want to remove fiscal year %s - %s? All transactions are removed and converted into relevant balances. Do you want to continue ?"), $from, $to));
} else
label_cell('');
end_row();