summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-09-14 04:11:03 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-09-14 04:11:03 (GMT)
commitbb26e3cfeb814dd55451e15ebbe7e2f9e9ac1137 (patch)
tree5d24e6288e73bca87b6e225c060d1e4e0ced7c4b /data
parentbde50e6db4b42905e708625aff7556dec4b2fec8 (diff)
downloadkolab-webadmin-bb26e3cfeb814dd55451e15ebbe7e2f9e9ac1137.tar.gz
Move the templates in the data directory in preparation of moving this to a PEAR based package.
Diffstat (limited to 'data')
-rwxr-xr-xdata/templates/addrdeleted.tpl12
-rwxr-xr-xdata/templates/addresslist.tpl24
-rwxr-xr-xdata/templates/addrlistall.tpl60
-rwxr-xr-xdata/templates/admindeleted.tpl12
-rwxr-xr-xdata/templates/adminlistall.tpl27
-rwxr-xr-xdata/templates/codefusion.tpl29
-rw-r--r--data/templates/createuser.tpl115
-rw-r--r--data/templates/deliver.tpl14
-rwxr-xr-xdata/templates/distlistall.tpl31
-rw-r--r--data/templates/distlistdeleted.tpl12
-rw-r--r--data/templates/domainmaintainerlistall.tpl28
-rwxr-xr-xdata/templates/erfrakon.tpl28
-rwxr-xr-xdata/templates/formcontainer.tpl8
-rwxr-xr-xdata/templates/forward.tpl15
-rwxr-xr-xdata/templates/intevation.tpl24
-rwxr-xr-xdata/templates/kdab.tpl27
-rwxr-xr-xdata/templates/kde.tpl15
-rwxr-xr-xdata/templates/kolab.tpl110
-rwxr-xr-xdata/templates/login.tpl22
-rwxr-xr-xdata/templates/maintainerdeleted.tpl12
-rwxr-xr-xdata/templates/maintainerlistall.tpl27
-rwxr-xr-xdata/templates/page.tpl109
-rwxr-xr-xdata/templates/settings.tpl205
-rw-r--r--data/templates/sfdeleted.tpl12
-rwxr-xr-xdata/templates/sflistall.tpl28
-rwxr-xr-xdata/templates/systemaliasnagscreen.tpl15
-rwxr-xr-xdata/templates/userdeleted.tpl12
-rwxr-xr-xdata/templates/userlistall.tpl72
-rw-r--r--data/templates/userlisterror.tpl41
-rwxr-xr-xdata/templates/vacation.tpl24
-rwxr-xr-xdata/templates/versions.tpl20
-rwxr-xr-xdata/templates/welcome.tpl9
32 files changed, 1199 insertions, 0 deletions
diff --git a/data/templates/addrdeleted.tpl b/data/templates/addrdeleted.tpl
new file mode 100755
index 0000000..84a7806
--- /dev/null
+++ b/data/templates/addrdeleted.tpl
@@ -0,0 +1,12 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+
+<div content="contentsimple">
+<p>{tr msg="The address with DN"} {$dn|escape} {tr msg="has been deleted"}</p>
+<p><a href="index.php">{tr msg="Back to list of addresses"}</a></p>
+</div>
diff --git a/data/templates/addresslist.tpl b/data/templates/addresslist.tpl
new file mode 100755
index 0000000..4bf6904
--- /dev/null
+++ b/data/templates/addresslist.tpl
@@ -0,0 +1,24 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+{tr msg="(only external addresses without a kolab user account)"}
+</div>
+
+<div class="contenttable">
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Name"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].name|escape:"html"}</td>
+ <td class="actioncell"><a href="modify.php?dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="delete.php?dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ </tr>
+{/section}
+</table>
+</div>
diff --git a/data/templates/addrlistall.tpl b/data/templates/addrlistall.tpl
new file mode 100755
index 0000000..3b8717e
--- /dev/null
+++ b/data/templates/addrlistall.tpl
@@ -0,0 +1,60 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h3>{tr msg="(only external addresses without a kolab user account)"}</h3>
+</div>
+<div class="align_center">
+<a href="{$self_url}?alphalimit="> {tr msg="[ ALL ]"} </a>&nbsp;&nbsp;
+<a href="{$self_url}?alphalimit=a"> [ A-F ] </a>&nbsp;&nbsp;
+<a href="{$self_url}?alphalimit=g"> [ G-L ] </a>&nbsp;&nbsp;
+<a href="{$self_url}?alphalimit=m"> [ M-R ] </a>&nbsp;&nbsp;
+<a href="{$self_url}?alphalimit=s"> [ S-Z ] </a>&nbsp;&nbsp;
+<a href="{$self_url}?alphalimit=other"> {tr msg="[ OTHER ]"} </a>
+</div>
+<div class="contentform">
+<form id="filterform" method="post" action="">
+<div>
+{tr msg="Filter:"} <select name="filterattr">
+{foreach key=value item=name from=$filterattrs}
+{if $value eq $filterattr}
+ <option value="{$value}" selected="selected">{$name|escape:"html"}</option>
+{else}
+ <option value="{$value}">{$name|escape:"html"}</option>
+{/if}
+{/foreach}
+</select>
+<select name="filtertype">
+{foreach key=value item=name from=$filtertypes}
+{if $value eq $filtertype}
+ <option value="{$value}" selected="selected">{$name|escape:"html"}</option>
+{else}
+ <option value="{$value}">{$name|escape:"html"}</option>
+{/if}
+{/foreach}
+</select>
+<input type="text" name="filtervalue" value="{$filtervalue|escape:"html"}" />
+<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" />
+</div>
+</form>
+</div>
+
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Name"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell"><a href="mailto:{$entries[id].mail|escape:"html"}" title="{$entries[id].sn|escape}, {$entries[id].fn|escape:"html"} &lt;{$entries[id].mail|escape:"html"}&gt;">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</a></td>
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="Entry deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell"><a href="addr.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="addr.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
diff --git a/data/templates/admindeleted.tpl b/data/templates/admindeleted.tpl
new file mode 100755
index 0000000..31bb532
--- /dev/null
+++ b/data/templates/admindeleted.tpl
@@ -0,0 +1,12 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+
+<div content="contentsimple">
+<p>{tr msg="The administrator with DN"} {$dn|escape} {tr msg="has been deleted"}</p>
+<p><a href="index.php">{tr msg="Back to list of administrators"}</a></p>
+</div>
diff --git a/data/templates/adminlistall.tpl b/data/templates/adminlistall.tpl
new file mode 100755
index 0000000..232120f
--- /dev/null
+++ b/data/templates/adminlistall.tpl
@@ -0,0 +1,27 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h3>{tr msg="Administrators"}</h3>
+</div>
+
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Name"}</th><th>{tr msg="UID"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</td>
+ <td class="contentcell">{$entries[id].uid|escape:"html"}</td>
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="Object Deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell"><a href="admin.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="admin.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
diff --git a/data/templates/codefusion.tpl b/data/templates/codefusion.tpl
new file mode 100755
index 0000000..1513511
--- /dev/null
+++ b/data/templates/codefusion.tpl
@@ -0,0 +1,29 @@
+{* Smarty Template *}
+{*
+ (c) 2004 Code Fusion cc
+ This program is Free Software under the GNU General Public License (>=v2).
+ Read the file COPYING that comes with this packages for details.
+*}
+<div class="contentsimple">
+
+<a href="http://www.codefusion.co.za/">
+ <img src="../pics/codefusion.png" alt="Code Fusion" style="border:0" />
+</a>
+
+<p>
+{tr msg="<a href=\"http://www.codefusion.co.za/\">Code Fusion cc</a> is a specialist email solution provider based in Johannesburg, South Africa specialising in the deployment and support of Kolab."}
+</p>
+
+<p>
+{tr msg="Code Fusion has played, and continues to play, an integral part in developing and extending the Kolab server; specifically with regards to enhancing the base Kolab engine, adding in support for Microsoft Active Directory &reg; as an LDAP backend, as well as extending the <a href=\"http://www.horde.org/\">Horde project</a> to provide a web-based groupware client for the Kolab server."}
+</p>
+
+<p>
+{tr msg="The following people from Code Fusion are involved in the Kolab project (in alphabetical order):"}
+</p>
+
+<p>
+Stephan Buys<br />
+</p>
+
+</div>
diff --git a/data/templates/createuser.tpl b/data/templates/createuser.tpl
new file mode 100644
index 0000000..0433351
--- /dev/null
+++ b/data/templates/createuser.tpl
@@ -0,0 +1,115 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<form name="user" method="post">
+<table class="contentform">
+<tr>
+ <th>{tr msg="Attribute"}</th>
+ <th>{tr msg="Value"}</th>
+ <th>{tr msg="Comment"}</th>
+</tr>
+<tr>
+ <td>{tr msg="First Name"}</td>
+ <td><input name="firstname" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td>{tr msg="Required"}</td>
+</tr>
+<tr>
+ <td>{tr msg="Middle Name"}</td>
+ <td><input name="middlename" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Last Name"}</td>
+ <td><input name="lastname" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td>{tr msg="Required"}</td>
+</tr>
+<tr>
+ <td>{tr msg="Password"}</td>
+ <td><input name="password_0" type="password" value="" size="50" onfocus="javascript:this.select()" />
+ </td><td>{tr msg="Required"}</td>
+</tr>
+<tr>
+ <td>{tr msg="Verify Password"}</td>
+ <td><input name="password_1" type="password" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td>{tr msg="Required"}</td>
+</tr>
+<tr>
+ <td>{tr msg="Primary Email Address"}</td>
+ <td><input name="mail_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td>{tr msg="Required, non volatile"}</td>
+</tr>
+<tr>
+ <td>{tr msg="Title"}</td>
+ <td><input name="title_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Email Alias"}</td>
+ <td><input name="alias_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Organisation"}</td>
+ <td><input name="o_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Organisational Unit"}</td>
+ <td><input name="ou_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Room Number"}</td>
+ <td><input name="roomNumber_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Street Address"}</td>
+ <td><input name="street_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Postbox"}</td>
+ <td><input name="postOfficeBox_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Postal Code"}</td>
+ <td><input name="postalCode_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="City"}</td>
+ <td><input name="l_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Country"}</td>
+ <td><input name="c_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Telephone Number"}</td>
+ <td><input name="telephoneNumber_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Fax Number"}</td>
+ <td><input name="facsimileTelephoneNumber_0" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td></td>
+</tr>
+<tr>
+ <td>{tr msg="Addressbook"}</td>
+ <td><input name="visible" type="checkbox" checked /></td>
+ <td>{tr msg="check here to make this users address <br/> visible in the address book"}</td>
+</tr>
+<tr>
+ <td>{tr msg="User Quota in KB"}</td>
+ <td><input name="userquota" type="text" value="" size="50" onfocus="javascript:this.select()" /></td>
+ <td>{tr msg="Leave blank for unlimited"}</td>
+</tr>
+</table>
+<input type="submit" name="submit_user" value="{tr msg="Submit"}" /><input name="action" type="hidden" value="firstsave" /></form>
diff --git a/data/templates/deliver.tpl b/data/templates/deliver.tpl
new file mode 100644
index 0000000..bb9155f
--- /dev/null
+++ b/data/templates/deliver.tpl
@@ -0,0 +1,14 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{tr msg="Email Delivery"}</h1>
+<div class="contentform">
+<form method="POST">
+<input type="checkbox" name="active" value="true" {if $active}checked{/if} /> {tr msg="Activate delivery to folder"}<br />
+{tr msg="Deliver regular mail to folder"} <input type="text" name="inbox" value="{$inbox}" /><br />
+<input type="submit" name="submit" value="{tr msg="Update"}"/><br />
+</form>
+</div>
diff --git a/data/templates/distlistall.tpl b/data/templates/distlistall.tpl
new file mode 100755
index 0000000..9fad827
--- /dev/null
+++ b/data/templates/distlistall.tpl
@@ -0,0 +1,31 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h3>{tr msg="Distribution Lists"}</h3>
+</div>
+
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Listname"}</th><th>{tr msg="Visibility"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].cn|escape:"html"}</td>
+ {if $entries[id].internal == true }
+ <td class="actioncell">{tr msg="Internal"}</td>
+ {else}
+ <td class="actioncell">{tr msg="Public"}</td>
+ {/if}
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="List deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell"><a href="list.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="list.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
diff --git a/data/templates/distlistdeleted.tpl b/data/templates/distlistdeleted.tpl
new file mode 100644
index 0000000..2f78033
--- /dev/null
+++ b/data/templates/distlistdeleted.tpl
@@ -0,0 +1,12 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+
+<div content="contentsimple">
+<p>{tr msg="The distribution list with DN"} {$dn|escape} {tr msg="has been deleted"}</p>
+<p><a href="index.php">{tr msg="Back to list of distribution lists"}</a></p>
+</div>
diff --git a/data/templates/domainmaintainerlistall.tpl b/data/templates/domainmaintainerlistall.tpl
new file mode 100644
index 0000000..fb39a28
--- /dev/null
+++ b/data/templates/domainmaintainerlistall.tpl
@@ -0,0 +1,28 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h3>{tr msg="Domain Maintainers"}</h3>
+</div>
+
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Name"}</th><th>{tr msg="UID"}</th><th>Domains</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</td>
+ <td class="contentcell">{$entries[id].uid|escape:"html"}</td>
+ <td class="contentcell">{$entries[id].domains|escape:"html"}</td>
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="Object Deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell"><a href="domainmaintainer.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="domainmaintainer.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
diff --git a/data/templates/erfrakon.tpl b/data/templates/erfrakon.tpl
new file mode 100755
index 0000000..3f3a432
--- /dev/null
+++ b/data/templates/erfrakon.tpl
@@ -0,0 +1,28 @@
+{* Smarty Template *}
+{*
+ (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
+ (c) 2004-2006 Martin Konold <martin.konold@erfrakon.de>
+ This program is Free Software under the GNU General Public License (>=v2).
+ Read the file COPYING that comes with this packages for details.
+*}
+<div class="contentsimple">
+<p>
+{tr msg="Kolab's architecture was done by <a href=\"http://www.erfrakon.com\">erfrakon</a>; the company also designed and implemented the Kolab 1 Server and did the design and architecture for the Kolab 2 Server while providing consulting for the implementation of the Kolab 2 server and the Kolab 2 clients."}
+</p>
+<div class="align_center">
+ <a href="http://www.erfrakon.de">
+ <img src="../pics/erfrakon.png" alt="erfrakon" longdesc="http://www.erfrakon.de" usemap="#maperfrakon" style="border:0px;" />
+ </a>
+</div>
+<p>
+{tr msg="<a href=\"http://www.erfrakon.com\">erfrakon</a> is a consulting company dedicated to opensource software and Linux. The main tasks of erfrakon within the Kolab project are the principle design and architecure of the Kolab groupware solution and the creation of the Kolab 1 server."}
+</p>
+<p>
+{tr msg="The following people worked on Kolab for erfrakon:"}
+</p>
+<p>
+Tassilo Erlewein<br />
+Achim Frank<br />
+Martin Konold<br />
+</p>
+</div>
diff --git a/data/templates/formcontainer.tpl b/data/templates/formcontainer.tpl
new file mode 100755
index 0000000..cde0961
--- /dev/null
+++ b/data/templates/formcontainer.tpl
@@ -0,0 +1,8 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+{$form} \ No newline at end of file
diff --git a/data/templates/forward.tpl b/data/templates/forward.tpl
new file mode 100755
index 0000000..458e093
--- /dev/null
+++ b/data/templates/forward.tpl
@@ -0,0 +1,15 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{tr msg="Email Forwarding"}</h1>
+<div class="contentform">
+<form method="POST">
+<input type="checkbox" name="active" value="true" {if $active}checked{/if} /> {tr msg="Activate email forwarding"}<br />
+{tr msg="Forward mail to"} <input type="text" name="address" value="{$address}" /><br />
+<input type="checkbox" name="keep" value="true" {if $keep}checked{/if} /> {tr msg="Keep copy on server"}<br />
+<input type="submit" name="submit" value="{tr msg="Update"}"/><br />
+</form>
+</div>
diff --git a/data/templates/intevation.tpl b/data/templates/intevation.tpl
new file mode 100755
index 0000000..7e0cefc
--- /dev/null
+++ b/data/templates/intevation.tpl
@@ -0,0 +1,24 @@
+{* Smarty Template *}
+<div class="contentsimple">
+<p>
+{tr msg="Intevation GmbH coordinated the Projects: Kroupware and Proko2, which are the main driving force behind Kolab1&2. In addition to project management Intevation did most of the quality assurance."}
+</p>
+
+<div class="align_center">
+ <a href="http://intevation.net/">
+ <img src="../pics/intevation_logo.png" alt="Logo Intevation GmbH" height="91" longdesc="www.intevation.net" style="border:0px;" />
+ </a>
+</div>
+
+<p>
+{tr msg="Intevation GmbH is a IT-company exclusively focusing on Free Software. Its business units are strategic consulting, project management and geographic information systems."}
+</p>
+<p>
+{tr msg="The following people worked on Kolab for Intevation:"}
+</p>
+<p>
+Bernhard Reiter<br />
+Jan-Oliver Wagner<br />
+Marc Mutz
+</p>
+</div>
diff --git a/data/templates/kdab.tpl b/data/templates/kdab.tpl
new file mode 100755
index 0000000..2fd745c
--- /dev/null
+++ b/data/templates/kdab.tpl
@@ -0,0 +1,27 @@
+{* Smarty Template *}
+<div class="align_center">
+ <a href="http://www.klaralvdalens-datakonsult.se/">
+ <img src="../pics/kdab.png" alt="KDAB" longdesc="http://www.klaralvdalens-datakonsult.se" style="border:0px;" />
+ </a>
+</div>
+<div class="contentsimple">
+<p>
+{tr msg="The Kolab 1 KDE client and the Kolab 2 KDE Client (Kontact) was developed by"} <a href="http://www.klaralvdalens-datakonsult.se">Klar&auml;lvdalens Datakonsult AB</a>.
+</p>
+<p>
+{tr msg="Klar&auml;lvdalens Datakonsult AB is a consulting company dedicated to opensource software, Linux, and the <a href=\"http://www.trolltech.com/products/qt/\">Qt</a> library. The main tasks of KDAB within the Kolab project are design and implementation of the Kolab KDE clients and the implementation of the current Kolab 2 server."}
+</p>
+<p>
+{tr msg="The following people worked on Kolab for Klar&auml;lvdalens Datakonsult AB:"}
+</p>
+<p>
+Bo Thorsen<br />
+Michel Boyer de la Giroday<br />
+Steffen Hansen<br />
+Matthias Kalle Dalheimer<br />
+David Faure<br />
+Karl-Heinz Zimmer<br />
+Lutz Rogowski<br />
+Romain Pokrzywka<br />
+</p>
+</div>
diff --git a/data/templates/kde.tpl b/data/templates/kde.tpl
new file mode 100755
index 0000000..94deaff
--- /dev/null
+++ b/data/templates/kde.tpl
@@ -0,0 +1,15 @@
+{* Smarty Template *}
+<div class="contentsimple">
+<p>
+{tr msg="<a href=\"http://www.kde.org\">KDE</a> is a powerful <a href=\"http://www.gnu.org/philosophy/free-sw.html\">Free Software</a> graphical desktop environment for Linux and Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of the Unix operating system."}
+</p>
+<div class="align_center">
+<img src="../pics/kde.png" alt="KDE" longdesc="http://www.kde.org" />
+</div>
+<p>
+{tr msg="<b>KDE</b> is an Internet project that is truly open in every sense. Development takes place on the Internet and is discussed on our <a href=\"http://www.kde.org/mailinglists.html\">mailing lists</a>, USENET news groups, and IRC channels to which we invite and welcome everyone."}
+</p>
+<p>
+{tr msg="<b>KDE</b> is a mature desktop suite providing a solid basis to an ever growing number of <a href=\"http://www.kde-apps.org\">applications</a> for Unix workstations. KDE has developed a high quality development framework for Unix, which allows for the rapid and efficient creation of applications."}
+</p>
+</div>
diff --git a/data/templates/kolab.tpl b/data/templates/kolab.tpl
new file mode 100755
index 0000000..d43db6c
--- /dev/null
+++ b/data/templates/kolab.tpl
@@ -0,0 +1,110 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h1>{tr msg="Kolab2 Groupware Server"}</h1>
+<p>
+{tr msg="This is the Kolab2 Server. It is Free Software developed by the <a href=\"http://www.kolab.org/\">Kolab Project</a>, with the intention of bringing groupware functionality to Unix/KDE users as well as Windows desktops."}
+</p>
+
+<div>
+{tr msg="Kolab builds upon many other Free Software projects, namely:"}
+<ul>
+ <li><a href="http://www.ijs.si/software/amavisd/">amavisd-new</a> {tr msg="(Mail Scanner)"}</li>
+ <li><a href="http://www.apache.org/">Apache</a> {tr msg="(HTTP Server)"}</li>
+ <li><a href="http://www.clamav.net/">ClamAV</a> {tr msg="(Virus Scanner)"}</li>
+ <li><a href="http://asg.web.cmu.edu/cyrus/imapd/">Cyrus</a> {tr msg="(IMAP Server)"}</li>
+ <li><a href="http://www.openldap.org/">OpenLDAP</a> {tr msg="(LDAP Server)"}</li>
+ <li><a href="http://www.postfix.org/">Postfix</a> {tr msg="(MTA)"}</li>
+ <li><a href="http://spamassassin.apache.org/">SpamAssasin</a> {tr msg="(SPAM Filter)"}</li>
+
+</ul>
+{tr msg="The following projects are used in binding the above together, in order to create the Kolab Server:"}
+<ul>
+ <li><a href="http://www.perl.org/">Perl</a></li>
+ <li><a href="http://www.php.net/">PHP</a></li>
+ <li><a href="http://smarty.php.net/">Smarty Template Engine</a></li>
+</ul>
+{tr msg="The following projects are used as a base for the Kolab Clients:"}
+<ul>
+ <li><a href="http://www.kde.org/">K Desktop Environment (KDE)</a></li>
+ <li><a href="http://www.horde.org/">The Horde Project</a></li>
+</ul>
+</div>
+
+<p>
+{tr msg="The Kolab project owes a great deal of thanks to the people of the <a href=\"http://www.openpkg.org/\">OpenPKG</a> project. OpenPKG allows Kolab to run on many diverse platforms in a reliable and predictable manner, by providing a common, easy-to-install, cross-platform base on which to build the server."}
+</p>
+
+<p>
+{tr msg="To use all Kolab2 features you need an interoperable client. The KDE Kolab Client was the first such client to be developed and is still considered the reference platform for others to follow. The KDE groupware component Kontact can act as Kolab2 Client. Many thanks to the <a href=\"http://www.kde.org\">KDE Project</a> for providing such a powerful base on which to build this client solution."}
+</p>
+
+<p>
+{tr msg="Users of Outlook on Microsoft Windows are able to use a proprietary plug-in to inter-operate with the Kolab server. For Kolab2 the preferred plug-in is the <a href=\"http://www.toltec.co.za/\">Toltec Plug-in</a> by Radley Network Technologies CC. Radley has worked closely with the Kolab community to help develop the Kolab2 storage format."}
+</p>
+
+<p>
+{tr msg="A list of additional Outlook plug-ins that provide interoperability with the Kolab server is <a href=\"http://www.kolab.org/kolab-plugins.html\">maintained on the Kolab website</a>."}
+</p>
+
+<p>
+{tr msg="There is also a <a href=\"http://www.kolab.org/webclient.html\">web-based client</a> in development which provides full groupware functionality to mobile users through a web interface. It allows users to access their email, calendars, tasks, etc. from anywhere in the world, by simply connecting through a standard web browser. The web client would not have been possible without the excellent <a href=\"http://www.horde.org/\">Horde project</a> on which to build."}
+</p>
+
+<p>
+{tr msg="As Kolab is a Free Software project, anyone can help to extend the functionality of the software. An active community has developed around the software with many people throughout the world contributing. The project was originally started in 2002 by a joint-venture of three companies: <a href=\"http://www.erfrakon.com/\">erfrakon</a> (design, architecture and server); <a href=\"http://www.intevation.de\">Intevation</a> (project management) and <a href=\"http://www.klaralvdalens-datakonsult.se/\">Klar&auml;lvdalens Datakonsult</a> (client)."}
+</p>
+
+<p>
+{tr msg="<a href=\"http://www.codefusion.co.za/\">Code Fusion cc</a> joined the project soon after the original Kolab1 server was released. Its developers are primarily responsible for an updated engine (which forms the base of the Kolab2 server), the web client, as well as contributing to development of the Kolab2 storage format."}
+</p>
+
+<div>
+ {tr msg="Other contributors:"}<br/>
+<ul>
+<li> <a href="http://www.konsec.com">Konsec GmbH</a> {tr msg="CSSified the Kolab1 web admin GUI"}</li>
+</ul>
+</div>
+
+<p>
+{tr msg="The principal authors of the Kolab client and server software are (in alphabetical order):"}
+</p>
+
+<div>
+<ul>
+ <li>Stuart Bing&euml;</li>
+ <li>Stephan Buys</li>
+ <li>Matthias Kalle Dalheimer</li>
+ <li>Tassilo Erlewein</li>
+ <li>David Faure</li>
+ <li>Achim Frank</li>
+ <li>Michel Boyer de la Giroday</li>
+ <li>Steffen Hansen</li>
+ <li>Bernhard Herzog</li>
+ <li>Martin Konold</li>
+ <li>Marc Mutz</li>
+ <li>Bernhard Reiter</li>
+ <li>Lutz Rogowski</li>
+ <li>Bo Thorsen</li>
+ <li>Jan-Oliver Wagner</li>
+ <li>Karl-Heinz Zimmer</li>
+ <li>Romain Pokrzywka</li>
+</ul>
+</div>
+
+<hr>
+<small>
+ <p>
+ This product includes PHP, freely available from
+ http://www.php.net/
+ </p><p>
+ This product includes software developed by the OpenSSL Project
+ for use in the OpenSSL Toolkit (http://www.openssl.org/)
+ </p>
+</small>
+
+</div>
diff --git a/data/templates/login.tpl b/data/templates/login.tpl
new file mode 100755
index 0000000..3c36775
--- /dev/null
+++ b/data/templates/login.tpl
@@ -0,0 +1,22 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{tr msg="Enter UID and password to login"}</h1>
+<div class="contentform">
+<form method="post">
+<table>
+<tr>
+ <td><label for="username">{tr msg="Username:"}</label></td><td><input type="text" name="username" id="username"/></td>
+</tr>
+<tr>
+ <td><label for="password">{tr msg="Password:"}</label></td><td><input type="password" name="password" id="password"/></td>
+</tr>
+<tr>
+ <td colspan="2" align="right"><input type="submit" name="login" value="{tr msg="Login"}"/></td>
+</tr>
+</table>
+</form>
+</div>
diff --git a/data/templates/maintainerdeleted.tpl b/data/templates/maintainerdeleted.tpl
new file mode 100755
index 0000000..4f1b312
--- /dev/null
+++ b/data/templates/maintainerdeleted.tpl
@@ -0,0 +1,12 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+
+<div content="contentsimple">
+<p>{tr msg="The maintainer with DN"} {$dn|escape} {tr msg="has been deleted"}</p>
+<p><a href="index.php">{tr msg="Back to list of maintainers"}</a></p>
+</div>
diff --git a/data/templates/maintainerlistall.tpl b/data/templates/maintainerlistall.tpl
new file mode 100755
index 0000000..2c6a3ad
--- /dev/null
+++ b/data/templates/maintainerlistall.tpl
@@ -0,0 +1,27 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h3>{tr msg="Maintainers"}</h3>
+</div>
+
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Name"}</th><th>{tr msg="UID"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</td>
+ <td class="contentcell">{$entries[id].uid|escape:"html"}</td>
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="Object Deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell"><a href="maintainer.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="maintainer.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
diff --git a/data/templates/page.tpl b/data/templates/page.tpl
new file mode 100755
index 0000000..4b71979
--- /dev/null
+++ b/data/templates/page.tpl
@@ -0,0 +1,109 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<title>{$page_title}</title>
+<link rel="shortcut icon" type="image/png" href="{$webserver_web_prefix}/favicon.png" />
+<meta name="robots" content="noindex" />
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<meta http-equiv="Content-Language" content="{$currentlang}" />
+<meta name="description" content="Kolab Administration Webinterface" />
+<meta name="keywords" content="Linux, Unix, Groupware, Email, Calendar" />
+<link rel="stylesheet" type="text/css" href="{$stylesheet|default:"$topdir/style.css"}" />
+<link rel="stylesheet" type="text/css" media="print" href="{"$topdir/print.css"}" />
+
+<script type="text/javascript">
+<!--
+function changeLanguage(combobox) {ldelim}
+ val=combobox.options[combobox.selectedIndex].value;
+ if(val!="") window.location="{$lang_url}"+val;
+{rdelim}
+-->
+</script>
+
+</head>
+<body>
+<div id="topbar">
+ <a href="{$kolab_wui}"><span id="toplogo"></span></a>
+ <div id="toptitle">{$page_title}</div>
+</div>
+<div id="topuserinfo">
+{if $uid}
+{tr msg="User:"} {$uid} | {tr msg="Role:"} {$group} | <a id="logout" href="{$topdir}/logout.php">{tr msg="Logout"}</a>
+{else}
+{tr msg="Not logged in"}
+{/if}
+<br/>
+<select name="lang" class="langcombo" onchange="changeLanguage(this);">
+{section name=id loop=$languages}
+{if $languages[id].code==$currentlang}
+<option value="{$languages[id].code}" selected="selected">{$languages[id].name}</option>
+{else}
+<option value="{$languages[id].code}">{$languages[id].name}</option>
+{/if}
+{/section}
+</select>
+</div>
+{strip}
+<div id="topmenu">
+{foreach from=$menuitems item=menuitem}
+<a href="{$menuitem.url}">
+ <span class="topmenuitem{$menuitem.selected}">&nbsp;{$menuitem.name}&nbsp;</span>
+</a>
+{/foreach}
+</div>
+{/strip}
+{if count($submenuitems) > 0}
+<div id="submenu">
+{strip}
+{section name=id loop=$submenuitems}
+<a href="{$submenuitems[id].url}">
+ <span class="submenuitem{$submenuitems[id].selected}">{$submenuitems[id].name}</span>
+</a>&nbsp;|&nbsp;
+{/section}
+{/strip}
+</div>
+{/if}
+<div id="page">
+{if $errors}
+<div id="errorcontent">
+<div id="errorheader">{tr msg="Errors:"}</div>
+{section name=id loop=$errors}
+{$errors[id]}<br/>
+{/section}
+</div>
+{/if}
+{if $messages}
+<div id="messagecontent">
+<div id="messageheader">{tr msg="Message:"}</div>
+{section name=id loop=$messages}
+{$messages[id]}<br/>
+{/section}
+</div>
+{/if}
+<div id="maincontent">
+{include file=$maincontent}
+</div>
+<!--
+<div id="validators">
+<a href="http://validator.w3.org/check/referer">
+<img style="border:0;width:88px;height:31px"
+ src="http://www.w3.org/Icons/valid-xhtml10"
+ alt="Valid XHTML 1.0!" />
+</a>
+<a href="http://jigsaw.w3.org/css-validator/check/referer">
+<img style="border:0;width:88px;height:31px"
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
+ alt="Valid CSS!" />
+</a>
+</div>
+-->
+</div>
+</body>
+</html>
diff --git a/data/templates/settings.tpl b/data/templates/settings.tpl
new file mode 100755
index 0000000..6d1dfcc
--- /dev/null
+++ b/data/templates/settings.tpl
@@ -0,0 +1,205 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{tr msg="Kolab Server Settings"}</h1>
+
+{if count($systemaliasconf)>0 }
+<a name="systemaliasconf"></a>
+<h2>{tr msg="Administrative email addresses"}</h2>
+<div class="contentsimple">
+<p>{tr msg="You have not yet set up a receiving account for the administrative email addresses hostmaster@yourdomain.tld, postmaster@yourdomain.tld, MAILER-DAEMON@yourdomain.tld, abuse@yourdomain.tld and virusalert@yourdomain.tld. Enter the email address of a kolab account below and press the button to create a distribution list for each of those addresses. Later you can add or remove people from the lists like any other distribution list"}</p>
+{section name=id loop=$systemaliasconf}
+<div class="contentform">
+<form id="systemalias_{$systemaliasconf[id].n}" method="post" action="">
+<div>
+{tr msg="Email address of account that should receive administrative mail for domain "} {$systemaliasconf[id].domain|escape:html}:
+<input type="text" name="systemaliasmail_{$systemaliasconf[id].n}" size="80" value="{$systemaliasmail[id]|escape:"html"}" /><br/>
+<div class="align_right"><input type="submit" name="submitsystemalias_{$systemaliasconf[id].n}" value="{tr msg="Create Distribution Lists"}" /></div>
+</div>
+</form>
+</div>
+{/section}
+<br />
+</div>
+{/if}
+
+<h2>{tr msg="Enable or Disable individual Services"}</h2>
+<form id="serviceform" method="post" action="">
+<div>
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Service"}</th><th>{tr msg="Enabled"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].name|escape:"html"}</td>
+ <td class="actioncell"><input type="checkbox" name="{$entries[id].service}" {if $entries[id].enabled == 'true' }checked="checked"{/if} /></td>
+ </tr>
+{/section}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell"> </td><td class="actioncell"><input type="submit" name="submitservices" value="{tr msg="Update"}" /></td>
+ </tr>
+</table>
+</div>
+</form>
+<h2>{tr msg="Quota settings"}</h2>
+<div class="contentform">
+<form id="quotawarnform" method="post" action="">
+<div>
+<br />
+{tr msg="Warn users when they have used"} <input name="quotawarn" size="3" value="{$quotawarn|escape:"html"}" /> {tr msg="% of their quota"}<br />
+<div class="align_right"><input type="submit" name="submitquotawarn" value="{tr msg="Update"}" /></div>
+</div>
+</form>
+</div>
+<br />
+<h2>{tr msg="Free/Busy settings"}</h2>
+<div class="contentform">
+<form id="httpallowunauthfbform" method="post" action="">
+<div>
+<br />
+<input type="checkbox" name="httpallowunauthfb" {if $httpallowunauthfb == 'true' }checked="checked"{/if} />
+{tr msg="Allow unauthenticated downloading of Free/Busy information"}
+<br />
+<div class="align_right"><input type="submit" name="submithttpallowunauthfb" value="{tr msg="Update"}" /></div>
+</div>
+</form>
+</div>
+<br />
+<div class="contentform">
+<form id="freebusypastform" method="post" action="">
+<div>
+<br />
+{tr msg="When creating free/busy lists, include data from"} <input name="freebusypast" size="3" value="{$freebusypast|escape:"html"}" /> {tr msg="days in the past"}<br />
+<div class="align_right"><input type="submit" name="submitfreebusypast" value="{tr msg="Update"}" /></div>
+</div>
+</form>
+</div>
+<br />
+<h2>{tr msg="Privileged Networks"}</h2>
+<div class="contentform">
+<form id="postfixmynetworksform" method="post" action="">
+<div>
+{tr msg="Networks allowed to relay and send mail through unauthenticated SMTP connections to the Kolab server (comma separated networks in x.x.x.x/y format):"}
+<input type="text" name="postfixmynetworks" size="80" value="{$postfixmynetworks|escape:"html"}" />
+<div class="align_right"><input type="submit" name="submitpostfixmynetworks" value="{tr msg="Update"}" /></div>
+</div>
+</form>
+</div>
+<br />
+<h2>{tr msg="SMTP \"smarthost/relayhost\""}</h2>
+<div class="contentform">
+<form id="postfixrelayhostform" method="post" action="">
+<div>
+{tr msg="Smarthost (and optional port) to use to send outgoing mail (host.domain.tld). Leave empty for no relayhost."}
+<input type="text" name="postfixrelayhost" size="40" value="{$postfixrelayhost|escape:"html"}" />:
+<input type="text" name="postfixrelayport" size="4" value="{$postfixrelayport|escape:"html"}" /><br/>
+<div class="align_right"><input type="submit" name="submitpostfixrelayhost" value="{tr msg="Update"}" /></div>
+</div>
+</form>
+</div>
+<br />
+<h2>{tr msg="Accept Internet Mail"}</h2>
+<div class="contentform">
+ <form id="postfixallowunauthform" method="post" action="">
+ <div>
+ <table border="0">
+ <tr>
+ <td valign="top"><input type="checkbox" name="postfixallowunauth" {if $postfixallowunauth == 'true' }checked="checked"{/if} />
+ </td>
+ <td>{tr msg="Accept mail from other domains over unauthenticated SMTP. This must be enabled if you want to use the Kolab Server to receive mail from other internet domains directly. Leave disabled to accept mail only from SMTP gateways that are within the privileged network."}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="right"><input type="submit" name="submitpostfixallowunauth" value="{tr msg="Update"}" />
+ </td>
+ </tr>
+ </table>
+ </div>
+ </form>
+</div>
+<br />
+<h2>{tr msg="Domains"}</h2>
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Domain"}</th><th>{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$postfixmydestination}
+ <form method="post" action="">
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$postfixmydestination[id]|escape:"html"}</td>
+ <td class="actioncell">{strip}
+ <input type="hidden" name="adestination" value="{$postfixmydestination[id]}" />
+ <input type="submit" name="deletedestination" value="{tr msg="Delete"}" />
+ {/strip}</td>
+ </tr>
+ </form>
+{/section}
+ <form method="post" action="">
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">
+ <input type="text" size="60" name="adestination" />
+ </td><td class="actioncell"><input type="submit" name="adddestination" value="{tr msg="Add"}" /></td>
+ </tr>
+ </form>
+</table>
+<br/>
+<h2>{tr msg="Mail Filter Settings"}</h2>
+<div class="contentform">
+<form id="kolabfilterform" method="post" action="">
+<div>
+<input type="checkbox" name="kolabfilterverifyfrom" {if $kolabfilterverifyfrom == 'true' }checked="checked"{/if} />
+{tr msg="Check messages for mismatching From header and envelope from."}
+<br />
+<input type="checkbox" name="kolabfilterallowsender" {if $kolabfilterallowsender == 'true' }checked="checked"{/if} />
+{tr msg="Use the Sender header instead of From for the above checks if Sender is present."}
+<br />
+<h4>{tr msg="Action to take for messages that fail the check:"}</h4>
+<table border="0">
+ <tr>
+ <td valign="top"><input type="radio" name="kolabfilterrejectforgedfrom" value="FALSE" {if $kolabfilterrejectforgedfrom == 'false' }checked="checked"{/if} />
+ </td>
+ <td>{tr msg="Reject the message, except if it originates from the outside and the From header matches one of Kolab server's domains. In that case rewrite the From header so the recipient can see the potential forgery."}<br/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top"><input type="radio" name="kolabfilterrejectforgedfrom" value="TRUE" {if $kolabfilterrejectforgedfrom == 'true' }checked="checked"{/if} />
+ </td>
+ <td>{tr msg="Always reject the message."}
+{tr msg="Note that enabling this setting will make the server reject any mail with non-matching sender and From header if the sender is an account on this server. This is known to cause trouble for example with mailinglists."}
+ </td>
+ </tr>
+</table>
+<div class="align_right"><input type="submit" name="submitkolabfilter" value="{tr msg="Update"}" /></div>
+</div>
+</form>
+</div>
+<br />
+
+<h2>{tr msg="Kolab Hostnames (for Master and Slaves)"}</h2>
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Host"}</th><th>{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$kolabhost}
+ <form method="post" action="">
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$kolabhost[id]|escape:"html"}</td>
+ <td class="actioncell">{strip}
+ <input type="hidden" name="akolabhost" value="{$kolabhost[id]}" />
+ <input type="submit" name="deletekolabhost" value="{tr msg="Delete"}" />
+ {/strip}</td>
+ </tr>
+ </form>
+{/section}
+ <form method="post" action="">
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">
+ <input type="text" size="60" name="akolabhost" />
+ </td><td class="actioncell"><input type="submit" name="addkolabhost" value="{tr msg="Add"}" /></td>
+ </tr>
+ </form>
+</table>
diff --git a/data/templates/sfdeleted.tpl b/data/templates/sfdeleted.tpl
new file mode 100644
index 0000000..03fa3ea
--- /dev/null
+++ b/data/templates/sfdeleted.tpl
@@ -0,0 +1,12 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+
+<div content="contentsimple">
+<p>{tr msg="The shared folder with DN"} {$dn|escape} {tr msg="has been deleted"}</p>
+<p><a href="index.php">{tr msg="Back to list of shared folders"}</a></p>
+</div>
diff --git a/data/templates/sflistall.tpl b/data/templates/sflistall.tpl
new file mode 100755
index 0000000..3958e18
--- /dev/null
+++ b/data/templates/sflistall.tpl
@@ -0,0 +1,28 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h3>{tr msg="Shared folders"}</h3>
+</div>
+
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Name"}</th><th>{tr msg="Server"}</th><th>{tr msg="Type"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ <td class="contentcell">{$entries[id].cn|escape:"html"}</td>
+ <td class="contentcell">{$entries[id].kolabhomeserver|escape:"html"}</td>
+ <td class="contentcell">{$entries[id].foldertype|escape:"html"}</td>
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="Folder deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell"><a href="sf.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell"><a href="sf.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
diff --git a/data/templates/systemaliasnagscreen.tpl b/data/templates/systemaliasnagscreen.tpl
new file mode 100755
index 0000000..5beb354
--- /dev/null
+++ b/data/templates/systemaliasnagscreen.tpl
@@ -0,0 +1,15 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h1>{tr msg="Welcome to the Kolab administration interface"}</h1>
+</div>
+<div id="errorcontent">
+<div id="errorheader">{tr msg="NOTE:"}</div>
+{tr msg="No account is configured to receive mail for administrative addresses. If you have not yet created an account for this, "}
+<a href="{$topdir}/user/user.php?action=create" target="_blank">{tr msg="please do so"}</a> {tr msg="and then go"}
+<a href="{$topdir}/settings/#systemaliasconf">{tr msg="here"}</a> {tr msg="to set up forwarding of mail to administrative email addresses."}
+</div>
diff --git a/data/templates/userdeleted.tpl b/data/templates/userdeleted.tpl
new file mode 100755
index 0000000..33977b3
--- /dev/null
+++ b/data/templates/userdeleted.tpl
@@ -0,0 +1,12 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{$heading}</h1>
+
+<div content="contentsimple">
+<p>{tr msg="The user with DN"} {$dn|escape} {tr msg="has been deleted"}</p>
+<p><a href="index.php">{tr msg="Back to list of users"}</a></p>
+</div>
diff --git a/data/templates/userlistall.tpl b/data/templates/userlistall.tpl
new file mode 100755
index 0000000..bca3843
--- /dev/null
+++ b/data/templates/userlistall.tpl
@@ -0,0 +1,72 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h3>{tr msg="Email Users"}</h3>
+<div class="align_center">
+<a {if $alphagroup==""}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup="> {tr msg="[ ALL ]"} </a>&nbsp;&nbsp;
+<a {if $alphagroup=="a"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=a"> [ A-F ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="g"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=g"> [ G-L ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="m"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=m"> [ M-R ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="s"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=s"> [ S-Z ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="other"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=other"> {tr msg="[ OTHER ]"} </a>
+</div>
+<div class="contentform">
+<form id="filterform" method="post" action="">
+<div>
+{tr msg="Filter:"} <select name="filterattr">
+{foreach key=value item=name from=$filterattrs}
+{if $value eq $filterattr}
+ <option value="{$value}" selected="selected">{$name|escape:"html"}</option>
+{else}
+ <option value="{$value}">{$name|escape:"html"}</option>
+{/if}
+{/foreach}
+</select>
+<select name="filtertype">
+{foreach key=value item=name from=$filtertypes}
+{if $value eq $filtertype}
+ <option value="{$value}" selected="selected">{$name|escape:"html"}</option>
+{else}
+ <option value="{$value}">{$name|escape:"html"}</option>
+{/if}
+{/foreach}
+</select>
+<input type="text" name="filtervalue" value="{$filtervalue|escape:"html"}" />
+<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" />
+</div>
+</form>
+</div>
+<div>
+<table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>{tr msg="Type"}</th><th>{tr msg="Name"}</th><th>{tr msg="E-mail"}</th><th>{tr msg="uid"}</th><th colspan="2">{tr msg="Action"}</th>
+ </tr>
+{section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ {if $entries[id].type == 'U' }
+ <td class="contentcell" title="User Account" align="center">U</td>
+ {elseif $entries[id].type == 'I' }
+ <td class="contentcell" title="Internal User Account" align="center">I</td>
+ {elseif $entries[id].type == 'G' }
+ <td class="contentcell" title="Group Account" align="center">G</td>
+ {elseif $entries[id].type == 'R' }
+ <td class="contentcell" title="Resource Account" align="center">R</td>
+ {else}
+ <td class="contentcell" title="Unknown Account Type" align="center">?</td>
+ {/if}
+ <td class="contentcell">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</td>
+ <td class="contentcell"><a href="mailto:{$entries[id].mail|escape:"html"}">{$entries[id].mail|escape:"html"}</a></td>
+ <td class="contentcell">{$entries[id].uid|escape:"html"}</td>
+ {if $entries[id].deleted neq "FALSE"}
+ <td class="actioncell" colspan="2">{tr msg="User Deleted, awaiting cleanup..."}</td>
+ {else}
+ <td class="actioncell" align="center"><a href="user.php?action=modify&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
+ <td class="actioncell" align="center"><a href="user.php?action=delete&amp;dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ {/if}
+ </tr>
+{/section}
+</table>
+</div>
diff --git a/data/templates/userlisterror.tpl b/data/templates/userlisterror.tpl
new file mode 100644
index 0000000..a1914ec
--- /dev/null
+++ b/data/templates/userlisterror.tpl
@@ -0,0 +1,41 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h3>{tr msg="Email Users"}</h3>
+<div align="center">
+<a {if $alphagroup==""}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup="> {tr msg="[ ALL ]"} </a>&nbsp;&nbsp;
+<a {if $alphagroup=="a"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=a"> [ A-F ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="g"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=g"> [ G-L ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="m"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=m"> [ M-R ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="s"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=s"> [ S-Z ] </a>&nbsp;&nbsp;
+<a {if $alphagroup=="other"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=other"> {tr msg="[ OTHER ]"} </a>
+</div>
+<div class="contentform">
+<form name="filterform" method="post">
+{tr msg="Filter:"} <select name="filterattr">
+{foreach key=value item=name from=$filterattrs}
+{if $value eq $filterattr}
+ <option value="{$value}" selected>{$name|escape:"html"}</option>
+{else}
+ <option value="{$value}">{$name|escape:"html"}</option>
+{/if}
+{/foreach}
+</select>
+<select name="filtertype">
+{foreach key=value item=name from=$filtertypes}
+{if $value eq $filtertype}
+ <option value="{$value}" selected>{$name|escape:"html"}</option>
+{else}
+ <option value="{$value}">{$name|escape:"html"}</option>
+{/if}
+{/foreach}
+</select>
+<input type="text" name="filtervalue" value="{$filtervalue|escape:"html"}" />
+<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" /></form>
+</div>
+<div align="center">
+<h1>Too many users, please narrow down the search.</h1>
+</div> \ No newline at end of file
diff --git a/data/templates/vacation.tpl b/data/templates/vacation.tpl
new file mode 100755
index 0000000..01fe63c
--- /dev/null
+++ b/data/templates/vacation.tpl
@@ -0,0 +1,24 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<h1>{tr msg="Vacation Notification"}</h1>
+<div class="contentform">
+<form method="post">
+<input type="checkbox" name="active" value="true" {if $active}checked{/if} /> {tr msg="Activate vacation notification"}<br />
+<textarea name="text" cols="80" rows="10">{$text|escape}</textarea><br />
+{tr msg="Resend notification only after"} <input type="text" size="5" name="days" value="{$days}" /> {tr msg="days"}<br />
+{tr msg="Send responses for these addresses:"}<br />
+<textarea name="addresses" cols="80" rows="3">
+{section name="id" loop="$addresses"}
+{$addresses[id]}
+{/section}
+</textarea><br />
+{tr msg="(one address per line)"}<br />
+<input type="checkbox" name="reacttospam" value="true" {if $reacttospam}checked{/if} /> {tr msg="Do not send vacation replies to spam messages"}<br />
+{tr msg="Only react to mail coming from domain"} <input type="text" name="maildomain" value="{$maildomain}" /> {tr msg="(leave empty for all domains)"}<br />
+<input type="submit" name="submit" value="{tr msg="Update"}"/><br />
+</form>
+</div>
diff --git a/data/templates/versions.tpl b/data/templates/versions.tpl
new file mode 100755
index 0000000..aa1385f
--- /dev/null
+++ b/data/templates/versions.tpl
@@ -0,0 +1,20 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h1>{tr msg="Kolab2 Groupware Server Version"}</h1>
+<pre>{$kolabversion}</pre>
+<h1>{tr msg="Kolab2 Groupware Server Component Versions"}</h1>
+<pre>{$kolabversions}</pre>
+<h1>{tr msg="PEAR/Horde Versions"}</h1>
+<pre>{$pearhordeversions}</pre>
+{if $OPENPKG=="yes"}
+<h1>{tr msg="Kolab2 Patched OpenPKG Package Versions"}</h1>
+<pre>{$kolabpatchedversions}</pre>
+<h1>{tr msg="OpenPKG Version"}</h1>
+<pre>{$openpkgversion}</pre>
+{/if}
+</div>
diff --git a/data/templates/welcome.tpl b/data/templates/welcome.tpl
new file mode 100755
index 0000000..4b8fb5a
--- /dev/null
+++ b/data/templates/welcome.tpl
@@ -0,0 +1,9 @@
+{* Smarty Template *}
+{*
+ Local variables:
+ buffer-file-coding-system: utf-8
+ End:
+*}
+<div class="contenttext">
+<h1>{tr msg="Welcome to the Kolab administration interface"}</h1>
+</div>