-
Notifications
You must be signed in to change notification settings - Fork 2
/
settingsCore.php
57 lines (40 loc) · 1.74 KB
/
settingsCore.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/*
HonestRepair Diablo Engine - Settings Core
https://www.HonestRepair.net
https://github.com/zelon88
Licensed Under GNU GPLv3
https://www.gnu.org/licenses/gpl-3.0.html
Author: Justin Grimes
Date: 3/29/2019
<3 Open-Source
The Settings Core allows users to change their preferences like color scheme & password resets.
*/
// / ----------------------------------------------------------------------------------
// / Make sure the core is loaded.
if (!isset($ConfigIsLoaded) or $ConfigIsLoaded !== TRUE) die('ERROR!!! settingsCore: The requested application is currently unavailable.'.PHP_EOL);
// / ----------------------------------------------------------------------------------
// / ----------------------------------------------------------------------------------
// / The following code sets the functions for the session.
// / All functions accept arrays as inputs.
// / A function to reset the users password.
function resetPassword($originalPassword, $newPassword) {
}
// / A function for updating a user setting.
// / Accepts arrays as inputs. Be careful to match corresponding indecies.
function updateUserSetting($setting, $value) {
}
// / A function to return a users settings to default values.
// / Accepts arrays as inputs. Be careful to match corresponding indecies.
function defaultUserSetting($setting, $value) {
}
// / A function to return a users settings to default values.
function generateClient($os, $architecture, $homepage) {
}
// / A function to return a users personal data upon request.
function generateUserData($format) {
}
// / A function to return a users personal data upon request.
function clearUserCache($format) {
}
// / ----------------------------------------------------------------------------------