aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 13:44:13 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 13:44:13 +0000
commitf01d6a8266797c15155734002727496c0f0e8648 (patch)
treeb1ac0fcdee6ccd689f20e9b3dd75e0bbbd53a73f /mod/profile/actions
parent38d4980b3a834ef2eb7a3dac66cf9a57ca46b568 (diff)
downloadelgg-f01d6a8266797c15155734002727496c0f0e8648.tar.gz
elgg-f01d6a8266797c15155734002727496c0f0e8648.tar.bz2
Toolbar -> topbar in profile icons
git-svn-id: https://code.elgg.org/elgg/trunk@1233 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/actions')
-rw-r--r--mod/profile/actions/cropicon.php6
-rw-r--r--mod/profile/actions/iconupload.php6
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");