summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 91853dc)
raw | patch | inline | side by side (parent: 91853dc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Nov 2005 09:45:11 +0000 (09:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Nov 2005 09:45:11 +0000 (09:45 +0000) |
in group dialog
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1868 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1868 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupGeneric.inc | patch | blob | history | |
plugins/admin/groups/generic.tpl | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc
index 2617a38f35c1e02c2cb3b6ce68823aa411b724fb..dbb3d78900cde347f81ee9f1d0ad610d192e4583 100644 (file)
$smarty->assign("samba3", "");
}
+ if(search_config($this->config->data['MENU'], "nagiosaccount", "CLASS")){
+ $smarty->assign("nagios",true);
+ }else{
+ $smarty->assign("nagios",false);
+ }
+
+ if(search_config($this->config->data['MENU'], "phoneAccount", "CLASS")){
+ $smarty->assign("pickupGroup",true);
+ }else{
+ $smarty->assign("pickupGroup",false);
+ }
+
/* Manage object add dialog */
if ($this->group_dialog){
index 136a54615b7dfcba2b275a5fd7a88c27fe3e606b..eb8646cfff3d0a814d71666b855c89d198b20120 100644 (file)
</td>
</tr>
{/if}
+ {if $pickupGroup == "true"}
<tr>
<td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
</tr>
<input type=checkbox name="fon_group" value="1" {$fon_group} {$fon_groupACL}>{t}Members are in a phone pickup group{/t}
</td>
</tr>
+ {/if}
+ {if $nagios == "true"}
<tr>
<td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
</tr>
<input type=checkbox name="nagios_group" value="1" {$nagios_group} {$nagios_groupACL}>{t}Members are in a nagios group{/t}
</td>
</tr>
+ {/if}
</table>
</td>