ajax.php
changeset 1340 d1d64b373878
parent 1332 12286b3ee214
child 1343 2a31905a567d
equal deleted inserted replaced
1339:03c5b9e8e02a 1340:d1d64b373878
   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