summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/inc/avatar/avatar251.gif (renamed from www-ssl/inc/avatar/avatar504.gif)bin1167 -> 1167 bytes
-rwxr-xr-xwww-ssl/inc/avatar/avatar357.gif (renamed from www-ssl/inc/avatar/avatar503.gif)bin2700 -> 2700 bytes
-rwxr-xr-xwww-ssl/inc/avatar/avatar392.gif (renamed from www-ssl/inc/avatar/avatar501.gif)bin4713 -> 4713 bytes
-rwxr-xr-xwww-ssl/inc/avatar/avatar435.gif (renamed from www-ssl/inc/avatar/avatar500.gif)bin207 -> 207 bytes
-rwxr-xr-xwww-ssl/nonpublic/einstellungen.php14
5 files changed, 2 insertions, 12 deletions
diff --git a/www-ssl/inc/avatar/avatar504.gif b/www-ssl/inc/avatar/avatar251.gif
index 01c2a370..01c2a370 100755
--- a/www-ssl/inc/avatar/avatar504.gif
+++ b/www-ssl/inc/avatar/avatar251.gif
Binary files differ
diff --git a/www-ssl/inc/avatar/avatar503.gif b/www-ssl/inc/avatar/avatar357.gif
index ed1157a0..ed1157a0 100755
--- a/www-ssl/inc/avatar/avatar503.gif
+++ b/www-ssl/inc/avatar/avatar357.gif
Binary files differ
diff --git a/www-ssl/inc/avatar/avatar501.gif b/www-ssl/inc/avatar/avatar392.gif
index ff98710d..ff98710d 100755
--- a/www-ssl/inc/avatar/avatar501.gif
+++ b/www-ssl/inc/avatar/avatar392.gif
Binary files differ
diff --git a/www-ssl/inc/avatar/avatar500.gif b/www-ssl/inc/avatar/avatar435.gif
index 98122e5b..98122e5b 100755
--- a/www-ssl/inc/avatar/avatar500.gif
+++ b/www-ssl/inc/avatar/avatar435.gif
Binary files differ
diff --git a/www-ssl/nonpublic/einstellungen.php b/www-ssl/nonpublic/einstellungen.php
index 973d1d7f..7980137e 100755
--- a/www-ssl/nonpublic/einstellungen.php
+++ b/www-ssl/nonpublic/einstellungen.php
@@ -113,21 +113,11 @@ if (!IsSet($_POST["action"]))
</tr>
<tr>
<td>
-<?PHP
-// Anzahl der installierten Avatars
-$ANZ_AVATAR= shell_exec("ls inc/avatar/ | wc -l");
- ?>
-
<select name="eAvatar" onChange="document.avatar.src = './inc/avatar/avatar' + this.value + '.gif'"
onKeyup= "document.avatar.src = './inc/avatar/avatar' + this.value + '.gif'">
<?php
- for ($i=1; $i <= $ANZ_AVATAR; $i++ )
- {
- echo "\t\t\t\t<option value=\"$i\"";
- if ($_SESSION['Avatar'] == $i) { echo " selected"; }
- echo ">avatar$i</option>\n";
- }
- echo "\n";
+ for ($i=1; file_exists("./inc/avatar/avatar$i.gif"); $i++ )
+ echo "\t\t\t\t<option value=\"$i\"". ($_SESSION['Avatar'] == $i ? " selected":""). ">avatar$i</option>\n";
?>
</select>&nbsp;&nbsp;
<img src="./inc/avatar/avatar<?php echo $_SESSION['Avatar']; ?>.gif" name="avatar" border="0" alt="" align="top">