summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Grote <grote@kolabsys.com>2012-09-04 15:24:15 +0200
committerTorsten Grote <grote@kolabsys.com>2012-09-04 15:24:15 +0200
commitb5d51fa0bca411689aff2cab318f7ae9e29c0844 (patch)
tree2911a5805be9490b6262df6860c5e33023b31dd4
parente603a6ea01d6f29d821131f51f21ada6d53acfaf (diff)
downloadwebadmin-b5d51fa0bca411689aff2cab318f7ae9e29c0844.tar.gz
moved captcha into signup form table
-rw-r--r--hosted/skins/default/hosted.css4
-rw-r--r--lib/hosted/kolab_client_task_signup.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/hosted/skins/default/hosted.css b/hosted/skins/default/hosted.css
index c7871e9..4f50305 100644
--- a/hosted/skins/default/hosted.css
+++ b/hosted/skins/default/hosted.css
@@ -16,3 +16,7 @@ body {
margin: 10px;
cursor: default;
}
+
+td.label {
+ vertical-align: top;
+}
diff --git a/lib/hosted/kolab_client_task_signup.php b/lib/hosted/kolab_client_task_signup.php
index 7813da7..7ebbac8 100644
--- a/lib/hosted/kolab_client_task_signup.php
+++ b/lib/hosted/kolab_client_task_signup.php
@@ -87,7 +87,7 @@ class kolab_client_task_signup extends kolab_client_task
if (!empty($publickey)) {
// TODO find a less dirty way to add captcha into form
- $form = preg_replace('/<div class="formbuttons">/', '<div id="recaptcha_div"></div><div class="formbuttons">', $form);
+ $form = preg_replace('/<\/tbody>/', '<tr><td class="label">Captcha</td><td class="value"><div id="recaptcha_div"></div></td></tr></tbody>', $form);
// load captcha
$form .= '