Subversion Repositories Applications.wikini

Rev

Rev 58 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 58 Rev 60
Line 33... Line 33...
33
		}
33
		}
34
	}
34
	}
Line 35... Line 35...
35
	
35
	
Line -... Line 36...
-
 
36
	protected function migrerFormatSmartFlore() {	
36
	protected function migrerFormatSmartFlore() {	
37
 
37
 
38
		// sections "souples" - attention, ne seront pas "quotées" mais interprétées comme morceaux de regexp directement !
38
		$sections = array("Fiche simplifiée Smart'flore", "Introduction","Comment la reconnaître ?","Son histoire","Ses usages","Écologie & habitat","Ce qu'il faut savoir...","Sources");
39
		$sections = array("Fiche simplifi.+e Smart.+flore", "Introduction","Comment la reconna.+tre.+","Son histoire","Ses usages",".+cologie.+habitat","Ce qu.+il faut savoir.+","Sources");
39
		$nouvelles_sections = array(
40
		$nouvelles_sections = array(
40
				"Description" => array("Introduction","Comment la reconnaître ?","Son histoire"),
41
			"Description" => array("Introduction","Comment la reconna.+tre.+","Son histoire"),
41
				"Usages" => array("Ses usages", "Ce qu'il faut savoir..."),
42
			"Usages" => array("Ses usages", "Ce qu.+il faut savoir.+"),
42
				"Écologie & habitat" => array("Écologie & habitat"),
43
			"Écologie & habitat" => array(".+cologie.+habitat"),
Line 43... Line 44...
43
				"Sources" => array("Sources")
44
			"Sources" => array("Sources")
44
		);
45
		);
45
		
46