summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-14 06:33:18 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-14 06:33:18 +0000
commita365bbcf0ccc18cc5cee9e5cc697725279b02e53 (patch)
treea4a3006eefdc72bfe6321696f6b8c907f498e106 /phpfspot.class.php
parent99b313d1ae233bc46374a6ba435447b5f7b669af (diff)
issue41, remove any trace of the javascript bubble
git-svn-id: file:///var/lib/svn/phpfspot/trunk@196 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php38
1 files changed, 0 insertions, 38 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 5e25f21..8fe0f77 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -635,43 +635,6 @@ class PHPFSPOT {
} // showPhotoIndex()
- public function showBubbleDetails($photo, $direction)
- {
- if($direction == "up")
- $direction = "bubbleimg_up";
- else
- $direction = "bubbleimg_down";
-
- $details = $this->get_photo_details($photo);
- $orig_path = $this->translate_path($details['directory_path']) ."/". $details['name'];
-
- $image_url = "phpfspot_img.php?idx=". $photo ."&amp;width=". $this->cfg->bubble_width;
-
- $filesize = filesize($orig_path);
- $filesize = rand($filesize/1024, 2);
-
- if(!file_exists($orig_path)) {
- $this->_warning("Photo ". $orig_path ." does not exist!<br />\n");
- return;
- }
-
- if(!is_readable($orig_path)) {
- $this->_warning("Photo ". $orig_path ." is not readable for user ". get_current_user() ."<br />\n");
- return;
- }
-
- $img = getimagesize($orig_path);
-
- $this->tmpl->assign('file_size', $filesize);
- $this->tmpl->assign('width', $img[0]);
- $this->tmpl->assign('height', $img[1]);
- $this->tmpl->assign('file_name', $details['name']);
- $this->tmpl->assign('image_id', $direction);
- $this->tmpl->assign('image_url', $image_url);
- $this->tmpl->show("bubble_details.tpl");
-
- } // showBubbleDetails()
-
public function showCredits()
{
$this->tmpl->assign('version', $this->cfg->version);
@@ -849,7 +812,6 @@ class PHPFSPOT {
$resolutions = Array(
$this->cfg->thumb_width,
- $this->cfg->bubble_width,
$this->cfg->photo_width,
$this->cfg->mini_width,
);