about summary refs log tree commit diff stats
path: root/wiki/lib/images/fileicons/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/lib/images/fileicons/index.php')
-rw-r--r--wiki/lib/images/fileicons/index.php67
1 files changed, 67 insertions, 0 deletions
diff --git a/wiki/lib/images/fileicons/index.php b/wiki/lib/images/fileicons/index.php
new file mode 100644
index 0000000..09b6c9d
--- /dev/null
+++ b/wiki/lib/images/fileicons/index.php
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+    <title>filetype icons</title>
+
+    <style type="text/css">
+        body {
+            background-color: #ccc;
+            font-family: Arial;
+        }
+
+        .box {
+            width: 200px;
+            float:left;
+            padding: 0.5em;
+            margin: 0;
+        }
+
+        .white {
+            background-color: #fff;
+        }
+
+        .black {
+            background-color: #000;
+        }
+    </style>
+
+</head>
+<body>
+
+<div class="white box">
+<?php
+foreach (glob('*.png') as $img) {
+    echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+?>
+</div>
+
+<div class="black box">
+<?php
+foreach (glob('*.png') as $img) {
+    echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+?>
+</div>
+
+<br style="clear: left" />
+
+<div class="white box">
+    <?php
+    foreach (glob('32x32/*.png') as $img) {
+        echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+    }
+    ?>
+</div>
+
+<div class="black box">
+    <?php
+    foreach (glob('32x32/*.png') as $img) {
+        echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+    }
+    ?>
+</div>
+
+
+</body>
+</html>