Remove if statement

Can someone run their eyes over this before merging!

If i'm reading the code right there are 2 if statements checking if $divdisplay != "block"

Which would look like this:
```
if ($divdisplay != "block") {
    <div id="<?php echo $widgetname;?>-loader" style="display:<?php echo $display; ?>;" align="center"><br />
    <img src="./themes/<?= $g['theme']; ?>/images/misc/widget_loader.gif" width="25" height="25" alt="<?=gettext("Loading selected widget"); ?>..." />
    <br /></div> 
} 

if ($divdisplay != "block") 
    $display = none;

<div id="<?php echo $widgetname;?>" style="display:<?php echo $display; ?>;">               


if ($divdisplay == "block")
{
    include($directory . $widget);
} 
```
If this is correct, I have moved the $display = none; to the first loop and removed the redundant loop.
Alsoed place the none within quotes.