Reorganize the www dir for PEAR.
authorGunnar Wrobel <p@rdus.de>
Wed, 29 Apr 2009 07:41:11 +0000 (09:41 +0200)
committerGunnar Wrobel <p@rdus.de>
Wed, 29 Apr 2009 07:41:11 +0000 (09:41 +0200)
26 files changed:
koward/www/Koward/config/.gitignore [new file with mode: 0644]
koward/www/Koward/config/attributes.php.dist [new file with mode: 0644]
koward/www/Koward/config/koward.php.dist [new file with mode: 0644]
koward/www/Koward/config/labels.php.dist [new file with mode: 0644]
koward/www/Koward/config/objects.php.dist [new file with mode: 0644]
koward/www/Koward/config/order.php.dist [new file with mode: 0644]
koward/www/Koward/config/routes.php.dist [new file with mode: 0644]
koward/www/Koward/config/search.php.dist [new file with mode: 0644]
koward/www/Koward/config/visible.php [new file with mode: 0644]
koward/www/Koward/themes/graphics/favicon.ico [new file with mode: 0644]
koward/www/Koward/themes/graphics/query.png [new file with mode: 0644]
koward/www/Koward/themes/kolab/screen.css [new file with mode: 0644]
koward/www/Koward/themes/screen.css [new file with mode: 0644]
koward/www/config/.gitignore [deleted file]
koward/www/config/attributes.php [deleted file]
koward/www/config/conf.php [deleted file]
koward/www/config/labels.php [deleted file]
koward/www/config/objects.php [deleted file]
koward/www/config/order.php [deleted file]
koward/www/config/routes.php [deleted file]
koward/www/config/search.php [deleted file]
koward/www/config/visible.php [deleted file]
koward/www/themes/graphics/favicon.ico [deleted file]
koward/www/themes/graphics/query.png [deleted file]
koward/www/themes/kolab/screen.css [deleted file]
koward/www/themes/screen.css [deleted file]

