added fixme
This commit is contained in:
parent
e3584e764e
commit
dcf150567c
@ -157,6 +157,7 @@ class AdminLists implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
$rightLabel->setX($x + 13.9);
|
$rightLabel->setX($x + 13.9);
|
||||||
$rightLabel->setTextSize(0.8);
|
$rightLabel->setTextSize(0.8);
|
||||||
$rightLabel->setZ(10);
|
$rightLabel->setZ(10);
|
||||||
|
//FIXME, getAuthLevelAbbrev fails
|
||||||
$rightLabel->setText($this->maniaControl->authenticationManager->getAuthLevelAbbreviation($admin));
|
$rightLabel->setText($this->maniaControl->authenticationManager->getAuthLevelAbbreviation($admin));
|
||||||
$description = $this->maniaControl->authenticationManager->getAuthLevelName($admin) . " " . $admin->nickname;
|
$description = $this->maniaControl->authenticationManager->getAuthLevelName($admin) . " " . $admin->nickname;
|
||||||
$rightLabel->addTooltipLabelFeature($descriptionLabel, $description);
|
$rightLabel->addTooltipLabelFeature($descriptionLabel, $description);
|
||||||
|
@ -234,6 +234,7 @@ class AuthenticationManager implements CallbackListener {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function getAuthLevelName($authLevelInt) {
|
public static function getAuthLevelName($authLevelInt) {
|
||||||
|
//FIXME somehow it fails here (look also AdminList.php)
|
||||||
if ($authLevelInt instanceof Player) {
|
if ($authLevelInt instanceof Player) {
|
||||||
$authLevelInt = $authLevelInt->authLevel;
|
$authLevelInt = $authLevelInt->authLevel;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user