Merge branch 'develop' of https://github.com/shish/shimmie2 into develop

This commit is contained in:
Shish 2014-10-10 22:20:29 +01:00
commit 63a619d295

View file

@ -107,8 +107,10 @@ class PixelFileHandler extends DataHandlerExtension {
", 20);
$u_ilink = $event->image->get_image_link();
$nu_enabled = (strpos($u_ilink, '?') !== false ? "<input type='hidden' name='q' value='image/{$event->image->id}.{$event->image->ext}' />" : "");
$event->add_part("
<form action='{$u_ilink}'>
$nu_enabled
<input type='submit' value='Image Only'>
</form>
", 21);