Am 08.08.22 um 03:19 schrieb list@ptld.com:
Anyone have experience in plugin coding for Roundcube?
I am in the process of creating a light weight plugin for adding a stay-logged-in checkbox on the login page. It doesn't use/add any DB columns or create extra cookies. It only modifies the existing two cookies that roundcube already sets by extending their expiration from session-only to several days.
The part i could use help with, is the template for adding the html checkbox is in javascript. I am not seeing how to get a value from config.inc.php into javascript. As of now i have to set the same value in both the php and javascript files.
bnreaking news: you can echo <script>-tags and javascript from PHP