Subversion Repositories Sites.tela-botanica.org

Rev

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

Rev 1113 Rev 1114
Line 31... Line 31...
31
		<?php else : ?>
31
		<?php else : ?>
32
			<ul>
32
			<ul>
33
				<?php foreach ($sites as $site) : ?>
33
				<?php foreach ($sites as $site) : ?>
34
					<?php foreach ($site['pages'] as $page) : ?>
34
					<?php foreach ($site['pages'] as $page) : ?>
35
			    	<li>
35
			    	<li>
-
 
36
			    		<div>
36
			    		<b>
37
				    		<b>
37
			    			<? $titre_page = preg_replace('/^\d+-\d+&nbsp;:/', '', $page['titre']); ?>
38
				    			<? $titre_page = preg_replace('/^\d+-\d+&nbsp;:/', '', $page['titre']); ?>
38
			    			<?=$titre_page?><br />
39
				    			<?=$titre_page?><br />
39
			    		</b>
40
				    		</b>
40
 
41
							
41
						<? $page['description'] = str_replace('align="left"', '<img align="right"', $page['description']); ?>
42
							<?php $page['description'] = preg_replace("/<img[^>]+\>/i", "", $page['description']); 
42
			    		<?= truncate($page['description'], 250)?>
43
			    			<?= truncate($page['description'], 250); ?>
43
			    		<br />
44
				    		<br />
44
			    		<a href="<?=$page['url']?>">En savoir plus sur ce projet.</a><br>
45
				    		<a href="<?=$page['url']?>">En savoir plus.</a><br>
-
 
46
			    		</div>
-
 
47
			    		<div>
-
 
48
			    			<?php $page['image'] = str_replace('align="left"', '<img align="right"', $page['image']); ?>
-
 
49
			    			<?= $page['image']; ?>
-
 
50
			    		</div>
45
			    		<hr class="nettoyage" />
51
			    		<hr class="nettoyage" />
46
			   		</li>
52
			   		</li>
47
			   		<?php endforeach; ?>
53
			   		<?php endforeach; ?>
48
			   	<?php endforeach; ?>
54
			   	<?php endforeach; ?>
49
			</ul>
55
			</ul>