back button maniacontrol settings, authentication manager permission level set
This commit is contained in:
parent
2758bc055d
commit
7690f76aca
@ -335,7 +335,7 @@ class AuthenticationManager implements CallbackListener {
|
||||
* @param $authLevelNeeded
|
||||
* @return array
|
||||
*/
|
||||
public function getPermissionLevelNameArray($authLevelNeeded) {
|
||||
private function getPermissionLevelNameArray($authLevelNeeded) {
|
||||
switch ($authLevelNeeded) {
|
||||
case self::AUTH_LEVEL_MODERATOR:
|
||||
return array(self::AUTH_NAME_MODERATOR, self::AUTH_NAME_ADMIN, self::AUTH_NAME_SUPERADMIN, self::AUTH_NAME_MASTERADMIN);
|
||||
|
@ -117,7 +117,8 @@ class ManiaControlSettings implements ConfiguratorMenu, CallbackListener {
|
||||
|
||||
$backLabel = new Label_Button();
|
||||
$frame->add($backLabel);
|
||||
$backLabel->setPosition($width * -0.49, $height * -0.44);
|
||||
$backLabel->setStyle($backLabel::STYLE_CardMain_Quit);
|
||||
$backLabel->setPosition(-$width / 2 + 7, -$height / 2 + 7);
|
||||
$backLabel->setHAlign($backLabel::LEFT);
|
||||
$backLabel->setTextSize(2);
|
||||
$backLabel->setText('Back');
|
||||
|
Loading…
Reference in New Issue
Block a user