equal
deleted
inserted
replaced
581 |
581 |
582 echo enano_json_encode($return); |
582 echo enano_json_encode($return); |
583 |
583 |
584 break; |
584 break; |
585 case "get_styles": |
585 case "get_styles": |
586 if ( !preg_match('/^[a-z0-9_-]+$/', $_GET['theme_id']) ) |
586 if ( !preg_match('/^[A-z0-9_-]+$/', $_GET['theme_id']) ) |
587 die(enano_json_encode(array())); |
587 die(enano_json_encode(array())); |
588 |
588 |
589 $theme_id = $_GET['theme_id']; |
589 $theme_id = $_GET['theme_id']; |
590 $return = array(); |
590 $return = array(); |
591 |
591 |