diff --git a/exec/html_noyes.js b/exec/html_noyes.js index d6623ed4a4a6a329060f5ef794f5a3904e5855ea..645b7b700b7b3563d610ef88157c1c07b58dd477 100644 --- a/exec/html_noyes.js +++ b/exec/html_noyes.js @@ -12,12 +12,12 @@ if(user.settings & USER_HTML) { console.write("\2\2<html><head><title>"+strip_ctrl(console.question)+"</title></head>"); console.write('<body bgcolor="black" text="#a8a8a8">'); console.write(' <br> <br> <br> <br> <br> <br> <br>'); - console.write('<center><h1>'+asc2htmlterm(console.question,false,true).replace(/(?: )*<br>/g,'').replace(/nowrap/g,'')+'</h1></center>'); + console.write('<center><h1>'+asc2htmlterm(console.question,false,true).replace(/(?: )*<br>/g,'').replace(/nowrap/g,'').replace(/(?: )/g,' ')+'</h1></center>'); console.write(' <br> <br> <br>'); console.write('<table width="100%"><tr><td align="center" width="50%">'); console.write('<h3><font color="#a8a8a8"><a href="Y">Yes</a></h3>'); console.write('</td><td align="center" width="50%">'); - console.write('<h3><font color="#a8a8a8"><a href="N">No</a></h3>'); + console.write('<h2><font color="#a8a8a8"><a href="N">No</a></h2>'); console.write('</td></tr></table>'); console.write('</body></html>\2'); bbs.sys_status=os; diff --git a/exec/html_yesno.js b/exec/html_yesno.js index 5fb37496a51fe9222399403c0ea6d6e904946260..a065c0428d20cd5e914d8def68c9507780ea1c26 100644 --- a/exec/html_yesno.js +++ b/exec/html_yesno.js @@ -12,10 +12,10 @@ if(user.settings & USER_HTML) { console.write("\2\2<html><head><title>"+strip_ctrl(console.question)+"</title></head>"); console.write('<body bgcolor="black" text="#a8a8a8">'); console.write(' <br> <br> <br> <br> <br> <br> <br>'); - console.write('<center><h1>'+asc2htmlterm(console.question,false,true).replace(/(?: )*<br>/g,'').replace(/nowrap/g,'')+'</h1></center>'); + console.write('<center><h1>'+asc2htmlterm(console.question,false,true).replace(/(?: )*<br>/g,'').replace(/nowrap/g,'').replace(/(?: )/g,' ')+'</h1></center>'); console.write(' <br> <br> <br>'); console.write('<table width="100%"><tr><td align="center" width="50%">'); - console.write('<h3><font color="#a8a8a8"><a href="Y">Yes</a></h3>'); + console.write('<h2><font color="#a8a8a8"><a href="Y">Yes</a></h2>'); console.write('</td><td align="center" width="50%">'); console.write('<h3><font color="#a8a8a8"><a href="N">No</a></h3>'); console.write('</td></tr></table>');