diff --git a/koward/www/Koward/config/.gitignore b/koward/www/Koward/config/.gitignore
new file mode 100644 (file)
index 0000000..77eba8a
--- /dev/null
@@ -0,0 +1 @@
+*.local.php
diff --git a/koward/www/Koward/config/attributes.php.dist b/koward/www/Koward/config/attributes.php.dist
new file mode 100644 (file)
index 0000000..3a49086
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+$attributes['givenName'] = array(
+    'label' => _("First Name"),
+    'type' => 'text',
+    'required' => true,
+    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
+);
+$attributes['sn'] = array(
+    'label' => _("Last Name"),
+    'type' => 'text',
+    'required' => true,
+    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
+);
+$attributes['mail'] = array(
+    'label' => _("Mail address"),
+    'type' => 'text',
+    'required' => true,
+    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
+);
+$attributes['uid'] = array(
+    'label' => _("User ID"),
+    'type' => 'text',
+    'required' => true,
+    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
+);
diff --git a/koward/www/Koward/config/koward.php.dist b/koward/www/Koward/config/koward.php.dist
new file mode 100644 (file)
index 0000000..656621c
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+
+$conf['koward']['theme'] = 'silver';
diff --git a/koward/www/Koward/config/labels.php.dist b/koward/www/Koward/config/labels.php.dist
new file mode 100644 (file)
index 0000000..a462447
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+$labels['cn'] = _("Common Name");
+$labels['kolabSalutation'] = _("Salutation");
+$labels['givenName'] = _("First Name");
+$labels['middleNames'] = _("Additional Names");
+$labels['sn'] = _("Last Name");
+$labels['snsuffix'] = _("Name Suffix");
+$labels['personalTitle'] = _("Title");
+$labels['userPassword'] = _("Password");
+$labels['telephoneNumber'] = _("Phone");
+$labels['postOfficeBox'] = _("Post Office Box");
+$labels['street'] = _("Street");
+$labels['title'] = _("Job Title");
+$labels['postalCode'] = _("Postal Code");
+$labels['facsimileTelephoneNumber'] = _("Fax");
+$labels['l'] = _("City");
+$labels['jpegPhoto'] = _("Photo");
+$labels['mail'] = _("Mail Address");
+$labels['mobile'] = _("Mobile Phone");
+$labels['homePhone'] = _("Home Phone");
+$labels['homePostalAddress'] = _("Home Postal Address");
+$labels['labeledURI'] = _("Website");
+$labels['o'] = _("Company");
+$labels['birthName'] = _("Birth Name");
+$labels['kolabMaritalStatus'] = _("Marital Status");
+$labels['dateOfBirth'] = _("Date Of Birth");
+$labels['placeOfBirth'] = _("Place Of Birth");
+$labels['gender'] = _("Gender");
+
diff --git a/koward/www/Koward/config/objects.php.dist b/koward/www/Koward/config/objects.php.dist
new file mode 100644 (file)
index 0000000..6c15803
--- /dev/null
@@ -0,0 +1,210 @@
+<?php
+
+/* $objects['object'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object', */
+/*     'label'       => _("Object"), */
+/*     'list_label'  => _("Objects"), */
+/*     'list_attributes'  => array( */
+/*         'id' => array( */
+/*             'title' => _("Object id"), */
+/*             'width' => 80, */
+/*             'link_view'=> true, */
+/*         ), */
+/*     ), */
+/*     'attributes'  => array( */
+/*         'override' => true, */
+/*         'fields' => array( */
+/*             'id' => array( */
+/*                 'label' => _("Object ID"), */
+/*                 'type' => 'text', */
+/*                 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) */
+/*             ), */
+/*         ), */
+/*     ), */
+/* ); */
+
+/* $objects['person'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object_Person', */
+/*     'label'       => _("Person"), */
+/*     'list_label'  => _("Persons"), */
+/*     'list_attributes'  => array( */
+/*         'cn' => array( */
+/*             'title' => _("Common name"), */
+/*             'width' => 40, */
+/*             'link_view'=> true, */
+/*         ), */
+/*         'sn' => array( */
+/*             'title' => _("Last name"), */
+/*             'width' => 40, */
+/*         ), */
+/*     ), */
+/*     'attributes'  => array( */
+/*         'fields' => array( */
+/*             'cn' => array( */
+/*                 'required' => false, */
+/*             ), */
+/*             'userPassword' => array( */
+/*                 'required' => true, */
+/*             ), */
+/*         ), */
+/*     ), */
+/* ); */
+
+/* $objects['organizationalperson'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object_Organizationalperson', */
+/*     'label'       => _("Organizational person"), */
+/*     'list_label'  => _("Organizational persons"), */
+/*     'list_attributes'  => array( */
+/*         'cn' => array( */
+/*             'title' => _("Common name"), */
+/*             'width' => 40, */
+/*             'link_view'=> true, */
+/*         ), */
+/*         'sn' => array( */
+/*             'title' => _("Last name"), */
+/*             'width' => 40, */
+/*         ), */
+/*     ), */
+/*     'attributes'  => array( */
+/*         'fields' => array( */
+/*             'cn' => array( */
+/*                 'required' => false, */
+/*             ), */
+/*             'userPassword' => array( */
+/*                 'required' => true, */
+/*             ), */
+/*         ), */
+/*     ), */
+/* ); */
+
+/* $objects['inetperson'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object_Inetorgperson', */
+/*     'label'       => _("Inet person"), */
+/*     'list_label'  => _("Inet persons"), */
+/*     'list_attributes'  => array( */
+/*         'cn' => array( */
+/*             'title' => _("Common name"), */
+/*             'width' => 40, */
+/*             'link_view'=> true, */
+/*         ), */
+/*         'sn' => array( */
+/*             'title' => _("Last name"), */
+/*             'width' => 40, */
+/*         ), */
+/*     ), */
+/*     'attributes'  => array( */
+/*         'fields' => array( */
+/*             'cn' => array( */
+/*                 'required' => false, */
+/*             ), */
+/*             'userPassword' => array( */
+/*                 'required' => true, */
+/*             ), */
+/*         ), */
+/*     ), */
+/* ); */
+
+/* $objects['user'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object_Kolab_User', */
+/*     'label'       => _("User"), */
+/*     'list_label'  => _("Users"), */
+/*     'list_attributes'  => array( */
+/*         'sn' => array( */
+/*             'title' => _("Last name"), */
+/*             'width' => 20, */
+/*         ), */
+/*         'givenName' => array( */
+/*             'title' => _("First name"), */
+/*             'width' => 20, */
+/*         ), */
+/*         'mail' => array( */
+/*             'title' => _("E-mail"), */
+/*             'width' => 20, */
+/*             'link_view'=> true, */
+/*         ), */
+/*         'uid' => array( */
+/*             'title' => _("User ID"), */
+/*             'width' => 20, */
+/*         ), */
+/*     ), */
+/* ); */
+
+/* $objects['admin'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object_Kolab_Administrator', */
+/*     'label'       => _("Administrator"), */
+/*     'list_label'  => _("Administrators"), */
+/*     'attributes'  => array( */
+/*     ), */
+/* ); */
+
+/* $objects['kolabuser'] = array( */
+/*     'class'       => 'Horde_Kolab_Server_Object_Kolab_User', */
+/*     'preferred'   => true, */
+/*     'label'       => _("Kolab user"), */
+/*     'list_label'  => _("Kolab users"), */
+/*     'list_attributes'  => array( */
+/*         'sn' => array( */
+/*             'title' => _("Last name"), */
+/*             'width' => 20, */
+/*         ), */
+/*         'givenName' => array( */
+/*             'title' => _("First name"), */
+/*             'width' => 20, */
+/*         ), */
+/*         'mail' => array( */
+/*             'title' => _("E-mail"), */
+/*             'width' => 20, */
+/*             'link_view'=> true, */
+/*         ), */
+/*         'uid' => array( */
+/*             'title' => _("User ID"), */
+/*             'width' => 20, */
+/*         ), */
+/*     ), */
+/*     'attributes'  => array( */
+/*         'hide' => array( */
+/*             'objectClass', */
+/*             'seeAlso', */
+/*             'x121Address', */
+/*             'registeredAddress', */
+/*             'destinationIndicator', */
+/*             'preferredDeliveryMethod', */
+/*             'telexNumber', */
+/*             'teletexTerminalIdentifier', */
+/*             'internationaliSDNNumber', */
+/*             'kolabEncryptedPassword', */
+/*             'kolabHomeMTA', */
+/*             'kolabDelegate', */
+/*         ), */
+/*         'labels' => array( */
+/*             'mail' => _("Account ID"), */
+/*         ), */
+/*         'fields' => array( */
+/*             'kolabSalutation' => array( */
+/*                 'type' => 'enum', */
+/*                 'params' => array('values' => array(_("Mr.") => _("Mr."), */
+/*                                                     _("Mrs.") => _("Mrs.")), */
+/*                                   'prompt' => true), */
+/*             ), */
+/*             'gender' => array( */
+/*                 'type' => 'enum', */
+/*                 'params' => array('values' => array(_("1") => _("male"), */
+/*                                                     _("2") => _("female")), */
+/*                                   'prompt' => true), */
+/*             ), */
+/*             'kolabMaritalStatus' => array( */
+/*                 'type' => 'enum', */
+/*                 'params' => array('values' => array(_("0") => _("single"), */
+/*                                                     _("1") => _("married")), */
+/*                                   'prompt' => true), */
+/*             ), */
+/*             'userPassword' => array( */
+/*                 'type' => 'passwordconfirm', */
+/*             ), */
+/*         ), */
+/*     ), */
+/* ); */
+
+if (file_exists(dirname(__FILE__) . '/objects.local.php')) {
+    require_once(dirname(__FILE__) . '/objects.local.php');
+}
diff --git a/koward/www/Koward/config/order.php.dist b/koward/www/Koward/config/order.php.dist
new file mode 100644 (file)
index 0000000..74e0a28
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+$order['mail'] = 1;
+$order['kolabSalutation'] = 2;
+$order['givenName'] = 3;
+$order['middleNames'] = 4;
+$order['sn'] = 5;
+$order['snsuffix'] = 6;
+$order['gender'] = 7;
+$order['userPassword'] = 10;
+$order['dateOfBirth'] = 12;
+$order['placeOfBirth'] = 13;
+$order['kolabMaritalStatus'] = 14;
+$order['birthName'] = 15;
+$order['telephoneNumber'] = 30;
+$order['mobile'] = 31;
+$order['facsimileTelephoneNumber'] = 32;
+$order['homePhone'] = 33;
diff --git a/koward/www/Koward/config/routes.php.dist b/koward/www/Koward/config/routes.php.dist
new file mode 100644 (file)
index 0000000..1043478
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+$mapper->connect('index', array('controller' => 'index'));
+$mapper->connect('index.php', array('controller' => 'index'));
+
+$mapper->connect('check/:action/:id', array('controller' => 'check', 'action' => 'show'));
+$mapper->connect(':controller/:action/:id', array('controller' => 'object'));
+
+// Local route overrides
+if (file_exists(dirname(__FILE__) . '/routes.local.php')) {
+    include dirname(__FILE__) . '/routes.local.php';
+}
diff --git a/koward/www/Koward/config/search.php.dist b/koward/www/Koward/config/search.php.dist
new file mode 100644 (file)
index 0000000..fb6264f
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+$search = array(
+    'fields' => array(
+        'givenName' => array(
+            'label' => _("First Name"),
+            'type' => 'text',
+            'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
+        ),
+    )
+);
+
+if (file_exists(dirname(__FILE__) . '/search.local.php')) {
+    require_once(dirname(__FILE__) . '/search.local.php');
+}
diff --git a/koward/www/Koward/config/visible.php b/koward/www/Koward/config/visible.php
new file mode 100644 (file)
index 0000000..d869909
--- /dev/null
@@ -0,0 +1,59 @@
+<?php
+$visible['hide'] = array(
+    'objectClass',
+    'id',
+    'lnfn',
+    'fnln',
+    'seeAlso',
+    'description',
+    'physicalDeliveryOfficeName',
+    'internationaliSDNNumber',
+    'x121Address',
+    'registeredAddress',
+    'destinationIndicator',
+    'preferredDeliveryMethod',
+    'telexNumber',
+    'teletexTerminalIdentifier',
+    'postalAddress',
+    'ou',
+    'st',
+    'manager',
+    'uid',
+    'employeeType',
+    'photo',
+    'x500uniqueIdentifier',
+    'secretary',
+    'userSMIMECertificate',
+    'employeeNumber',
+    'initials',
+    'audio',
+    'pager',
+    'businessCategory',
+    'roomNumber',
+    'carLicense',
+    'userCertificate',
+    'departmentNumber',
+    'preferredLanguage',
+    'displayName',
+    'userPKCS12',
+    'kolabVacationEndDateTime',
+    'kolabVacationReactDomain',
+    'kolabVacationAddress',
+    'kolabForwardKeepCopy',
+    'kolabDeleteflag',
+    'kolabVacationBeginDateTime',
+    'kolabVacationResendInterval',
+    'kolabVacationReplyToUCE',
+    'kolabForwardAddress',
+    'kolabForwardUCE',
+    'kolabAllowSMTPFrom',
+    'unrestrictedMailSize',
+    'kolabInvitationPolicy',
+    'kolabFreeBusyFuture',
+    'calFBURL',
+    'kolabComment',
+    'kolabImapServer',
+    'kolabFreeBusyServer',
+    'usertype',
+    'jpegPhoto',
+);
\ No newline at end of file
diff --git a/koward/www/Koward/themes/graphics/favicon.ico b/koward/www/Koward/themes/graphics/favicon.ico
new file mode 100644 (file)
index 0000000..0f8fa08
Binary files /dev/null and b/koward/www/Koward/themes/graphics/favicon.ico differ
diff --git a/koward/www/Koward/themes/graphics/query.png b/koward/www/Koward/themes/graphics/query.png
new file mode 100644 (file)
index 0000000..ef46d4a
Binary files /dev/null and b/koward/www/Koward/themes/graphics/query.png differ
diff --git a/koward/www/Koward/themes/kolab/screen.css b/koward/www/Koward/themes/kolab/screen.css
new file mode 100644 (file)
index 0000000..017e2a7
--- /dev/null
@@ -0,0 +1,212 @@
+/*
+  Local variables:
+  buffer-file-coding-system: utf-8
+  End:
+*/
+body {
+  color: black;
+  background-color: #F8FCF8;
+  font-family: verdana,arial,helvetica,sans-serif;
+  font-size: 95%;
+  border: 0;
+  margin: 0;
+}
+a, a:visited {
+  font-family: verdana,arial,helvetica,sans-serif;
+}
+
+a { color: #001155; }
+a:hover { color: #113399; }
+
+#page {
+  background-repeat: no-repeat;
+  background-position: top right;
+}
+
+#topbar {
+  display:block;
+  background-color: #B0BCD0;
+  height: 70px;
+  clear: both;
+}
+#toplogo {
+  display:block;
+  background-image: url(pics/kolab_logo.png);
+  background-color: #B0BCD0;
+  width: 245px;
+  height: 70px;
+  margin-left: 1em;
+  margin-top: 0.4em;
+  float: left;
+}
+#toptitle {
+  display:block;
+  text-align: right;
+  font-size: 200%;
+  padding-right: 1em;
+  padding-top: 0.5em;
+}
+#topuserinfo {
+  display:block;
+  background-color: #B0BCD0;
+  font-size: 80%;
+  padding: 0.1em;
+  border-bottom: solid 1px black;
+  text-align: right;
+}
+#topmenu {
+  background-color: #B0BCD0;
+  font-size: 90%;
+  border-bottom: solid 1px black;
+}
+#submenu {
+  background-color: #EEEEEE;
+  border-bottom: solid 1px black;
+  font-size: 90%;
+}
+
+.topmenuitem {
+  background-color: #B0BCD0;
+  border-right: solid 1px black;
+  padding-left: 0.5em;
+  padding-right: 0.5em;
+  margin: 0px;
+}
+.topmenuitemselected {
+  background-color: #EEEEEE;
+  border-right: solid 1px black;
+  padding-left: 0.5em;
+  padding-right: 0.5em;
+  margin: 0px;
+  border-bottom: solid 1px #EEEEEE;
+}
+.submenuitem {
+}
+.submenuitemselected {
+}
+.alphagroupitem {
+}
+.alphagroupitemselected {
+  font-weight:bold
+}
+#logout {
+  color: red;
+}
+#maintitle {
+  font-size: 200%;
+}
+#maincontent {
+  display:block;
+  padding: 1em;
+  margin: 1em;
+}
+#errorcontent {
+  display:block;
+  padding: 0.2em;
+  margin: 1em;
+  text-align: left;
+  color: red;
+  background-color: #EEEEEE;
+  border: solid 1px black;
+}
+#errorheader {
+  display:block;
+  text-align: left;
+  color: black;
+  background-color: #EEEEEE;
+  font-size: 150%;
+}
+#messagecontent {
+  display:block;
+  padding: 0.2em;
+  margin: 1em;
+  text-align: left;
+  color: green;
+  background-color: #EEEEEE;
+  border: solid 1px black;
+}
+#messageheader {
+  display:block;
+  text-align: left;
+  color: black;
+  background-color: #EEEEEE;
+  font-size: 150%;
+}
+.contenttext {
+  margin: 10px;
+}
+.contenttable {
+  width: 100%;
+  background-color: black;
+  border: 0px;
+}
+.contentroweven {
+  background-color: #C0CDE0;
+  margin: 0px;
+}
+.contentrowodd {
+  background-color: #D0DDF0;
+  margin: 0px;
+}
+.contentcell {
+  font-size: 90%;
+  padding: .1em .5em .1em .5em;
+  margin: 0px;
+/*  text-align: center; */
+}
+.actioncell {
+  font-size: 90%;
+  padding: .1em .5em .1em .5em;
+  width: 10%;
+  margin: 0px;
+  text-align: center;
+}
+.contentform {
+  /*float: left;*/
+  padding: .1em .5em .1em .5em;
+  background-color: #EEEEEE;
+  border: solid 1px black;
+}
+.contentformtable {
+  font-size: 90%;
+}
+.langcombo {
+  font-size: 80%;
+}
+
+#validators {
+  text-align: right;
+}
+
+th {
+  background-color: #EEEEEE;
+  border: 0px;
+}
+
+.ctrl {
+  background-color: #E0E3E0;
+  border: solid 1px black;
+  padding: .2em .5em .2em .5em;
+}
+
+.required_asterisk {
+  color: red;
+  font-size: 80%;
+  text-align: right;
+}
+
+label {
+  cursor: pointer;
+}
+
+.align_center {
+  text-align: center;
+}
+
+.align_right {
+  text-align: right;
+}
+
+.align_left {
+  text-align: left;
+}
diff --git a/koward/www/Koward/themes/screen.css b/koward/www/Koward/themes/screen.css
new file mode 100644 (file)
index 0000000..9075ea6
--- /dev/null
@@ -0,0 +1,3 @@
+/**
+ * Style for Koward.
+ */
diff --git a/koward/www/config/.gitignore b/koward/www/config/.gitignore
deleted file mode 100644 (file)
index 77eba8a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*.local.php
diff --git a/koward/www/config/attributes.php b/koward/www/config/attributes.php
deleted file mode 100644 (file)
index 3a49086..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-$attributes['givenName'] = array(
-    'label' => _("First Name"),
-    'type' => 'text',
-    'required' => true,
-    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
-);
-$attributes['sn'] = array(
-    'label' => _("Last Name"),
-    'type' => 'text',
-    'required' => true,
-    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
-);
-$attributes['mail'] = array(
-    'label' => _("Mail address"),
-    'type' => 'text',
-    'required' => true,
-    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
-);
-$attributes['uid'] = array(
-    'label' => _("User ID"),
-    'type' => 'text',
-    'required' => true,
-    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
-);
diff --git a/koward/www/config/conf.php b/koward/www/config/conf.php
deleted file mode 100644 (file)
index 656621c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-$conf['koward']['theme'] = 'silver';
diff --git a/koward/www/config/labels.php b/koward/www/config/labels.php
deleted file mode 100644 (file)
index a462447..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-$labels['cn'] = _("Common Name");
-$labels['kolabSalutation'] = _("Salutation");
-$labels['givenName'] = _("First Name");
-$labels['middleNames'] = _("Additional Names");
-$labels['sn'] = _("Last Name");
-$labels['snsuffix'] = _("Name Suffix");
-$labels['personalTitle'] = _("Title");
-$labels['userPassword'] = _("Password");
-$labels['telephoneNumber'] = _("Phone");
-$labels['postOfficeBox'] = _("Post Office Box");
-$labels['street'] = _("Street");
-$labels['title'] = _("Job Title");
-$labels['postalCode'] = _("Postal Code");
-$labels['facsimileTelephoneNumber'] = _("Fax");
-$labels['l'] = _("City");
-$labels['jpegPhoto'] = _("Photo");
-$labels['mail'] = _("Mail Address");
-$labels['mobile'] = _("Mobile Phone");
-$labels['homePhone'] = _("Home Phone");
-$labels['homePostalAddress'] = _("Home Postal Address");
-$labels['labeledURI'] = _("Website");
-$labels['o'] = _("Company");
-$labels['birthName'] = _("Birth Name");
-$labels['kolabMaritalStatus'] = _("Marital Status");
-$labels['dateOfBirth'] = _("Date Of Birth");
-$labels['placeOfBirth'] = _("Place Of Birth");
-$labels['gender'] = _("Gender");
-
diff --git a/koward/www/config/objects.php b/koward/www/config/objects.php
deleted file mode 100644 (file)
index 6c15803..0000000
+++ /dev/null
@@ -1,210 +0,0 @@
-<?php
-
-/* $objects['object'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object', */
-/*     'label'       => _("Object"), */
-/*     'list_label'  => _("Objects"), */
-/*     'list_attributes'  => array( */
-/*         'id' => array( */
-/*             'title' => _("Object id"), */
-/*             'width' => 80, */
-/*             'link_view'=> true, */
-/*         ), */
-/*     ), */
-/*     'attributes'  => array( */
-/*         'override' => true, */
-/*         'fields' => array( */
-/*             'id' => array( */
-/*                 'label' => _("Object ID"), */
-/*                 'type' => 'text', */
-/*                 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) */
-/*             ), */
-/*         ), */
-/*     ), */
-/* ); */
-
-/* $objects['person'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object_Person', */
-/*     'label'       => _("Person"), */
-/*     'list_label'  => _("Persons"), */
-/*     'list_attributes'  => array( */
-/*         'cn' => array( */
-/*             'title' => _("Common name"), */
-/*             'width' => 40, */
-/*             'link_view'=> true, */
-/*         ), */
-/*         'sn' => array( */
-/*             'title' => _("Last name"), */
-/*             'width' => 40, */
-/*         ), */
-/*     ), */
-/*     'attributes'  => array( */
-/*         'fields' => array( */
-/*             'cn' => array( */
-/*                 'required' => false, */
-/*             ), */
-/*             'userPassword' => array( */
-/*                 'required' => true, */
-/*             ), */
-/*         ), */
-/*     ), */
-/* ); */
-
-/* $objects['organizationalperson'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object_Organizationalperson', */
-/*     'label'       => _("Organizational person"), */
-/*     'list_label'  => _("Organizational persons"), */
-/*     'list_attributes'  => array( */
-/*         'cn' => array( */
-/*             'title' => _("Common name"), */
-/*             'width' => 40, */
-/*             'link_view'=> true, */
-/*         ), */
-/*         'sn' => array( */
-/*             'title' => _("Last name"), */
-/*             'width' => 40, */
-/*         ), */
-/*     ), */
-/*     'attributes'  => array( */
-/*         'fields' => array( */
-/*             'cn' => array( */
-/*                 'required' => false, */
-/*             ), */
-/*             'userPassword' => array( */
-/*                 'required' => true, */
-/*             ), */
-/*         ), */
-/*     ), */
-/* ); */
-
-/* $objects['inetperson'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object_Inetorgperson', */
-/*     'label'       => _("Inet person"), */
-/*     'list_label'  => _("Inet persons"), */
-/*     'list_attributes'  => array( */
-/*         'cn' => array( */
-/*             'title' => _("Common name"), */
-/*             'width' => 40, */
-/*             'link_view'=> true, */
-/*         ), */
-/*         'sn' => array( */
-/*             'title' => _("Last name"), */
-/*             'width' => 40, */
-/*         ), */
-/*     ), */
-/*     'attributes'  => array( */
-/*         'fields' => array( */
-/*             'cn' => array( */
-/*                 'required' => false, */
-/*             ), */
-/*             'userPassword' => array( */
-/*                 'required' => true, */
-/*             ), */
-/*         ), */
-/*     ), */
-/* ); */
-
-/* $objects['user'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object_Kolab_User', */
-/*     'label'       => _("User"), */
-/*     'list_label'  => _("Users"), */
-/*     'list_attributes'  => array( */
-/*         'sn' => array( */
-/*             'title' => _("Last name"), */
-/*             'width' => 20, */
-/*         ), */
-/*         'givenName' => array( */
-/*             'title' => _("First name"), */
-/*             'width' => 20, */
-/*         ), */
-/*         'mail' => array( */
-/*             'title' => _("E-mail"), */
-/*             'width' => 20, */
-/*             'link_view'=> true, */
-/*         ), */
-/*         'uid' => array( */
-/*             'title' => _("User ID"), */
-/*             'width' => 20, */
-/*         ), */
-/*     ), */
-/* ); */
-
-/* $objects['admin'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object_Kolab_Administrator', */
-/*     'label'       => _("Administrator"), */
-/*     'list_label'  => _("Administrators"), */
-/*     'attributes'  => array( */
-/*     ), */
-/* ); */
-
-/* $objects['kolabuser'] = array( */
-/*     'class'       => 'Horde_Kolab_Server_Object_Kolab_User', */
-/*     'preferred'   => true, */
-/*     'label'       => _("Kolab user"), */
-/*     'list_label'  => _("Kolab users"), */
-/*     'list_attributes'  => array( */
-/*         'sn' => array( */
-/*             'title' => _("Last name"), */
-/*             'width' => 20, */
-/*         ), */
-/*         'givenName' => array( */
-/*             'title' => _("First name"), */
-/*             'width' => 20, */
-/*         ), */
-/*         'mail' => array( */
-/*             'title' => _("E-mail"), */
-/*             'width' => 20, */
-/*             'link_view'=> true, */
-/*         ), */
-/*         'uid' => array( */
-/*             'title' => _("User ID"), */
-/*             'width' => 20, */
-/*         ), */
-/*     ), */
-/*     'attributes'  => array( */
-/*         'hide' => array( */
-/*             'objectClass', */
-/*             'seeAlso', */
-/*             'x121Address', */
-/*             'registeredAddress', */
-/*             'destinationIndicator', */
-/*             'preferredDeliveryMethod', */
-/*             'telexNumber', */
-/*             'teletexTerminalIdentifier', */
-/*             'internationaliSDNNumber', */
-/*             'kolabEncryptedPassword', */
-/*             'kolabHomeMTA', */
-/*             'kolabDelegate', */
-/*         ), */
-/*         'labels' => array( */
-/*             'mail' => _("Account ID"), */
-/*         ), */
-/*         'fields' => array( */
-/*             'kolabSalutation' => array( */
-/*                 'type' => 'enum', */
-/*                 'params' => array('values' => array(_("Mr.") => _("Mr."), */
-/*                                                     _("Mrs.") => _("Mrs.")), */
-/*                                   'prompt' => true), */
-/*             ), */
-/*             'gender' => array( */
-/*                 'type' => 'enum', */
-/*                 'params' => array('values' => array(_("1") => _("male"), */
-/*                                                     _("2") => _("female")), */
-/*                                   'prompt' => true), */
-/*             ), */
-/*             'kolabMaritalStatus' => array( */
-/*                 'type' => 'enum', */
-/*                 'params' => array('values' => array(_("0") => _("single"), */
-/*                                                     _("1") => _("married")), */
-/*                                   'prompt' => true), */
-/*             ), */
-/*             'userPassword' => array( */
-/*                 'type' => 'passwordconfirm', */
-/*             ), */
-/*         ), */
-/*     ), */
-/* ); */
-
-if (file_exists(dirname(__FILE__) . '/objects.local.php')) {
-    require_once(dirname(__FILE__) . '/objects.local.php');
-}
diff --git a/koward/www/config/order.php b/koward/www/config/order.php
deleted file mode 100644 (file)
index 74e0a28..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-$order['mail'] = 1;
-$order['kolabSalutation'] = 2;
-$order['givenName'] = 3;
-$order['middleNames'] = 4;
-$order['sn'] = 5;
-$order['snsuffix'] = 6;
-$order['gender'] = 7;
-$order['userPassword'] = 10;
-$order['dateOfBirth'] = 12;
-$order['placeOfBirth'] = 13;
-$order['kolabMaritalStatus'] = 14;
-$order['birthName'] = 15;
-$order['telephoneNumber'] = 30;
-$order['mobile'] = 31;
-$order['facsimileTelephoneNumber'] = 32;
-$order['homePhone'] = 33;
diff --git a/koward/www/config/routes.php b/koward/www/config/routes.php
deleted file mode 100644 (file)
index 1043478..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-$mapper->connect('index', array('controller' => 'index'));
-$mapper->connect('index.php', array('controller' => 'index'));
-
-$mapper->connect('check/:action/:id', array('controller' => 'check', 'action' => 'show'));
-$mapper->connect(':controller/:action/:id', array('controller' => 'object'));
-
-// Local route overrides
-if (file_exists(dirname(__FILE__) . '/routes.local.php')) {
-    include dirname(__FILE__) . '/routes.local.php';
-}
diff --git a/koward/www/config/search.php b/koward/www/config/search.php
deleted file mode 100644 (file)
index fb6264f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-$search = array(
-    'fields' => array(
-        'givenName' => array(
-            'label' => _("First Name"),
-            'type' => 'text',
-            'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
-        ),
-    )
-);
-
-if (file_exists(dirname(__FILE__) . '/search.local.php')) {
-    require_once(dirname(__FILE__) . '/search.local.php');
-}
diff --git a/koward/www/config/visible.php b/koward/www/config/visible.php
deleted file mode 100644 (file)
index d869909..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-$visible['hide'] = array(
-    'objectClass',
-    'id',
-    'lnfn',
-    'fnln',
-    'seeAlso',
-    'description',
-    'physicalDeliveryOfficeName',
-    'internationaliSDNNumber',
-    'x121Address',
-    'registeredAddress',
-    'destinationIndicator',
-    'preferredDeliveryMethod',
-    'telexNumber',
-    'teletexTerminalIdentifier',
-    'postalAddress',
-    'ou',
-    'st',
-    'manager',
-    'uid',
-    'employeeType',
-    'photo',
-    'x500uniqueIdentifier',
-    'secretary',
-    'userSMIMECertificate',
-    'employeeNumber',
-    'initials',
-    'audio',
-    'pager',
-    'businessCategory',
-    'roomNumber',
-    'carLicense',
-    'userCertificate',
-    'departmentNumber',
-    'preferredLanguage',
-    'displayName',
-    'userPKCS12',
-    'kolabVacationEndDateTime',
-    'kolabVacationReactDomain',
-    'kolabVacationAddress',
-    'kolabForwardKeepCopy',
-    'kolabDeleteflag',
-    'kolabVacationBeginDateTime',
-    'kolabVacationResendInterval',
-    'kolabVacationReplyToUCE',
-    'kolabForwardAddress',
-    'kolabForwardUCE',
-    'kolabAllowSMTPFrom',
-    'unrestrictedMailSize',
-    'kolabInvitationPolicy',
-    'kolabFreeBusyFuture',
-    'calFBURL',
-    'kolabComment',
-    'kolabImapServer',
-    'kolabFreeBusyServer',
-    'usertype',
-    'jpegPhoto',
-);
\ No newline at end of file
diff --git a/koward/www/themes/graphics/favicon.ico b/koward/www/themes/graphics/favicon.ico
deleted file mode 100644 (file)
index 0f8fa08..0000000
Binary files a/koward/www/themes/graphics/favicon.ico and /dev/null differ
diff --git a/koward/www/themes/graphics/query.png b/koward/www/themes/graphics/query.png
deleted file mode 100644 (file)
index ef46d4a..0000000
Binary files a/koward/www/themes/graphics/query.png and /dev/null differ
diff --git a/koward/www/themes/kolab/screen.css b/koward/www/themes/kolab/screen.css
deleted file mode 100644 (file)
index 017e2a7..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-  Local variables:
-  buffer-file-coding-system: utf-8
-  End:
-*/
-body {
-  color: black;
-  background-color: #F8FCF8;
-  font-family: verdana,arial,helvetica,sans-serif;
-  font-size: 95%;
-  border: 0;
-  margin: 0;
-}
-a, a:visited {
-  font-family: verdana,arial,helvetica,sans-serif;
-}
-
-a { color: #001155; }
-a:hover { color: #113399; }
-
-#page {
-  background-repeat: no-repeat;
-  background-position: top right;
-}
-
-#topbar {
-  display:block;
-  background-color: #B0BCD0;
-  height: 70px;
-  clear: both;
-}
-#toplogo {
-  display:block;
-  background-image: url(pics/kolab_logo.png);
-  background-color: #B0BCD0;
-  width: 245px;
-  height: 70px;
-  margin-left: 1em;
-  margin-top: 0.4em;
-  float: left;
-}
-#toptitle {
-  display:block;
-  text-align: right;
-  font-size: 200%;
-  padding-right: 1em;
-  padding-top: 0.5em;
-}
-#topuserinfo {
-  display:block;
-  background-color: #B0BCD0;
-  font-size: 80%;
-  padding: 0.1em;
-  border-bottom: solid 1px black;
-  text-align: right;
-}
-#topmenu {
-  background-color: #B0BCD0;
-  font-size: 90%;
-  border-bottom: solid 1px black;
-}
-#submenu {
-  background-color: #EEEEEE;
-  border-bottom: solid 1px black;
-  font-size: 90%;
-}
-
-.topmenuitem {
-  background-color: #B0BCD0;
-  border-right: solid 1px black;
-  padding-left: 0.5em;
-  padding-right: 0.5em;
-  margin: 0px;
-}
-.topmenuitemselected {
-  background-color: #EEEEEE;
-  border-right: solid 1px black;
-  padding-left: 0.5em;
-  padding-right: 0.5em;
-  margin: 0px;
-  border-bottom: solid 1px #EEEEEE;
-}
-.submenuitem {
-}
-.submenuitemselected {
-}
-.alphagroupitem {
-}
-.alphagroupitemselected {
-  font-weight:bold
-}
-#logout {
-  color: red;
-}
-#maintitle {
-  font-size: 200%;
-}
-#maincontent {
-  display:block;
-  padding: 1em;
-  margin: 1em;
-}
-#errorcontent {
-  display:block;
-  padding: 0.2em;
-  margin: 1em;
-  text-align: left;
-  color: red;
-  background-color: #EEEEEE;
-  border: solid 1px black;
-}
-#errorheader {
-  display:block;
-  text-align: left;
-  color: black;
-  background-color: #EEEEEE;
-  font-size: 150%;
-}
-#messagecontent {
-  display:block;
-  padding: 0.2em;
-  margin: 1em;
-  text-align: left;
-  color: green;
-  background-color: #EEEEEE;
-  border: solid 1px black;
-}
-#messageheader {
-  display:block;
-  text-align: left;
-  color: black;
-  background-color: #EEEEEE;
-  font-size: 150%;
-}
-.contenttext {
-  margin: 10px;
-}
-.contenttable {
-  width: 100%;
-  background-color: black;
-  border: 0px;
-}
-.contentroweven {
-  background-color: #C0CDE0;
-  margin: 0px;
-}
-.contentrowodd {
-  background-color: #D0DDF0;
-  margin: 0px;
-}
-.contentcell {
-  font-size: 90%;
-  padding: .1em .5em .1em .5em;
-  margin: 0px;
-/*  text-align: center; */
-}
-.actioncell {
-  font-size: 90%;
-  padding: .1em .5em .1em .5em;
-  width: 10%;
-  margin: 0px;
-  text-align: center;
-}
-.contentform {
-  /*float: left;*/
-  padding: .1em .5em .1em .5em;
-  background-color: #EEEEEE;
-  border: solid 1px black;
-}
-.contentformtable {
-  font-size: 90%;
-}
-.langcombo {
-  font-size: 80%;
-}
-
-#validators {
-  text-align: right;
-}
-
-th {
-  background-color: #EEEEEE;
-  border: 0px;
-}
-
-.ctrl {
-  background-color: #E0E3E0;
-  border: solid 1px black;
-  padding: .2em .5em .2em .5em;
-}
-
-.required_asterisk {
-  color: red;
-  font-size: 80%;
-  text-align: right;
-}
-
-label {
-  cursor: pointer;
-}
-
-.align_center {
-  text-align: center;
-}
-
-.align_right {
-  text-align: right;
-}
-
-.align_left {
-  text-align: left;
-}
diff --git a/koward/www/themes/screen.css b/koward/www/themes/screen.css
deleted file mode 100644 (file)
index 9075ea6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/**
- * Style for Koward.
- */