summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xphp/admin/templates/addrlistall.tpl17
-rwxr-xr-xphp/admin/templates/adminlistall.tpl4
-rwxr-xr-xphp/admin/templates/codefusion.tpl6
-rwxr-xr-xphp/admin/templates/distlistall.tpl4
-rw-r--r--php/admin/templates/domainmaintainerlistall.tpl4
-rwxr-xr-xphp/admin/templates/erfrakon.tpl16
-rwxr-xr-xphp/admin/templates/intevation.tpl12
-rwxr-xr-xphp/admin/templates/kdab.tpl25
-rwxr-xr-xphp/admin/templates/kde.tpl4
-rwxr-xr-xphp/admin/templates/kolab.tpl14
-rwxr-xr-xphp/admin/templates/maintainerlistall.tpl4
-rwxr-xr-xphp/admin/templates/settings.tpl82
-rwxr-xr-xphp/admin/templates/sflistall.tpl4
-rwxr-xr-xphp/admin/templates/userlistall.tpl19
-rw-r--r--www/admin/style.css162
15 files changed, 207 insertions, 170 deletions
diff --git a/php/admin/templates/addrlistall.tpl b/php/admin/templates/addrlistall.tpl
index 8237c4c..3b8717e 100755
--- a/php/admin/templates/addrlistall.tpl
+++ b/php/admin/templates/addrlistall.tpl
@@ -7,7 +7,7 @@
<div class="contenttext">
<h3>{tr msg="(only external addresses without a kolab user account)"}</h3>
</div>
-<div align="center">
+<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;
@@ -16,11 +16,12 @@
<a href="{$self_url}?alphalimit=other"> {tr msg="[ OTHER ]"} </a>
</div>
<div class="contentform">
-<form name="filterform" method="post">
+<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>{$name|escape:"html"}</option>
+ <option value="{$value}" selected="selected">{$name|escape:"html"}</option>
{else}
<option value="{$value}">{$name|escape:"html"}</option>
{/if}
@@ -29,14 +30,16 @@
<select name="filtertype">
{foreach key=value item=name from=$filtertypes}
{if $value eq $filtertype}
- <option value="{$value}" selected>{$name|escape:"html"}</option>
+ <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"}" /></form>
+<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" />
+</div>
+</form>
</div>
<table class="contenttable" cellpadding="0" cellspacing="1px">
@@ -49,8 +52,8 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell"><a href="addr.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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}
diff --git a/php/admin/templates/adminlistall.tpl b/php/admin/templates/adminlistall.tpl
index daa16cf..232120f 100755
--- a/php/admin/templates/adminlistall.tpl
+++ b/php/admin/templates/adminlistall.tpl
@@ -19,8 +19,8 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell"><a href="admin.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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}
diff --git a/php/admin/templates/codefusion.tpl b/php/admin/templates/codefusion.tpl
index f1afb61..1513511 100755
--- a/php/admin/templates/codefusion.tpl
+++ b/php/admin/templates/codefusion.tpl
@@ -6,7 +6,9 @@
*}
<div class="contentsimple">
-<a href="http://www.codefusion.co.za/"><img src="../pics/codefusion.png" alt="Code Fusion" style="border:0"></a>
+<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."}
@@ -21,7 +23,7 @@
</p>
<p>
-Stephan Buys<br>
+Stephan Buys<br />
</p>
</div>
diff --git a/php/admin/templates/distlistall.tpl b/php/admin/templates/distlistall.tpl
index 66aba1d..9fad827 100755
--- a/php/admin/templates/distlistall.tpl
+++ b/php/admin/templates/distlistall.tpl
@@ -23,8 +23,8 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell"><a href="list.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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}
diff --git a/php/admin/templates/domainmaintainerlistall.tpl b/php/admin/templates/domainmaintainerlistall.tpl
index 2568be2..fb39a28 100644
--- a/php/admin/templates/domainmaintainerlistall.tpl
+++ b/php/admin/templates/domainmaintainerlistall.tpl
@@ -20,8 +20,8 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell"><a href="domainmaintainer.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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}
diff --git a/php/admin/templates/erfrakon.tpl b/php/admin/templates/erfrakon.tpl
index 0e66069..3f3a432 100755
--- a/php/admin/templates/erfrakon.tpl
+++ b/php/admin/templates/erfrakon.tpl
@@ -9,11 +9,11 @@
<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>
-<IMG SRC="../pics/erfrakon.png" ALT="erfrakon" align="middle" longdesc="http://www.erfrakon.de" usemap="#maperfrakon">
-<map name="maperfrakon">
- <area shape="rect" coords="0,0,300,30" href="http://www.erfrakon.de">
-</map>
-
+<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>
@@ -21,8 +21,8 @@
{tr msg="The following people worked on Kolab for erfrakon:"}
</p>
<p>
-Tassilo Erlewein<br>
-Achim Frank<br>
-Martin Konold<br>
+Tassilo Erlewein<br />
+Achim Frank<br />
+Martin Konold<br />
</p>
</div>
diff --git a/php/admin/templates/intevation.tpl b/php/admin/templates/intevation.tpl
index 537cf31..7e0cefc 100755
--- a/php/admin/templates/intevation.tpl
+++ b/php/admin/templates/intevation.tpl
@@ -4,9 +4,11 @@
{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>
-<a href="http://intevation.net/" border=0><IMG
-SRC="../pics/intevation_logo.png" ALT="Logo Intevation GmbH" height="91"
-align ="middle" longdesc="www.intevation.net" border="0"></a>
+<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."}
@@ -15,8 +17,8 @@ align ="middle" longdesc="www.intevation.net" border="0"></a>
{tr msg="The following people worked on Kolab for Intevation:"}
</p>
<p>
-Bernhard Reiter<br>
-Jan-Oliver Wagner<br>
+Bernhard Reiter<br />
+Jan-Oliver Wagner<br />
Marc Mutz
</p>
</div>
diff --git a/php/admin/templates/kdab.tpl b/php/admin/templates/kdab.tpl
index 9a58802..2fd745c 100755
--- a/php/admin/templates/kdab.tpl
+++ b/php/admin/templates/kdab.tpl
@@ -1,8 +1,9 @@
{* Smarty Template *}
-<a href="http://www.klaralvdalens-datakonsult.se/"><IMG SRC="../pics/kdab.png"
-ALT="KDAB" align="middle"
-longdesc="http://www.klaralvdalens-datakonsult.se" border="0"></a>
-
+<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>.
@@ -14,13 +15,13 @@ longdesc="http://www.klaralvdalens-datakonsult.se" border="0"></a>
{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>
+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/php/admin/templates/kde.tpl b/php/admin/templates/kde.tpl
index 2f63081..94deaff 100755
--- a/php/admin/templates/kde.tpl
+++ b/php/admin/templates/kde.tpl
@@ -3,7 +3,9 @@
<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>
-<IMG SRC="../pics/kde.png" ALT="KDE" align="middle" longdesc="http://www.kde.org">
+<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>
diff --git a/php/admin/templates/kolab.tpl b/php/admin/templates/kolab.tpl
index a33fc08..208fdc9 100755
--- a/php/admin/templates/kolab.tpl
+++ b/php/admin/templates/kolab.tpl
@@ -10,7 +10,7 @@
{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>
-<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>
@@ -33,7 +33,7 @@
<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>
-</p>
+</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."}
@@ -63,18 +63,18 @@
{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>
-<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>
-</p>
+</div>
<p>
{tr msg="The principal authors of the Kolab client and server software are (in alphabetical order):"}
</p>
-<p>
+<div>
<ul>
<li>Stuart Bing&euml;</li>
<li>Stephan Buys</li>
@@ -84,7 +84,7 @@
<li>Achim Frank</li>
<li>Michel Boyer de la Giroday</li>
<li>Steffen Hansen</li>
- <li>Bernhard Herzog
+ <li>Bernhard Herzog</li>
<li>Martin Konold</li>
<li>Marc Mutz</li>
<li>Bernhard Reiter</li>
@@ -94,6 +94,6 @@
<li>Karl-Heinz Zimmer</li>
<li>Romain Pokrzywka</li>
</ul>
-</p>
+</div>
</div>
diff --git a/php/admin/templates/maintainerlistall.tpl b/php/admin/templates/maintainerlistall.tpl
index 76a05a2..2c6a3ad 100755
--- a/php/admin/templates/maintainerlistall.tpl
+++ b/php/admin/templates/maintainerlistall.tpl
@@ -19,8 +19,8 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell"><a href="maintainer.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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}
diff --git a/php/admin/templates/settings.tpl b/php/admin/templates/settings.tpl
index 9c0278e..049b7a0 100755
--- a/php/admin/templates/settings.tpl
+++ b/php/admin/templates/settings.tpl
@@ -13,10 +13,12 @@
<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 name="systemalias_{$systemaliasconf[id].n}" method="post">
+<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 align="right"><input type="submit" name="submitsystemalias_{$systemaliasconf[id].n}" value="{tr msg="Create Distribution Lists"}" /></div>
+<div class="align_right"><input type="submit" name="submitsystemalias_{$systemaliasconf[id].n}" value="{tr msg="Create Distribution Lists"}" /></div>
+</div>
</form>
</div>
{/section}
@@ -25,8 +27,8 @@
{/if}
<h2>{tr msg="Enable or Disable individual Services"}</h2>
-<form name="serviceform" method="post">
-
+<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>
@@ -34,71 +36,85 @@
{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{/if}></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>
+ <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 name="quotawarnform" method="post">
+<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 align="right"><input type="submit" name="submitquotawarn" value="{tr msg="Update"}" /></div>
+<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 name="httpallowunauthfbform" method="post">
+<form id="httpallowunauthfbform" method="post" action="">
+<div>
<br />
-<input type="checkbox" name="httpallowunauthfb" {if $httpallowunauthfb == 'true' }checked{/if} />
+<input type="checkbox" name="httpallowunauthfb" {if $httpallowunauthfb == 'true' }checked="checked"{/if} />
{tr msg="Allow unauthenticated downloading of Free/Busy information"}
<br />
-<div align="right"><input type="submit" name="submithttpallowunauthfb" value="{tr msg="Update"}" /></div>
+<div class="align_right"><input type="submit" name="submithttpallowunauthfb" value="{tr msg="Update"}" /></div>
+</div>
</form>
</div>
<br />
<div class="contentform">
-<form name="freebusypastform" method="post">
+<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 align="right"><input type="submit" name="submitfreebusypast" value="{tr msg="Update"}" /></div>
+<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 name="postfixmynetworksform" method="post">
+<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 align="right"><input type="submit" name="submitpostfixmynetworks" value="{tr msg="Update"}" /></div>
+<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 name="postfixrelayhostform" method="post">
+<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 align="right"><input type="submit" name="submitpostfixrelayhost" value="{tr msg="Update"}" /></div>
+<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 name="postfixallowunauthform" method="post">
-<input type="checkbox" name="postfixallowunauth" {if $postfixallowunauth == 'true' }checked{/if} />
+<form id="postfixallowunauthform" method="post" action="">
+<div>
+<input type="checkbox" name="postfixallowunauth" {if $postfixallowunauth == 'true' }checked="checked"{/if} />
{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."}
-<div align="right"><input type="submit" name="submitpostfixallowunauth" value="{tr msg="Update"}" /></div>
+<div class="align_right"><input type="submit" name="submitpostfixallowunauth" value="{tr msg="Update"}" /></div>
+</div>
</form>
</div>
<br />
<h2>{tr msg="Domains"}</h2>
+<form method="post" action="">
<table class="contenttable" cellpadding="0" cellspacing="1px">
<tr class="contentrow">
<th>{tr msg="Domain"}</th><th>{tr msg="Action"}</th>
@@ -107,44 +123,44 @@
<tr class="contentrow{cycle values="even,odd"}">
<td class="contentcell">{$postfixmydestination[id]|escape:"html"}</td>
<td class="actioncell">{strip}
- <form method="post">
<input type="hidden" name="adestination" value="{$postfixmydestination[id]}" />
<input type="submit" name="deletedestination" value="{tr msg="Delete"}" />
- </form>
{/strip}</td>
</tr>
{/section}
<tr class="contentrow{cycle values="even,odd"}">
- <form method="post">
<td class="contentcell">
<input type="text" size="60" name="adestination" />
</td><td class="actioncell"><input type="submit" name="adddestination" value="{tr msg="Add"}" /></td>
- </form>
</tr>
</table>
+</form>
<br/>
<h2>{tr msg="Mail Filter Settings"}</h2>
<div class="contentform">
-<form name="kolabfilterform" method="post">
-<input type="checkbox" name="kolabfilterverifyfrom" {if $kolabfilterverifyfrom == 'true' }checked{/if} />
+<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{/if} />
+<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>
-<input type="radio" name="kolabfilterrejectforgedfrom" value="FALSE" {if $kolabfilterrejectforgedfrom == 'false' }checked{/if} />
+<input type="radio" name="kolabfilterrejectforgedfrom" value="FALSE" {if $kolabfilterrejectforgedfrom == 'false' }checked="checked"{/if} />
{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/>
-<input type="radio" name="kolabfilterrejectforgedfrom" value="TRUE" {if $kolabfilterrejectforgedfrom == 'true' }checked{/if} />
+<input type="radio" name="kolabfilterrejectforgedfrom" value="TRUE" {if $kolabfilterrejectforgedfrom == 'true' }checked="checked"{/if} />
{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."}
<br />
-<div align="right"><input type="submit" name="submitkolabfilter" value="{tr msg="Update"}" /></div>
+<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>
+<form method="post" action="">
<table class="contenttable" cellpadding="0" cellspacing="1px">
<tr class="contentrow">
<th>{tr msg="Host"}</th><th>{tr msg="Action"}</th>
@@ -153,19 +169,15 @@
<tr class="contentrow{cycle values="even,odd"}">
<td class="contentcell">{$kolabhost[id]|escape:"html"}</td>
<td class="actioncell">{strip}
- <form method="post">
<input type="hidden" name="akolabhost" value="{$kolabhost[id]}" />
<input type="submit" name="deletekolabhost" value="{tr msg="Delete"}" />
- </form>
{/strip}</td>
</tr>
{/section}
<tr class="contentrow{cycle values="even,odd"}">
- <form method="post">
<td class="contentcell">
<input type="text" size="60" name="akolabhost" />
</td><td class="actioncell"><input type="submit" name="addkolabhost" value="{tr msg="Add"}" /></td>
- </form>
</tr>
</table>
-</div>
+</form>
diff --git a/php/admin/templates/sflistall.tpl b/php/admin/templates/sflistall.tpl
index a62ed6e..3958e18 100755
--- a/php/admin/templates/sflistall.tpl
+++ b/php/admin/templates/sflistall.tpl
@@ -20,8 +20,8 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell"><a href="sf.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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}
diff --git a/php/admin/templates/userlistall.tpl b/php/admin/templates/userlistall.tpl
index 005ab47..bca3843 100755
--- a/php/admin/templates/userlistall.tpl
+++ b/php/admin/templates/userlistall.tpl
@@ -5,7 +5,7 @@
End:
*}
<h3>{tr msg="Email Users"}</h3>
-<div align="center">
+<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;
@@ -14,11 +14,12 @@
<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">
+<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>{$name|escape:"html"}</option>
+ <option value="{$value}" selected="selected">{$name|escape:"html"}</option>
{else}
<option value="{$value}">{$name|escape:"html"}</option>
{/if}
@@ -27,14 +28,16 @@
<select name="filtertype">
{foreach key=value item=name from=$filtertypes}
{if $value eq $filtertype}
- <option value="{$value}" selected>{$name|escape:"html"}</option>
+ <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"}" /></form>
+<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" />
+</div>
+</form>
</div>
<div>
<table class="contenttable" cellpadding="0" cellspacing="1px">
@@ -60,10 +63,10 @@
{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&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell" align="center"><a href="user.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
+ <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> \ No newline at end of file
+</div>
diff --git a/www/admin/style.css b/www/admin/style.css
index aa5be58..017e2a7 100644
--- a/www/admin/style.css
+++ b/www/admin/style.css
@@ -3,77 +3,77 @@
buffer-file-coding-system: utf-8
End:
*/
-body {
+body {
color: black;
background-color: #F8FCF8;
- font-family: verdana,arial,helvetica,sans-serif;
+ font-family: verdana,arial,helvetica,sans-serif;
font-size: 95%;
- border: 0;
- margin: 0;
+ border: 0;
+ margin: 0;
}
-a, a:visited {
- font-family: verdana,arial,helvetica,sans-serif;
+a, a:visited {
+ font-family: verdana,arial,helvetica,sans-serif;
}
a { color: #001155; }
a:hover { color: #113399; }
-#page {
- background-repeat: no-repeat;
+#page {
+ background-repeat: no-repeat;
background-position: top right;
}
-#topbar {
- display:block;
- background-color: #B0BCD0;
- height: 70px;
+#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;
+#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;
+#toptitle {
+ display:block;
text-align: right;
- font-size: 200%;
+ font-size: 200%;
padding-right: 1em;
padding-top: 0.5em;
}
-#topuserinfo {
+#topuserinfo {
display:block;
- background-color: #B0BCD0;
+ background-color: #B0BCD0;
font-size: 80%;
padding: 0.1em;
border-bottom: solid 1px black;
text-align: right;
}
-#topmenu {
- background-color: #B0BCD0;
+#topmenu {
+ background-color: #B0BCD0;
font-size: 90%;
border-bottom: solid 1px black;
}
-#submenu {
+#submenu {
background-color: #EEEEEE;
- border-bottom: solid 1px black;
+ border-bottom: solid 1px black;
font-size: 90%;
}
-.topmenuitem {
- background-color: #B0BCD0;
+.topmenuitem {
+ background-color: #B0BCD0;
border-right: solid 1px black;
padding-left: 0.5em;
padding-right: 0.5em;
margin: 0px;
}
-.topmenuitemselected {
- background-color: #EEEEEE;
+.topmenuitemselected {
+ background-color: #EEEEEE;
border-right: solid 1px black;
padding-left: 0.5em;
padding-right: 0.5em;
@@ -82,114 +82,114 @@ a:hover { color: #113399; }
}
.submenuitem {
}
-.submenuitemselected {
+.submenuitemselected {
}
-.alphagroupitem {
+.alphagroupitem {
}
-.alphagroupitemselected {
+.alphagroupitemselected {
font-weight:bold
}
-#logout {
+#logout {
color: red;
}
-#maintitle {
+#maintitle {
font-size: 200%;
}
-#maincontent {
+#maincontent {
display:block;
- padding: 1em;
- margin: 1em;
+ padding: 1em;
+ margin: 1em;
}
-#errorcontent {
+#errorcontent {
display:block;
- padding: 0.2em;
- margin: 1em;
+ padding: 0.2em;
+ margin: 1em;
text-align: left;
color: red;
- background-color: #EEEEEE;
+ background-color: #EEEEEE;
border: solid 1px black;
}
-#errorheader {
+#errorheader {
display:block;
text-align: left;
color: black;
- background-color: #EEEEEE;
- font-size: 150%;
+ background-color: #EEEEEE;
+ font-size: 150%;
}
-#messagecontent {
+#messagecontent {
display:block;
- padding: 0.2em;
- margin: 1em;
+ padding: 0.2em;
+ margin: 1em;
text-align: left;
color: green;
- background-color: #EEEEEE;
+ background-color: #EEEEEE;
border: solid 1px black;
}
-#messageheader {
+#messageheader {
display:block;
text-align: left;
color: black;
- background-color: #EEEEEE;
- font-size: 150%;
+ background-color: #EEEEEE;
+ font-size: 150%;
}
-.contenttext {
+.contenttext {
margin: 10px;
}
-.contenttable {
+.contenttable {
width: 100%;
background-color: black;
border: 0px;
}
-.contentroweven {
- background-color: #C0CDE0;
+.contentroweven {
+ background-color: #C0CDE0;
margin: 0px;
}
-.contentrowodd {
- background-color: #D0DDF0;
+.contentrowodd {
+ background-color: #D0DDF0;
margin: 0px;
}
-.contentcell {
+.contentcell {
font-size: 90%;
- padding: .1em .5em .1em .5em;
+ padding: .1em .5em .1em .5em;
margin: 0px;
/* text-align: center; */
}
-.actioncell {
+.actioncell {
font-size: 90%;
- padding: .1em .5em .1em .5em;
+ padding: .1em .5em .1em .5em;
width: 10%;
margin: 0px;
text-align: center;
}
-.contentform {
- /*float: left;*/
- padding: .1em .5em .1em .5em;
- background-color: #EEEEEE;
+.contentform {
+ /*float: left;*/
+ padding: .1em .5em .1em .5em;
+ background-color: #EEEEEE;
border: solid 1px black;
}
-.contentformtable {
+.contentformtable {
font-size: 90%;
}
-.langcombo {
+.langcombo {
font-size: 80%;
}
-#validators {
+#validators {
text-align: right;
}
-th {
- background-color: #EEEEEE;
+th {
+ background-color: #EEEEEE;
border: 0px;
}
.ctrl {
background-color: #E0E3E0;
- border: solid 1px black;
- padding: .2em .5em .2em .5em;
+ border: solid 1px black;
+ padding: .2em .5em .2em .5em;
}
-.required_asterisk {
+.required_asterisk {
color: red;
font-size: 80%;
text-align: right;
@@ -198,3 +198,15 @@ th {
label {
cursor: pointer;
}
+
+.align_center {
+ text-align: center;
+}
+
+.align_right {
+ text-align: right;
+}
+
+.align_left {
+ text-align: left;
+}