Code Duplication    Length = 40-40 lines in 2 locations

view/SSTemplateParser.php 2 locations

@@ 2372-2411 (lines=40) @@
2369
			if (( $subres = $this->literal( 'end_' ) ) !== FALSE) { $result["text"] .= $subres; }
2370
			else { $_385 = FALSE; break; }
2371
			$_381 = NULL;
2372
			do {
2373
				$_379 = NULL;
2374
				do {
2375
					$res_372 = $result;
2376
					$pos_372 = $this->pos;
2377
					if (( $subres = $this->literal( 'uncached' ) ) !== FALSE) {
2378
						$result["text"] .= $subres;
2379
						$_379 = TRUE; break;
2380
					}
2381
					$result = $res_372;
2382
					$this->pos = $pos_372;
2383
					$_377 = NULL;
2384
					do {
2385
						$res_374 = $result;
2386
						$pos_374 = $this->pos;
2387
						if (( $subres = $this->literal( 'cached' ) ) !== FALSE) {
2388
							$result["text"] .= $subres;
2389
							$_377 = TRUE; break;
2390
						}
2391
						$result = $res_374;
2392
						$this->pos = $pos_374;
2393
						if (( $subres = $this->literal( 'cacheblock' ) ) !== FALSE) {
2394
							$result["text"] .= $subres;
2395
							$_377 = TRUE; break;
2396
						}
2397
						$result = $res_374;
2398
						$this->pos = $pos_374;
2399
						$_377 = FALSE; break;
2400
					}
2401
					while(0);
2402
					if( $_377 === TRUE ) { $_379 = TRUE; break; }
2403
					$result = $res_372;
2404
					$this->pos = $pos_372;
2405
					$_379 = FALSE; break;
2406
				}
2407
				while(0);
2408
				if( $_379 === FALSE) { $_381 = FALSE; break; }
2409
				$_381 = TRUE; break;
2410
			}
2411
			while(0);
2412
			if( $_381 === FALSE) { $_385 = FALSE; break; }
2413
			if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
2414
			if (( $subres = $this->literal( '%>' ) ) !== FALSE) { $result["text"] .= $subres; }
@@ 2877-2916 (lines=40) @@
2874
			if (( $subres = $this->literal( 'end_' ) ) !== FALSE) { $result["text"] .= $subres; }
2875
			else { $_492 = FALSE; break; }
2876
			$_488 = NULL;
2877
			do {
2878
				$_486 = NULL;
2879
				do {
2880
					$res_479 = $result;
2881
					$pos_479 = $this->pos;
2882
					if (( $subres = $this->literal( 'cached' ) ) !== FALSE) {
2883
						$result["text"] .= $subres;
2884
						$_486 = TRUE; break;
2885
					}
2886
					$result = $res_479;
2887
					$this->pos = $pos_479;
2888
					$_484 = NULL;
2889
					do {
2890
						$res_481 = $result;
2891
						$pos_481 = $this->pos;
2892
						if (( $subres = $this->literal( 'uncached' ) ) !== FALSE) {
2893
							$result["text"] .= $subres;
2894
							$_484 = TRUE; break;
2895
						}
2896
						$result = $res_481;
2897
						$this->pos = $pos_481;
2898
						if (( $subres = $this->literal( 'cacheblock' ) ) !== FALSE) {
2899
							$result["text"] .= $subres;
2900
							$_484 = TRUE; break;
2901
						}
2902
						$result = $res_481;
2903
						$this->pos = $pos_481;
2904
						$_484 = FALSE; break;
2905
					}
2906
					while(0);
2907
					if( $_484 === TRUE ) { $_486 = TRUE; break; }
2908
					$result = $res_479;
2909
					$this->pos = $pos_479;
2910
					$_486 = FALSE; break;
2911
				}
2912
				while(0);
2913
				if( $_486 === FALSE) { $_488 = FALSE; break; }
2914
				$_488 = TRUE; break;
2915
			}
2916
			while(0);
2917
			if( $_488 === FALSE) { $_492 = FALSE; break; }
2918
			if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
2919
			if (( $subres = $this->literal( '%>' ) ) !== FALSE) { $result["text"] .= $subres; }