/usr/share/drupal6/modules/imagefield_assist/imagefield_assist_lightbox.js is in drupal6-mod-imagefield-assist 1.0~beta3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | $(document).ready(function(){
$("a.ifa_lightbox").each(function(){
new_rel='lightbox[ifa]['+$(this).attr('title');
if (typeof(Drupal.settings.ifa_lightbox2_original) != 'undefined'){
new_rel+=Drupal.settings.ifa_lightbox2_original.replace('!fid',$(this).attr('rel'));
}
new_rel+=']';
$(this).attr('rel', new_rel);
});
try{
Lightbox.initList();
}catch (e){;}
});
|