diff options
author | thomascube <thomas@roundcube.net> | 2007-03-28 08:23:42 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-03-28 08:23:42 +0000 |
commit | 0c219c78692561ce53108dc1800061f8b783898a (patch) | |
tree | 15a0a7fbfc45f36063e89406a4ff1474f878e101 | |
parent | aad6e2a9c4857715c8bd56693d21b87dd0c16263 (diff) |
Draw box around login form; created common boxtitle CSS class
-rw-r--r-- | program/include/main.inc | 2 | ||||
-rw-r--r-- | skins/default/addresses.css | 16 | ||||
-rwxr-xr-x | skins/default/common.css | 12 | ||||
-rw-r--r-- | skins/default/templates/addcontact.html | 2 | ||||
-rw-r--r-- | skins/default/templates/editcontact.html | 2 | ||||
-rw-r--r-- | skins/default/templates/login.html | 20 | ||||
-rw-r--r-- | skins/default/templates/showcontact.html | 2 |
7 files changed, 34 insertions, 22 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index b6d995cc6..6d77d5a07 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1308,7 +1308,7 @@ function rcube_xml_command($command, $str_attrib, $add_attrib=array()) // show a label case 'label': if ($attrib['name'] || $attrib['command']) - return Q(rcube_label($attrib)); + return Q(rcube_label($attrib + array('vars' => array('product' => $CONFIG['product_name'])))); break; // create a menu item diff --git a/skins/default/addresses.css b/skins/default/addresses.css index 5eb5c6b6f..0ff1b28a9 100644 --- a/skins/default/addresses.css +++ b/skins/default/addresses.css @@ -99,18 +99,6 @@ body.iframe, /* visibility: hidden; */ } -#contact-title -{ - height: 12px !important; -/* height: 20px; */ - padding: 4px 20px 3px 20px; - border-bottom: 1px solid #999999; - color: #333333; - font-size: 11px; - font-weight: bold; - background-color: #EBEBEB; - background-image: url(images/listheader_aqua.gif); -} #contact-details { @@ -126,7 +114,3 @@ body.iframe, } - - - - diff --git a/skins/default/common.css b/skins/default/common.css index afccc8f8c..b3c234f89 100755 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -239,6 +239,18 @@ a.button-logout background-position: 1px center; } +.boxtitle +{ + height: 12px !important; + padding: 4px 20px 3px 20px; + border-bottom: 1px solid #999; + color: #333; + font-size: 11px; + font-weight: bold; + background-color: #EBEBEB; + background-image: url(images/listheader_aqua.gif); +} + /***** common table settings ******/ diff --git a/skins/default/templates/addcontact.html b/skins/default/templates/addcontact.html index a7f4379ff..d4fc9cc59 100644 --- a/skins/default/templates/addcontact.html +++ b/skins/default/templates/addcontact.html @@ -7,7 +7,7 @@ </head> <body class="iframe"> -<div id="contact-title"><roundcube:label name="addcontact" /></div> +<div id="contact-title" class="boxtitle"><roundcube:label name="addcontact" /></div> <div id="contact-details"> <roundcube:object name="contacteditform" size="40" /> diff --git a/skins/default/templates/editcontact.html b/skins/default/templates/editcontact.html index 34f14e102..bff81df0f 100644 --- a/skins/default/templates/editcontact.html +++ b/skins/default/templates/editcontact.html @@ -7,7 +7,7 @@ </head> <body class="iframe"> -<div id="contact-title"><roundcube:label name="editcontact" /></div> +<div id="contact-title" class="boxtitle"><roundcube:label name="editcontact" /></div> <div id="contact-details"> <roundcube:object name="contacteditform" size="40" /> diff --git a/skins/default/templates/login.html b/skins/default/templates/login.html index 3739171fe..6f7999d77 100644 --- a/skins/default/templates/login.html +++ b/skins/default/templates/login.html @@ -9,7 +9,19 @@ margin-left: auto; margin-right: auto; margin-top: 50px; - width: 350px; + width: 380px; + border: 1px solid #999; +} + +#login-form table td.title +{ + color: #666; + text-align: right; + padding-right: 10px; +} + +.boxcontent { + padding: 20px 20px 10px 20px; } </style> @@ -21,13 +33,17 @@ <roundcube:object name="message" id="message" /> <div id="login-form"> +<div class="boxtitle"><roundcube:label name="welcome" /></div> +<div class="boxcontent"> + <form name="form" action="./" method="post"> <roundcube:object name="loginform" form="form" /> -<p style="text-align: center;"><input type="submit" class="button" value="<roundcube:label name='login' />" /></p> +<p style="text-align:center;"><input type="submit" class="button" value="<roundcube:label name='login' />" /></p> </form> </div> +</div> </body> </html> diff --git a/skins/default/templates/showcontact.html b/skins/default/templates/showcontact.html index 8a8434312..53bc08b5c 100644 --- a/skins/default/templates/showcontact.html +++ b/skins/default/templates/showcontact.html @@ -7,7 +7,7 @@ </head> <body class="iframe"> -<div id="contact-title"><roundcube:object name="contactdetails" part="name" /></div> +<div id="contact-title" class="boxtitle"><roundcube:object name="contactdetails" part="name" /></div> <div id="contact-details"> <roundcube:object name="contactdetails" /> |