Author Topic: Roundcube Login Form  (Read 2893 times)

Offline FranzKraus84

  • Newbie
  • *
  • Posts: 3
Roundcube Login Form
« on: August 18, 2010, 06:15:10 AM »
Hello! Hope i'm right here :-)
I'm using Roundcube and found some tipps here on modifying the login form.
That helped a lot and now i have my own designed login form with 99% html code.
I use input tags for "_user", "_pass", etc. and send the data to the standard index.php
and log in, etc. That all works great!
But now i like to design the loginform for multiple languages. And i'm not sure how to do this.
If you use the special roundcube tags (like it works well.
So for the tag.
The problem with this tag was, that the html code itself was generated in php-functions, etc.
and so it's not this easy to use CSS. That was one of the primary reasons i used my own
form.

Here is part of my code for the login form:


           
               
               
               
               
                   
                       
                       
                       
                   
                   
                       
                   
                   
                       
                       
                       
                   
                   
                       
                       
                   
                   
                       
                   
               
My Login
Username:
Password:

           

I marked the lines i have problems with. The best thing would be, if there are some other
roundcube tags like and
so that roundcube uses the multi language support which is still
available when using the whole form. But found nothing like this. Can you help me?

The other way i thought about is hell of work. I could use a template engine like smarty.
But then i have to rewrite a lot of the index.php code and have to check that i won't miss
some relevant data, etc.

Hope you understand my problem and can help me :-) Thanks for any help!
And forgive me any spelling / gramma mistakes. I'm german ;-)