summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-11-04 11:43:09 -0800
committerAndreas Gohr <andi@splitbrain.org>2012-11-04 11:43:09 -0800
commitcff21c5ab0a25e046f23d40760da442ac81ced51 (patch)
tree0edc0f7804cc1cb22bc94373e47bd70ab0353d19 /lib
parent2005b6b650f2523cb58a005961a55a6f099c70c3 (diff)
parenta0df75e62c09594d1d1ed11be9a911badab0699e (diff)
downloadrpg-cff21c5ab0a25e046f23d40760da442ac81ced51.tar.gz
rpg-cff21c5ab0a25e046f23d40760da442ac81ced51.tar.bz2
Merge pull request #130 from glensc/smileys-index
add index file similar to fileicons to show active smileys
Diffstat (limited to 'lib')
-rw-r--r--lib/images/smileys/index.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/images/smileys/index.php b/lib/images/smileys/index.php
new file mode 100644
index 000000000..9a2905b33
--- /dev/null
+++ b/lib/images/smileys/index.php
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+ <title>simleys</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('*.gif') as $img) {
+ echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+?>
+</div>
+
+<div class="black box">
+<?php
+foreach (glob('*.gif') as $img) {
+ echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+?>
+</div>
+
+</body>
+</html>