summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13313d7)
raw | patch | inline | side by side (parent: 13313d7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 06:30:46 +0000 (06:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 06:30:46 +0000 (06:30 +0000) |
Updated indentation in contrib/gosa.conf.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7220 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7220 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/gosa.conf | patch | blob | history | |
setup/class_setupStep_Config2.inc | patch | blob | history | |
setup/setup_config2.tpl | patch | blob | history |
diff --git a/contrib/gosa.conf b/contrib/gosa.conf
index f893d76c9e62698aefd913481467c8f7e90c3a0c..47b863218c219a67ee514b40fbb518efcbcd637f 100644 (file)
--- a/contrib/gosa.conf
+++ b/contrib/gosa.conf
<plugin acl="default" class="phoneAccount" icon="phone.png"
path="plugins/gofon/phoneaccount" />
<!--
- <plugin acl="default" class="nagiosAccount" icon="monitoring.png"
- path="plugins/personal/nagios" />
+ <plugin acl="default" class="nagiosAccount" icon="monitoring.png"
+ path="plugins/personal/nagios" />
-->
<!--
- <plugin acl="default" class="scalixAccount" icon="scalix.png"
- path="plugins/personal/scalix/" />
+ <plugin acl="default" class="scalixAccount" icon="scalix.png"
+ path="plugins/personal/scalix/" />
-->
<plugin acl="default" class="password" icon="password.png"
path="plugins/personal/password" />
path="plugins/admin/departments" />
<plugin acl="application" class="applicationManagement"
icon="application.png" path="plugins/admin/applications" />
+
+{if $cv.enableMimeType}
+ <plugin acl="mimetype" class="mimetypeManagement"
+ icon="mimetypes.png" path="plugins/admin/mimetypes" />
+{else}
+<!--
<plugin acl="mimetype" class="mimetypeManagement"
icon="mimetypes.png" path="plugins/admin/mimetypes" />
+-->
+{/if}
<plugin acl="systems" class="systems" icon="system.png"
path="plugins/admin/systems" />
<!-- Use 'lock_dn' for dn
- 'lock_name' for name
- 'lock_type' for branch/freeze -->
+ 'lock_name' for name
+ 'lock_type' for branch/freeze -->
{if $cv.enableFAI_management}
<plugin acl="FAIclass" class="faiManagement" icon="fai.png"
path="plugins/addons/ldapmanager" />
<!--
<plugin acl="notifications" class="msgplug" icon="notifications.png"
- path="plugins/addons/notifications" />
+ path="plugins/addons/notifications" />
-->
{if $cv.optional.gotomasses_active}
<plugin acl="gotomasses" class="gotomasses" icon="system.png"
{if $cv.mail == "kolab"}
<tab class="servkolab" name="Kolab"/>
{/if}
- <tab class="servrepository" name="Repository" />
+ <tab class="servrepository" name="Repository" />
{if $cv.enableFAI_management}
- <tab class="faiSummaryTab" name="FAI summary" />
+ <tab class="faiSummaryTab" name="FAI summary" />
{else}
<!-- <tab class="faiSummaryTab" name="FAI summary" /> -->
{/if}
{if $cv.generic_settings.enableDNS}
- <tab class="servdns" name="DNS" />
+ <tab class="servdns" name="DNS" />
{else}
<!-- <tab class="servdns" name="DNS" /> -->
{/if}
{if $cv.generic_settings.enableDHCP}
- <tab class="servdhcp" name="DHCP" />
+ <tab class="servdhcp" name="DHCP" />
{else}
<!-- <tab class="servdhcp" name="DHCP" /> -->
{/if}
- <tab class="terminfo" name="Information" />
- <tab class="glpiAccount" name="Inventory" />
- <tab class="reference" name="References" />
+ <tab class="terminfo" name="Information" />
+ <tab class="glpiAccount" name="Inventory" />
+ <tab class="reference" name="References" />
</servtabs>
<worktabs>
<tab class="printgeneric" name="Printer" />
<tab class="terminfo" name="Information" />
{if $cv.enableFAI_management}
- <tab class="faiSummaryTab" name="FAI summary" />
+ <tab class="faiSummaryTab" name="FAI summary" />
{else}
<!-- <tab class="faiSummaryTab" name="FAI summary" /> -->
{/if}
- <tab class="glpiAccount" name="Inventory" />
+ <tab class="glpiAccount" name="Inventory" />
<tab class="reference" name="References" />
</worktabs>
<printtabs>
<tab class="printgeneric" name="Generic" />
- <tab class="glpiPrinterAccount" name="Inventory" />
+ <tab class="glpiPrinterAccount" name="Inventory" />
<tab class="reference" name="References" />
</printtabs>
- <phonetabs>
- <tab class="phonegeneric" name="Generic" />
- <tab class="glpiAccount" name="Inventory" />
+ <phonetabs>
+ <tab class="phonegeneric" name="Generic" />
+ <tab class="glpiAccount" name="Inventory" />
<tab class="reference" name="References" />
- </phonetabs>
+ </phonetabs>
<serverservice>
- <tab class="goMailServer" />
- <tab class="goNtpServer" />
+ <tab class="goMailServer" />
+ <tab class="goNtpServer" />
<tab class="servrepository" />
- <tab class="goImapServer" />
- <tab class="goKrbServer" />
- <tab class="goFaxServer" />
- <tab class="goFonServer" />
- <tab class="goLogDBServer" />
- <tab class="goGlpiServer" />
- <tab class="goCupsServer" />
- <tab class="goSyslogServer" />
- <tab class="goTerminalServer" />
- <tab class="goLdapServer" />
- <tab class="goShareServer" />
- </serverservice>
-
- <componenttabs>
- <tab class="componentgeneric" name="Generic" />
+ <tab class="goImapServer" />
+ <tab class="goKrbServer" />
+ <tab class="goFaxServer" />
+ <tab class="goFonServer" />
+ <tab class="goLogDBServer" />
+ <tab class="goGlpiServer" />
+ <tab class="goCupsServer" />
+ <tab class="goSyslogServer" />
+ <tab class="goTerminalServer" />
+ <tab class="goLdapServer" />
+ <tab class="goShareServer" />
+ </serverservice>
+
+ <componenttabs>
+ <tab class="componentgeneric" name="Generic" />
<tab class="glpiAccount" name="Inventory" />
<tab class="reference" name="References" />
- </componenttabs>
+ </componenttabs>
- <wintabs>
- <tab class="wingeneric" name="Generic" />
- <tab class="glpiAccount" name="Inventory" />
+ <wintabs>
+ <tab class="wingeneric" name="Generic" />
+ <tab class="glpiAccount" name="Inventory" />
<tab class="reference" name="References" />
- </wintabs>
+ </wintabs>
- <deptabs>
- <tab class="department" name="Generic" />
- </deptabs>
+ <deptabs>
+ <tab class="department" name="Generic" />
+ </deptabs>
- <ogrouptabs>
- <tab class="ogroup" name="Generic" />
- </ogrouptabs>
+ <ogrouptabs>
+ <tab class="ogroup" name="Generic" />
+ </ogrouptabs>
- <connectivity>
+ <connectivity>
{if $cv.mail == "kolab"}
<tab class='kolabAccount' />
{/if}
<tab class="phpgwAccount" />
<tab class="intranetAccount" />
<tab class="opengwAccount"
- username="OGo"
- password=""
- database="OGo"
- datahost="localhost" />
+ username="OGo"
+ password=""
+ database="OGo"
+ datahost="localhost" />
<!--
<tab class="pptpAccount" />
<tab class="phpscheduleitAccount" />
index 3207b220022695bce46dc54dd2c1318398404488..26f78ea9b03700ecb63953bfd8e3985ae51fbf32 100644 (file)
var $sambaDomain_found = FALSE;
var $use_netatalk = FALSE;
var $enableFAI_management = FALSE;
+ var $enableMimeType = FALSE;
var $timezone = "Europe/Berlin";
var $timezones = array();
- var $attributes = array("governmentmode","sambaidmapping","cyrusunixstyle","mail","use_netatalk","enableFAI_management","timezone");
+ var $attributes = array("governmentmode","sambaidmapping","cyrusunixstyle","mail","use_netatalk","enableFAI_management","timezone","enableMimeType");
var $called = FALSE;
function Step_Config2()
# $this->enableFAI_management = TRUE;
}
+ /* Check the MimeType schema is used */
+ if(is_array($tmp) && isset($tmp['gotoMimeType'])){
+ $this->enableMimeType = TRUE;
+ }
+
if(is_array($tmp) && isset($tmp['dhcpClass'])){
$this->generic_settings['enableDHCP'] = TRUE;
}
index 23345c576e6680b4d85cb974096a297e7283982e..dd8b239a4a59858be326af376962ff2eca38f73d 100644 (file)
--- a/setup/setup_config2.tpl
+++ b/setup/setup_config2.tpl
</div>
</div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Enable mime type management{/t}
+ </div>
+ <div class='step4_value'>
+
+ <select name="enableMimeType" size="1" title="">
+ {html_options options=$bool selected=$enableMimeType}
+ </select>
+ </div>
+ </div>
+
<div class='step4_container'>
<div class='step4_name'>
{t}Enable FAI release management{/t}