root/devel/mod/file/fileicons/index.php

Revision 1539, 0.9 kB (checked in by renato, 1 year ago)

Setting prop svn:eol-style in LOTS of files.

  • Property svn:eol-style set to native
Line 
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
4  lang="en" dir="ltr">
5     <title>filetype icons</title>
6
7     <style type="text/css">
8         body {
9             background-color: #ccc;
10             font-family: Arial;
11         }
12
13         .box {
14             width: 200px;
15             float:left;
16             padding: 0.5em;
17             margin: 0;
18         }
19
20         .white {
21             background-color: #fff;
22         }
23
24         .black {
25             background-color: #000;
26         }
27     </style>
28
29 </head>
30 <body>
31
32 <div class="white box">
33 <?php
34 foreach (glob('*.png') as $img) {
35     echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
36 }
37 ?>
38 </div>
39
40 <div class="black box">
41 <?php
42 foreach (glob('*.png') as $img) {
43     echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
44 }
45 ?>
46 </div>
47
48 </body>
49 </html>
50
Note: See TracBrowser for help on using the browser.