Themeing work based on bootstrap
This commit is contained in:
@@ -20,9 +20,12 @@ abstract class lnApp_Sort {
|
||||
* @return array Sorted multi demension array.
|
||||
*/
|
||||
public static function MAsort(&$data,$sortby,$rev=0) {
|
||||
// if the array to sort is null or empty, or our sortby is bad
|
||||
if (! preg_match('/^([a-zA-Z0-9_]+(\([a-zA-Z0-9_,]*\)(->[a-zA-Z0-9])?)?,?)+$/',$sortby) || ! $data)
|
||||
// if the array to sort is null
|
||||
if (! $data)
|
||||
return;
|
||||
// if the array to sort is null or empty, or our sortby is bad
|
||||
# if (! preg_match('/^([a-zA-Z0-9_]+(\([a-zA-Z0-9_,]*\)(->[a-zA-Z0-9])?)?,?)+$/',$sortby) || ! $data)
|
||||
# return;
|
||||
|
||||
$code = '$c=0;';
|
||||
|
||||
|
Reference in New Issue
Block a user