summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f74773)
raw | patch | inline | side by side (parent: 7f74773)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 24 Jun 2005 13:59:55 +0000 (13:59 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 24 Jun 2005 13:59:55 +0000 (13:59 +0000) |
plugins/personal/generic/class_user.inc | patch | blob | history |
index ec70c7531c9871e9ad7acc4bf7c151bfecb0baa4..32ff64268d9b4dea49e1e046eff84014b8c4f28c 100644 (file)
$this->$val= $this->attrs["$val"][0];
}
}
+
+ /* Fix public visible attribute if unset */
+ if (!isset($this->attrs['publicVisible'])){
+ $this->publicVisible == "nein";
+ }
+
}
/* Create me for new accounts */
preg_match('/true/i', $this->config->current['GOVERNMENTMODE'])){
$smarty->assign("governmentmode", "true");
$ivbbmodes= array("nein", "ivbv", "testa", "ivbv,testa", "internet",
- "internet,ivbv", "internet,testa", "internet,ivbv,testa", "ja");
+ "internet,ivbv", "internet,testa", "internet,ivbv,testa");
$smarty->assign("ivbbmodes", $ivbbmodes);
foreach ($this->govattrs as $val){
$smarty->assign("$val", $this->$val);
}
}
+ /* Remove attribute if set to "nein" */
+ if ($this->publicVisible == "nein"){
+ $this->attrs['publicVisible']= array();
+ }
+
}
/* Special handling for attribute userCertificate needed */