summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7bd267)
raw | patch | inline | side by side (parent: a7bd267)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Sep 2006 04:12:58 +0000 (04:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Sep 2006 04:12:58 +0000 (04:12 +0000) |
-Added yrus admins to list of editeable attributes.
-removed old acls from template
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4828 594d385d-05f5-0310-b6e9-bd551577e9d8
-removed old acls from template
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4828 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servKolab.inc | patch | blob | history | |
plugins/admin/systems/servkolab.tpl | patch | blob | history |
index 7ca2e1d700a49d6914bee9125b0570f68e24c76c..5c036d1965b74e0191bd0ca2d0b0bb5636bc9343 100644 (file)
var $cli_parameters = array("eins"=>"Eins ist toll", "zwei"=>"Zwei ist noch besser");
var $postfix_mydomain = "";
+ var $cyrus_admins = "";
var $postfix_mydestination = "";
var $postfix_mynetworks = "127.0.0.1/8";
var $postfix_enable_virus_scan = "TRUE";
var $cyrus_quotawarn = "80";
var $kolabFreeBusyFuture = "1";
var $k = "kolab";
- var $cyrus_admins = "TRUE";
var $cyrus_imap = "TRUE";
var $cyrus_pop3 = "TRUE";
var $cyrus_imaps = "TRUE";
$this->dn = "k=kolab,".$config->current['BASE'];
/* Load variables, if given*/
- plugin::plugin($config, $this->dn, $parent);
+ plugin::plugin($config, $this->dn);
/* Copy needed attributes */
foreach($this->attributes as $val) {
/* Save checkboxes */
foreach (array( "postfix_enable_virus_scan", "postfix_allow_unauthenticated",
- "cyrus_admins", "cyrus_imap", "cyrus_pop3", "cyrus_imaps",
+ "cyrus_imap", "cyrus_pop3", "cyrus_imaps",
"cyrus_pop3s", "cyrus_sieve", "apache_allow_unauthenticated_fb",
"proftpd_ftp", "apache_http") as $cb){
"plProvidedAcls"=> array(
"postfixmydomain" => _("Postfix mydomain") ,
"postfixmydestination" => _("My destination") ,
+ "cyrusadmins" => _("Cyrus admins") ,
"proftpdftp" => _("FTP FreeBusy service") ,
"postfixmynetworks" => _("SMTP privileged networks") ,
"postfixenablevirusscan" => _("Enable virus scan") ,
index d292a7f6fdf2eafd492390a400e425d120b51d5b..a873c958ca74e1b551a3662b3d1aadb2bf507c3a 100644 (file)
</td>
<td>
{render acl=$postfixmydomainACL}
- <input type="text" name="postfix_mydomain" value="{$postfix_mydomain}" {$postfixmydomainACL}>
+ <input type="text" name="postfix_mydomain" value="{$postfix_mydomain}">
{/render}
</td>
</tr>
</td>
<td>
{render acl=$postfixmydestinationACL}
- <input type="text" name="postfix_mydestination" value="{$postfix_mydestination}" {$postfixmydestinationACL}>
+ <input type="text" name="postfix_mydestination" value="{$postfix_mydestination}">
+{/render}
+ </td>
+ </tr>
+ <tr>
+ <td>{t}Cyrus admins{/t}
+ </td>
+ <td>
+{render acl=$cyrusadminsACL}
+ <input type="text" name="cyrus_admins" value="{$cyrus_admins}">
{/render}
</td>
</tr>
<tr>
<td>
{render acl=$cyruspop3ACL}
- <input id="cyrus_pop3" name="cyrus_pop3" value="1" type="checkbox" {$cyrus_pop3Check} {$cyruspop3ACL}>
+ <input id="cyrus_pop3" name="cyrus_pop3" value="1" type="checkbox" {$cyrus_pop3Check}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$cyruspop3sACL}
- <input id="cyrus_pop3s" name="cyrus_pop3s" value="1" type="checkbox" {$cyrus_pop3sCheck} {$cyruspop3sACL}>
+ <input id="cyrus_pop3s" name="cyrus_pop3s" value="1" type="checkbox" {$cyrus_pop3sCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$cyrusimapACL}
- <input id="cyrus_imap" name="cyrus_imap" value="1" type="checkbox" {$cyrus_imapCheck} {$cyrusimapACL}>
+ <input id="cyrus_imap" name="cyrus_imap" value="1" type="checkbox" {$cyrus_imapCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$cyrusimapsACL}
- <input id="cyrus_imaps" name="cyrus_imaps" value="1" type="checkbox" {$cyrus_imapsCheck} {$cyrusimapsACL}>
+ <input id="cyrus_imaps" name="cyrus_imaps" value="1" type="checkbox" {$cyrus_imapsCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$cyrussieveACL}
- <input id="cyrus_sieve" name="cyrus_sieve" value="1" type="checkbox" {$cyrus_sieveCheck} {$cyrussieveACL}>
+ <input id="cyrus_sieve" name="cyrus_sieve" value="1" type="checkbox" {$cyrus_sieveCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$proftpdftpACL}
- <input id="proftpd_ftp" name="proftpd_ftp" value="1" type="checkbox" {$proftpd_ftpCheck} {$proftpdftpACL}>
+ <input id="proftpd_ftp" name="proftpd_ftp" value="1" type="checkbox" {$proftpd_ftpCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$apachehttpACL}
- <input id="apache_http" name="apache_http" value="1" type="checkbox" {$apache_httpCheck} {$apachehttpACL}>
+ <input id="apache_http" name="apache_http" value="1" type="checkbox" {$apache_httpCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$postfixenablevirusscanACL}
- <input id="postfix_enable_virus_scan" name="postfix_enable_virus_scan" value="1" type="checkbox" {$postfix_enable_virus_scanCheck} {$postfixenablevirusscanACL}>
+ <input id="postfix_enable_virus_scan" name="postfix_enable_virus_scan" value="1" type="checkbox" {$postfix_enable_virus_scanCheck}>
{/render}
</td>
<td>
<tr>
<td>
{render acl=$apacheallowunauthenticatedfbACL}
- <input name="apache_allow_unauthenticated_fb" value="1" type="checkbox" {$apache_allow_unauthenticated_fbCheck} {$apacheallowunauthenticatedfbACL}> {t}Allow unauthenticated downloading of Free/Busy information{/t}
+ <input name="apache_allow_unauthenticated_fb" value="1" type="checkbox" {$apache_allow_unauthenticated_fbCheck}> {t}Allow unauthenticated downloading of Free/Busy information{/t}
{/render}
</td>
</tr>
<td>
<LABEL for="postfix_mynetworks">{t}Hosts/networks allowed to relay{/t}</LABEL><br>
{render acl=$postfixmynetworksACL}
- <input id="postfix_mynetworks" name="postfix_mynetworks" size="60" maxlength="220" value="{$postfix_mynetworks}" {$postfixmynetworksACL} type="text">
+ <input id="postfix_mynetworks" name="postfix_mynetworks" size="60" maxlength="220" value="{$postfix_mynetworks}" type="text">
{/render}
<br>
( {t}Enter multiple values, seperated with{/t} , )
<tr>
<td>
{render acl=$postfixrelayhostACL}
- <input id="RelayMxSupport" name="RelayMxSupport" value="1" type="checkbox" {$RelayMxSupportCheck} {$postfixrelayhostACL}>
+ <input id="RelayMxSupport" name="RelayMxSupport" value="1" type="checkbox" {$RelayMxSupportCheck}>
{/render}
<LABEL for="RelayMxSupport">{t}Enable MX lookup for relayhost{/t}</LABEL>
</td>
<td>
<LABEL for="postfix_relayhost">{t}Host used to relay mails{/t}</LABEL>
{render acl=$postfixrelayhostACL}
- <input id="postfix_relayhost" name="postfix_relayhost" size="35" maxlength="120" value="{$postfix_relayhost}" {$postfixrelayhostACL} type="text">
+ <input id="postfix_relayhost" name="postfix_relayhost" size="35" maxlength="120" value="{$postfix_relayhost}" type="text">
{/render}
</td>
</tr>
<tr>
<td>
{render acl=$postfixallowunauthenticatedACL}
- <input id="postfix_allow_unauthenticated" name="postfix_allow_unauthenticated" value="1" type="checkbox" {$postfix_allow_unauthenticatedCheck} {$postfixallowunauthenticatedACL}>
+ <input id="postfix_allow_unauthenticated" name="postfix_allow_unauthenticated" value="1" type="checkbox" {$postfix_allow_unauthenticatedCheck}>
{/render}
<LABEL for="postfix_allow_unauthenticated">{t}Accept mail from other domains over non-authenticated SMTP{/t}</LABEL>
</td>