| Re: PHP 7.2 RELEASED |
| by Mamba on 2019/2/1 18:55:08 I agree. Do you think, you could help us with that? Just fork it on GitHub, make changes, and submit it back as a Pull Request. |
| Re: PHP 7.2 RELEASED |
| by aquaportail on 2019/1/31 9:45:08 It could be a good thing to uniformize file XoopsFormRendererLegacy.php (class) with simple quote and double quote for return... ![]() Sometimes, it's (for example): le="color: #000000"><?php return "<input type='color'... and some others are: le="color: #000000"><?php return '<input type="hidden"... The best way is probably: le="color: #000000"><?php return '<input type="hidden"... as HTML principaly uses double quote. |
| Re: PHP 7.2 RELEASED |
| by Mamba on 2019/1/30 23:39:34 Thanks! I'll look into it and will let you know... |
| Re: PHP 7.2 RELEASED |
| by aquaportail on 2019/1/30 18:09:10 I send you PM... (2 errors in admin of newBB5). I've integrated a counter of characters and words for HTML area: it could be usefull. le="color: #000000"><?php <div id='compteurmessage' style='color:red'>0 word - 0 character</div> <script>function Compter(id){ var txt=document.getElementById(id).value;var chaine=document.getElementById(id).value; var nombreCaractere=txt.replace(/[/?w+]/g,'').length; var array = chaine.split(/bw+b/); var nombreMots=array.length-1; var msg222=' '+nombreMots+' words | '+nombreCaractere+ ' chars.'; document.getElementById('compteur'+id).innerHTML= msg222; }</script> <textarea id="message" name="message" onkeyup="Compter('message');" spellcheck="true" rows="12" cols="70"></textarea>
|
| Re: PHP 7.2 RELEASED |
| by Mamba on 2019/1/30 11:40:52 I'm glad to hear that everything works now! PHP 7 and a lot of memory should give you the speed that you need ![]() But please feel free to fork on GitHub the NewBB 5 and/or XOOPS and submit improvements! We always like contributors to XOOPS!
|