summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------hosted/skins1
-rw-r--r--hosted/skins/default/hosted.css22
l---------hosted/skins/default/images/error.png1
l---------hosted/skins/default/images/favicon.png1
l---------hosted/skins/default/images/info.png1
l---------hosted/skins/default/images/loading.gif1
-rw-r--r--hosted/skins/default/images/logo.pngbin0 -> 17755 bytes
l---------hosted/skins/default/style.css1
-rw-r--r--hosted/skins/default/templates/footer.html1
-rw-r--r--hosted/skins/default/templates/signup.html43
l---------hosted/skins/default/ui.js1
-rw-r--r--lib/hosted/kolab_client_task_signup.php2
-rw-r--r--public_html/skins/default/templates/signup.html43
13 files changed, 73 insertions, 45 deletions
diff --git a/hosted/skins b/hosted/skins
deleted file mode 120000
index 536cdba..0000000
--- a/hosted/skins
+++ /dev/null
@@ -1 +0,0 @@
-../public_html/skins/ \ No newline at end of file
diff --git a/hosted/skins/default/hosted.css b/hosted/skins/default/hosted.css
new file mode 100644
index 0000000..4f50305
--- /dev/null
+++ b/hosted/skins/default/hosted.css
@@ -0,0 +1,22 @@
+body {
+ background: #f0f0f0;
+ text-align: center;
+}
+
+#bodybox {
+ display: inline-block;
+ width: 900px;
+ text-align: left;
+}
+
+#logo {
+ width: 462px;
+ height: 100px;
+ position: relative;
+ margin: 10px;
+ cursor: default;
+}
+
+td.label {
+ vertical-align: top;
+}
diff --git a/hosted/skins/default/images/error.png b/hosted/skins/default/images/error.png
new file mode 120000
index 0000000..fe901a7
--- /dev/null
+++ b/hosted/skins/default/images/error.png
@@ -0,0 +1 @@
+../../../../public_html/skins/default/images/error.png \ No newline at end of file
diff --git a/hosted/skins/default/images/favicon.png b/hosted/skins/default/images/favicon.png
new file mode 120000
index 0000000..7ee1ea8
--- /dev/null
+++ b/hosted/skins/default/images/favicon.png
@@ -0,0 +1 @@
+../../../../public_html/skins/default/images/favicon.png \ No newline at end of file
diff --git a/hosted/skins/default/images/info.png b/hosted/skins/default/images/info.png
new file mode 120000
index 0000000..8e1fec7
--- /dev/null
+++ b/hosted/skins/default/images/info.png
@@ -0,0 +1 @@
+../../../../public_html/skins/default/images/info.png \ No newline at end of file
diff --git a/hosted/skins/default/images/loading.gif b/hosted/skins/default/images/loading.gif
new file mode 120000
index 0000000..aaca76f
--- /dev/null
+++ b/hosted/skins/default/images/loading.gif
@@ -0,0 +1 @@
+../../../../public_html/skins/default/images/loading.gif \ No newline at end of file
diff --git a/hosted/skins/default/images/logo.png b/hosted/skins/default/images/logo.png
new file mode 100644
index 0000000..0c06ff1
--- /dev/null
+++ b/hosted/skins/default/images/logo.png
Binary files differ
diff --git a/hosted/skins/default/style.css b/hosted/skins/default/style.css
new file mode 120000
index 0000000..6f5490d
--- /dev/null
+++ b/hosted/skins/default/style.css
@@ -0,0 +1 @@
+../../../public_html/skins/default/style.css \ No newline at end of file
diff --git a/hosted/skins/default/templates/footer.html b/hosted/skins/default/templates/footer.html
new file mode 100644
index 0000000..4b6bac5
--- /dev/null
+++ b/hosted/skins/default/templates/footer.html
@@ -0,0 +1 @@
+This is a service offered by <a href="http://kolabsys.com">Kolab Systems</a>.
diff --git a/hosted/skins/default/templates/signup.html b/hosted/skins/default/templates/signup.html
new file mode 100644
index 0000000..3f3ba5b
--- /dev/null
+++ b/hosted/skins/default/templates/signup.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8" />
+ <title>Sign Up For Hosted Kolab</title>
+ <link rel="stylesheet" href="{$skin_path}style.css" />
+ <link rel="stylesheet" href="{$skin_path}hosted.css" />
+ <link rel="shortcut icon" type="image/png" href="{$skin_path}images/favicon.png" />
+ <script src="js/jquery.min.js"></script>
+ <script src="js/kolab_admin.js"></script>
+ <script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
+ <script src="js/kolab_hosted.js"></script>
+ <script src="{$skin_path}ui.js"></script>
+</head>
+<body>
+ <div id="bodybox">
+ <div id="logo"></div>
+ <div id="content">
+
+
+ <div id="task_content" class="signup">
+
+ <h1>Sign Up For Hosted Kolab</h1>
+ <p>
+ Having an account on a Kolab server is way better than just simple Email. It also provides you with full groupware functionality including shared adressbooks, calendars, tasks and journal.
+ </p>
+ <p>
+ You can sign up now for a personal account at no cost.
+ </p>
+
+ <div id="taskcontent" class="signup">{$form}</div>
+
+
+ </div>
+
+ </div>
+ <div id="footer">
+ {include file="footer.html"}
+ </div>
+ </div>
+{$script}
+</body>
+</html>
diff --git a/hosted/skins/default/ui.js b/hosted/skins/default/ui.js
new file mode 120000
index 0000000..625253b
--- /dev/null
+++ b/hosted/skins/default/ui.js
@@ -0,0 +1 @@
+../../../public_html/skins/default/ui.js \ No newline at end of file
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 .= '
diff --git a/public_html/skins/default/templates/signup.html b/public_html/skins/default/templates/signup.html
deleted file mode 100644
index 9eb22bc..0000000
--- a/public_html/skins/default/templates/signup.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8" />
- <title>Sign Up For Hosted Kolab</title>
- <link rel="stylesheet" href="{$skin_path}style.css" />
- <link rel="shortcut icon" type="image/png" href="{$skin_path}images/favicon.png" />
- <script src="js/jquery.min.js"></script>
- <script src="js/kolab_admin.js"></script>
- <script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
- <script src="js/kolab_hosted.js"></script>
- <script src="{$skin_path}ui.js"></script>
-</head>
-<body>
- <div id="logo"></div>
- <div id="topmenu"></div>
- <div id="navigation"></div>
- <div id="task_navigation"></div>
- <div id="content">
-
-
- <div id="task_content" class="signup">
-
- <h1>Sign Up For Hosted Kolab</h1>
- <p>
- Having an account on a Kolab server is way better than just simple Email. It also provides you with full groupware functionality including shared adressbooks, calendars, tasks and journal.
- </p>
- <p>
- You can sign up now for a personal account at no cost.
- </p>
-
- <div id="taskcontent" class="signup">{$form}</div>
-
-
- </div>
-
- </div>
- <div id="footer">
- {include file="footer.html"}
- </div>
-{$script}
-</body>
-</html>