Ignore:
Timestamp:
Feb 21, 2007, 12:40:02 AM (17 years ago)
Author:
plg
Message:

New: non picture files are now logged in history when downloaded. The
history filter was redesigned: #history.is_high replaced by
#history.image_type = high. The filter is simpler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r1817 r1844  
    411411}
    412412
    413 function pwg_log($image_id = null, $is_high = false)
     413function pwg_log($image_id = null, $image_type = null)
    414414{
    415415  global $conf, $user, $page;
     
    469469    category_id,
    470470    image_id,
    471     is_high,
     471    image_type,
    472472    tag_ids
    473473  )
     
    485485    '.(isset($page['category']) ? $page['category'] : 'NULL').',
    486486    '.(isset($image_id) ? $image_id : 'NULL').',
    487     '.(isset($image_id) ? "'".boolean_to_string($is_high)."'" : 'NULL').',
     487    '.(isset($image_id) ? "'".$image_type."'" : 'NULL').',
    488488    '.(isset($tags_string) ? "'".$tags_string."'" : 'NULL').'
    489489  )
Note: See TracChangeset for help on using the changeset viewer.