} else if (which == 27) { // escape
set_opacity("close", 0.7);
do_close();
- } else if (which == 32) { // space
+ } else if (which == 32 && global_select) { // space
select_image(global_image_list[global_image_num]);
}
}
vhost => $r->get_server_name,
event => $event,
start => $settings{'start'} - 1,
- returnurl => $returnurl
+ returnurl => $returnurl,
+ sel => $settings{'sel'},
});
} else {
Sesse::pr0n::Common::header($r, "$name [$event]");
var global_evt = "%EVENT%";
var global_return_url = "%RETURNURL%";
var global_image_num = %START%;
+var global_select = %SEL%;
//-->
</script>
<script type="text/JavaScript" src="/pr0n-fullscreen.js"></script>