bugfixes, cleanup, usercp menu changes
This commit is contained in:
@ -316,6 +316,8 @@ class TheTempusProject extends Bedrock {
|
||||
]
|
||||
];
|
||||
|
||||
public static $userCPlinks = [];
|
||||
|
||||
/**
|
||||
* The constructor takes care of everything that we will need before
|
||||
* finally calling appload to instantiate the appropriate controller/method.
|
||||
@ -362,6 +364,24 @@ class TheTempusProject extends Bedrock {
|
||||
}
|
||||
}
|
||||
|
||||
// load the damn usercp menu n a retarded fashion
|
||||
self::$userCPlinks[] = (object) [
|
||||
"url" => "{ROOT_URL}usercp",
|
||||
"name" => "Profile"
|
||||
];
|
||||
self::$userCPlinks[] = (object) [
|
||||
"url" => "{ROOT_URL}usercp/settings",
|
||||
"name" => "Settings"
|
||||
];
|
||||
self::$userCPlinks[] = (object) [
|
||||
"url" => "{ROOT_URL}usercp/email",
|
||||
"name" => "Change Email"
|
||||
];
|
||||
self::$userCPlinks[] = (object) [
|
||||
"url" => "{ROOT_URL}usercp/password",
|
||||
"name" => "Change Password"
|
||||
];
|
||||
|
||||
Debug::gend();
|
||||
}
|
||||
|
||||
@ -546,6 +566,7 @@ class TheTempusProject extends Bedrock {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Echos useful information about the installation.
|
||||
*
|
||||
|
Reference in New Issue
Block a user