Changeset 28552 for trunk/include


Ignore:
Timestamp:
May 28, 2014, 11:33:17 AM (10 years ago)
Author:
plg
Message:

feature 2616, customizations for plupload

  • bug fixed, remove debug inserts in table "plupload"
  • display photo title as tooltip on thumbnail
  • hide useless .plupload_header
  • hide any other form fieldset until an album is selected
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions/pwg.images.php

    r28545 r28552  
    13031303  $chunks = isset($_REQUEST["chunks"]) ? intval($_REQUEST["chunks"]) : 0;
    13041304
    1305   file_put_contents('/tmp/plupload.log', "[".date('c')."] ".__FUNCTION__.', '.$fileName.' '.($chunk+1).'/'.$chunks."\n", FILE_APPEND);
    1306 
    1307   single_insert(
    1308     'plupload',
    1309     array(
    1310       'received_on' => date('c'),
    1311       'filename' => $fileName,
    1312       'chunk' => $chunk+1,
    1313       'chunks' => $chunks,
    1314       )
    1315     );
    1316 
     1305  // file_put_contents('/tmp/plupload.log', "[".date('c')."] ".__FUNCTION__.', '.$fileName.' '.($chunk+1).'/'.$chunks."\n", FILE_APPEND);
    13171306
    13181307  // Open temp file
     
    13701359SELECT
    13711360    id,
     1361    name,
    13721362    path
    13731363  FROM '.IMAGES_TABLE.'
     
    13791369      'image_id' => $image_id,
    13801370      'src' => DerivativeImage::thumb_url($image_infos),
     1371      'name' => $image_infos['name'],
    13811372      );
    13821373  }
Note: See TracChangeset for help on using the changeset viewer.