diff options
Diffstat (limited to 'mod/profile/actions')
-rw-r--r-- | mod/profile/actions/cropicon.php | 6 | ||||
-rw-r--r-- | mod/profile/actions/iconupload.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mod/profile/actions/cropicon.php b/mod/profile/actions/cropicon.php index d52c6b02c..d13a765c4 100644 --- a/mod/profile/actions/cropicon.php +++ b/mod/profile/actions/cropicon.php @@ -22,7 +22,7 @@ $filehandler->setFilename("profile/" . $user->username . "master" . ".jpg");
$filename = $filehandler->getFilenameOnFilestore();
- $toolbar = get_resized_image_from_existing_file($filename,16,16, true, $x1, $y1, $x2, $y2);
+ $topbar = get_resized_image_from_existing_file($filename,16,16, true, $x1, $y1, $x2, $y2);
$tiny = get_resized_image_from_existing_file($filename,25,25, true, $x1, $y1, $x2, $y2);
$small = get_resized_image_from_existing_file($filename,40,40, true, $x1, $y1, $x2, $y2);
$medium = get_resized_image_from_existing_file($filename,100,100, true, $x1, $y1, $x2, $y2);
@@ -45,9 +45,9 @@ $filehandler->open("write");
$filehandler->write($tiny);
$filehandler->close();
- $filehandler->setFilename("profile/" . $_SESSION['user']->username . "toolbar.jpg");
+ $filehandler->setFilename("profile/" . $_SESSION['user']->username . "topbar.jpg");
$filehandler->open("write");
- $filehandler->write($toolbar);
+ $filehandler->write($topbar);
$filehandler->close();
$user->x1 = $x1;
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php index a82327825..115836eb6 100644 --- a/mod/profile/actions/iconupload.php +++ b/mod/profile/actions/iconupload.php @@ -15,7 +15,7 @@ isloggedin()
) {
- $toolbar = get_resized_image_from_uploaded_file('profileicon',16,16, true);
+ $topbar = get_resized_image_from_uploaded_file('profileicon',16,16, true);
$tiny = get_resized_image_from_uploaded_file('profileicon',25,25, true);
$small = get_resized_image_from_uploaded_file('profileicon',40,40, true);
$medium = get_resized_image_from_uploaded_file('profileicon',100,100, true);
@@ -45,9 +45,9 @@ $filehandler->open("write");
$filehandler->write($tiny);
$filehandler->close();
- $filehandler->setFilename("profile/" . $_SESSION['user']->username . "toolbar.jpg");
+ $filehandler->setFilename("profile/" . $_SESSION['user']->username . "topbar.jpg");
$filehandler->open("write");
- $filehandler->write($toolbar);
+ $filehandler->write($topbar);
$filehandler->close();
$filehandler->setFilename("profile/" . $_SESSION['user']->username . "master.jpg");
$filehandler->open("write");
|