Clean up edit_* pages, some config changes, bug fixes
- Class Basic convert string to bytes fix - admin edit_* pages do not need JS except pop call, moved that into the template and do not load any other JS anymore - changed the EDIT_STYLESHEET/JAVACSRIPT names to ADMIN_ to give them the proper name that they are admin based functions - paths are in an extra config file - plan on moving edit_* css rules into a special CSS file just for this
This commit is contained in:
@@ -1241,8 +1241,8 @@ class Basic
|
||||
// DESC : calculates the bytes based on a string with nnG, nnM, etc
|
||||
public static function stringByteFormat($number)
|
||||
{
|
||||
$number = (int)trim($number);
|
||||
$last = strtolower($number[strlen($number) - 1]);
|
||||
$number = (int)trim($number);
|
||||
switch ($last) {
|
||||
case 't':
|
||||
$number *= 1024;
|
||||
|
||||
Reference in New Issue
Block a user