aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/images
diff options
context:
space:
mode:
Diffstat (limited to 'lib/images')
-rw-r--r--lib/images/fileicons/32x32/svg.pngbin0 -> 980 bytes
-rw-r--r--lib/images/fileicons/index.php36
-rw-r--r--lib/images/fileicons/svg.pngbin0 -> 437 bytes
-rw-r--r--lib/images/smileys/index.php25
4 files changed, 29 insertions, 32 deletions
diff --git a/lib/images/fileicons/32x32/svg.png b/lib/images/fileicons/32x32/svg.png
new file mode 100644
index 000000000..81a3644ff
--- /dev/null
+++ b/lib/images/fileicons/32x32/svg.png
Binary files differ
diff --git a/lib/images/fileicons/index.php b/lib/images/fileicons/index.php
index 09b6c9df8..d1f233e48 100644
--- a/lib/images/fileicons/index.php
+++ b/lib/images/fileicons/index.php
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
- <title>filetype icons</title>
+ <title>Filetype icons</title>
- <style type="text/css">
+ <style>
body {
background-color: #ccc;
font-family: Arial;
@@ -11,7 +11,7 @@
.box {
width: 200px;
- float:left;
+ float: left;
padding: 0.5em;
margin: 0;
}
@@ -28,40 +28,32 @@
</head>
<body>
-<div class="white box">
<?php
+$fi_list = ''; $fi_list32 = '';
foreach (glob('*.png') as $img) {
- echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+ $fi_list .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
}
-?>
+foreach (glob('32x32/*.png') as $img) {
+ $fi_list32 .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+echo '<div class="white box">
+'.$fi_list.'
</div>
<div class="black box">
-<?php
-foreach (glob('*.png') as $img) {
- echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
-}
-?>
+'.$fi_list.'
</div>
<br style="clear: left" />
<div class="white box">
- <?php
- foreach (glob('32x32/*.png') as $img) {
- echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
- }
- ?>
+'.$fi_list32.'
</div>
<div class="black box">
- <?php
- foreach (glob('32x32/*.png') as $img) {
- echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
- }
- ?>
+'.$fi_list32;
+?>
</div>
-
</body>
</html>
diff --git a/lib/images/fileicons/svg.png b/lib/images/fileicons/svg.png
new file mode 100644
index 000000000..a52132dbf
--- /dev/null
+++ b/lib/images/fileicons/svg.png
Binary files differ
diff --git a/lib/images/smileys/index.php b/lib/images/smileys/index.php
index 4167eda5b..574966628 100644
--- a/lib/images/smileys/index.php
+++ b/lib/images/smileys/index.php
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
- <title>smileys</title>
+ <title>Smileys</title>
- <style type="text/css">
+ <style>
body {
background-color: #ccc;
font-family: Arial;
@@ -11,7 +11,7 @@
.box {
width: 200px;
- float:left;
+ float: left;
padding: 0.5em;
margin: 0;
}
@@ -28,19 +28,24 @@
</head>
<body>
-<div class="white box">
<?php
+$smi_list = '';
foreach (glob('*.gif') as $img) {
- echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+ $smi_list .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
}
-?>
+if(is_dir('local')) {
+ $smi_list .= '<hr />';
+ foreach (glob('local/*.gif') as $img) {
+ $smi_list .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+ }
+}
+
+echo '<div class="white box">
+'.$smi_list.'
</div>
<div class="black box">
-<?php
-foreach (glob('*.gif') as $img) {
- echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
-}
+'.$smi_list;
?>
</div>