$picture['id'], 'image_file' => $picture['file'] ), array('start') ); return htmlspecialchars(''.$name.''); } elseif ($name_link == 'high') { $src_image = new SrcImage($picture); if ($src_image->is_original() and 'true' == $user['enabled_high']) { $name.= ' ('.l10n('Display').' '.l10n('Original').')'; return htmlspecialchars(''.$name.''); } } return $name; } // Return extra picture for multipage category function get_lightbox_extra_pictures($selection, $rank_of, $name_link) { global $conf; $query = 'SELECT * FROM '.IMAGES_TABLE.' WHERE id IN ('.implode(',', $selection).');'; $result = pwg_query($query); $pictures = array(); while ($row = pwg_db_fetch_assoc($result)) { $row['rank'] = $rank_of[ $row['id'] ]; array_push($pictures, $row); } usort($pictures, 'rank_compare'); $content = '
'."\n"; return $content; } ?>