Slight changes to how the Replace & Resize forms are displayed.

This commit is contained in:
green-ponies (jgen)
2011-09-04 13:46:12 -04:00
parent 8422e0050a
commit bf035c247d
3 changed files with 13 additions and 5 deletions

5
contrib/resize/style.css Normal file
View File

@ -0,0 +1,5 @@
form#form_resize {
float: left;
margin: 0;
width: 60%;
}

View File

@ -36,7 +36,8 @@ class ResizeImageTheme extends Themelet {
$image = Image::by_id($image_id);
$thumbnail = $this->build_thumb_html($image, null);
$html = "<p>Resize Image ID ".$image_id."<br>".$thumbnail."</p>
$html = "<div style='clear:both;'></div>
<p>Resize Image ID ".$image_id."<br>".$thumbnail."</p>
<p>Please note: You will have to refresh the image page, or empty your browser cache.</p>
<p>Enter the new size for the image, or leave blank to scale the image automatically.</p><br>"
.make_form(make_link('resize/'.$image_id), 'POST', $multipart=True,'form_resize')."