Changeset 2446 for trunk/picture.php


Ignore:
Timestamp:
Jul 22, 2008, 3:29:38 AM (16 years ago)
Author:
rvelices
Message:
  • remove admin :hover css rule (bouncing thumbnails in caddie FF)
  • move some code from notification.php to notification.tpl
  • remove some unused variables from picture.php
  • make random.php work even if top_number is a lot (some issues solved with url length)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r2430 r2446  
    4343{
    4444  $query = '
    45 SELECT id, file, level 
     45SELECT id, file, level
    4646  FROM '.IMAGES_TABLE.'
    4747  WHERE ';
     
    6969  {// the image can still be non accessible (filter/cat perm) and/or not in the set
    7070    global $filter;
    71     if ( !empty($filter['visible_images']) and 
     71    if ( !empty($filter['visible_images']) and
    7272      !in_array($page['image_id'], explode(',',$filter['visible_images']) ) )
    7373    {
     
    780780
    781781//--------------------------------------------------------- picture information
    782 $header_infos = array(); //for html header use
    783782// legend
    784783if (isset($picture['current']['comment'])
     
    790789          $picture['current']['comment'])
    791790      );
    792   $header_infos['COMMENT'] = strip_tags($picture['current']['comment']);
    793791}
    794792
     
    807805//       .'">'.$picture['current']['author'].'</a>';
    808806    $picture['current']['author'];
    809   $header_infos['INFO_AUTHOR'] = $picture['current']['author'];
    810807}
    811808
Note: See TracChangeset for help on using the changeset viewer.