diff options
Diffstat (limited to 'www-ssl')
-rwxr-xr-x | www-ssl/inc/avatar/avatar251.gif (renamed from www-ssl/inc/avatar/avatar504.gif) | bin | 1167 -> 1167 bytes | |||
-rwxr-xr-x | www-ssl/inc/avatar/avatar357.gif (renamed from www-ssl/inc/avatar/avatar503.gif) | bin | 2700 -> 2700 bytes | |||
-rwxr-xr-x | www-ssl/inc/avatar/avatar392.gif (renamed from www-ssl/inc/avatar/avatar501.gif) | bin | 4713 -> 4713 bytes | |||
-rwxr-xr-x | www-ssl/inc/avatar/avatar435.gif (renamed from www-ssl/inc/avatar/avatar500.gif) | bin | 207 -> 207 bytes | |||
-rwxr-xr-x | www-ssl/nonpublic/einstellungen.php | 14 |
5 files changed, 2 insertions, 12 deletions
diff --git a/www-ssl/inc/avatar/avatar504.gif b/www-ssl/inc/avatar/avatar251.gif Binary files differindex 01c2a370..01c2a370 100755 --- a/www-ssl/inc/avatar/avatar504.gif +++ b/www-ssl/inc/avatar/avatar251.gif diff --git a/www-ssl/inc/avatar/avatar503.gif b/www-ssl/inc/avatar/avatar357.gif Binary files differindex ed1157a0..ed1157a0 100755 --- a/www-ssl/inc/avatar/avatar503.gif +++ b/www-ssl/inc/avatar/avatar357.gif diff --git a/www-ssl/inc/avatar/avatar501.gif b/www-ssl/inc/avatar/avatar392.gif Binary files differindex ff98710d..ff98710d 100755 --- a/www-ssl/inc/avatar/avatar501.gif +++ b/www-ssl/inc/avatar/avatar392.gif diff --git a/www-ssl/inc/avatar/avatar500.gif b/www-ssl/inc/avatar/avatar435.gif Binary files differindex 98122e5b..98122e5b 100755 --- a/www-ssl/inc/avatar/avatar500.gif +++ b/www-ssl/inc/avatar/avatar435.gif 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> <img src="./inc/avatar/avatar<?php echo $_SESSION['Avatar']; ?>.gif" name="avatar" border="0" alt="" align="top"> |