diff --git a/gosa-core/plugins/admin/users/tabs_user.inc b/gosa-core/plugins/admin/users/tabs_user.inc
index 37f5e719ae09dc7b1a6cc61f08cd521f38d135d9..aab4106c64f56e9888b45734e720879c103f0346 100644 (file)
{
var $base;
- function usertabs($config, $data, $dn)
+ /* Template adaption variables
+ */
+ var $uid ="";
+ var $givenName = "";
+ var $sn;
+
+ function usertabs($config, $data, $dn, $cat = "", $hide_refs = FALSE, $hide_acls = FALSE)
{
- tabs::tabs($config, $data, $dn, 'users');
+ tabs::tabs($config, $data, $dn, 'users',$hide_refs, $hide_acls);
$this->base= $this->by_object['user']->base;
+ $this->uid = &$this->by_object['user']->uid;
+ $this->sn = &$this->by_object['user']->sn;
+ $this->givenName = &$this->by_object['user']->givenName;
+
/* Add references/acls/snapshots */
$this->addSpecialTabs();