summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-08-29 09:23:46 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-08-29 09:23:46 +0000
commit00fbcf135ce83af627867c61f23d5d11564661ac (patch)
tree62bcd4ae9f1ed53bbd62febeac0c5d8c5ec67513 /www-ssl
parent53204d7bd348f0fab3f85d1900ec8bc3035faf08 (diff)
probleme mit PHP "Safe Mode" durch "shell_exec()" behoben und gif aufgereumt (durchnummeriert)
git-svn-id: svn://svn.cccv.de/engel-system@140 29ba0400-6e00-0410-a75a-ca02368028f8
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">