I can live without it as well. Just wondering .. should I give up. On Saturday, July 24, 2021 at 8:31:07 AM UTC+5:30 Jitun John wrote:
> Thanks for the reply @Jim S > > session.flash = XML(CENTER(DIV(H4('sFTP Error: ' + ftp_error_parse(e)), > HR(), 'FTP > Address|Username|Login|Password may be not correct.', > BR(), 'Check if the DropBox > still exists.', > BR(), 'If all of them are > good, is this Secure FTP ?'))) > > Results in the same. (As the pic in previous post) > > On Friday, July 23, 2021 at 11:59:04 PM UTC+5:30 Jim S wrote: > >> Have you tried wrapping the XML function around it? >> >> session.flash = XML(CENT.....) >> >> On Friday, July 23, 2021 at 9:35:26 AM UTC-5 jitun...@gmail.com wrote: >> >>> Hi, >>> >>> This piece of code worked in older version of web2py... >>> >>> session.flash = CENTER(DIV(H4('sFTP Error: ' + ftp_error_parse(e)), >>> HR(), 'FTP Address|Username|Login|Password >>> may be not correct.', >>> BR(), 'Check if the DropBox still exists.', >>> BR(), 'If all of them are good, is this >>> Secure FTP ?')) >>> >>> Working... with layout.html containing... >>> <link rel="stylesheet" >>> href="{{=URL('static','css/bootstrap.min.css')}}"/> >>> <link rel="stylesheet" >>> href="{{=URL('static','css/bootstrap-theme.min.css')}}"/> >>> <link rel="stylesheet" >>> href="{{=URL('static','css/web2py-bootstrap3.css')}}"/> >>> <script src="{{=URL('static','js/bootstrap.min.js')}}"></script> >>> <script src="{{=URL('static','js/web2py-bootstrap3.js')}}"></script> >>> <script src="{{=URL('static','js/jquery.js')}}"></script> >>> >>> [image: working.jpg] >>> >>> Not Working...Now it just dumps the html version. >>> <link rel="stylesheet" >>> href="{{=URL('static','css/bootstrap.min.css')}}"/> >>> <link rel="stylesheet" >>> href="{{=URL('static','css/web2py-bootstrap4.css')}}"/> >>> <script src="{{=URL('static','js/bootstrap.min.js')}}"></script> >>> <script src="{{=URL('static','js/web2py-bootstrap4.js')}}"></script> >>> >>> [image: not_working.jpg] >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/89455886-6fe8-4824-ba88-c128e5158c2cn%40googlegroups.com.