Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
This commit is contained in:
commit
63a619d295
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue