summaryrefslogtreecommitdiff
path: root/includes/pages/user_settings.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-09-14 22:56:36 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-09-14 22:56:36 +0200
commit2a09f904a5a6bd92d4c8191abe53061bd69d7e00 (patch)
tree02b12d2d872424fed67365529e2f08822511d9a2 /includes/pages/user_settings.php
parenta29196ee8bedc8bd22d6ea81e8e1936848744146 (diff)
parente9193a7161affc823477775784007c38fa9600cf (diff)
Merge branch 'master' of https://vcs.wybt.net/engelsystem/git
Diffstat (limited to 'includes/pages/user_settings.php')
-rw-r--r--includes/pages/user_settings.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php
index 1b039f0c..aa22b419 100644
--- a/includes/pages/user_settings.php
+++ b/includes/pages/user_settings.php
@@ -155,10 +155,10 @@ function user_settings() {
echo "</form>\n";
}
- switch (GetPicturShow($_SESSION['UID'])) {
+ switch (GetPictureShow($_SESSION['UID'])) {
case 'Y' :
echo Get_Text('pub_einstellungen_PictureShow') . "<br />";
- echo displayPictur($_SESSION['UID'], 0);
+ echo displayPicture($_SESSION['UID'], 0);
echo "<form action=\"./einstellungen.php\" method=\"post\">\n";
echo "<input type=\"hidden\" name=\"action\" value=\"delPicture\">\n";
echo "<input type=\"submit\" value=\"" . Get_Text("delete"), "\">\n";
@@ -166,7 +166,7 @@ function user_settings() {
break;
case 'N' :
echo Get_Text('pub_einstellungen_PictureNoShow') . "<br />";
- echo displayPictur($_SESSION['UID'], 0);
+ echo displayPicture($_SESSION['UID'], 0);
echo "<form action=\"./einstellungen.php\" method=\"post\">\n";
echo "<input type=\"hidden\" name=\"action\" value=\"delPicture\">\n";
echo "<input type=\"submit\" value=\"" . Get_Text("delete"), "\">\n";
@@ -217,7 +217,7 @@ function user_settings() {
if (($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/gif")) {
$data = addslashes(fread(fopen($_FILES["file"]["tmp_name"], "r"), filesize($_FILES["file"]["tmp_name"])));
- if (GetPicturShow($_SESSION['UID']) == "")
+ if (GetPictureShow($_SESSION['UID']) == "")
$SQL = "INSERT INTO `UserPicture` " .
"( `UID`,`Bild`, `ContentType`, `show`) " .
"VALUES ('" . $_SESSION['UID'] . "', '$data', '" . $_FILES["file"]["type"] . "', 'N')";