mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-08-04 14:12:08 -07:00
Fixing the dateformat issue + some other tweaks
Date formats can be edited in profiles. The field defaults to the current dateformat set (either the default or the user's), but will only be saved in the database if it differs from $defaultdateformat. Edit Profile (editprofile.php) has been cleaned up and now does less absurd things. For one, it doesn't pass along your password in plaintext any more! The formatting of the file has also been cleaned up a bit and should hopefully be less absurd.
This commit is contained in:
@@ -121,6 +121,8 @@
|
||||
|
||||
|
||||
|
||||
$dateformat = $defaultdateformat;
|
||||
$dateshort = $defaultdateshort;
|
||||
|
||||
|
||||
$loguser = array();
|
||||
@@ -164,6 +166,7 @@
|
||||
$loguser[powerlevel]= 0;
|
||||
$loguser['signsep'] = 0;
|
||||
$log = 0;
|
||||
|
||||
}
|
||||
if ($x_hacks['superadmin']) $loguser['powerlevel'] = 4;
|
||||
|
||||
|
Reference in New Issue
Block a user