<?php

$layout = new afExtjsDesktopLayout();
?>

<style>
body {
    <?php 
if ($layout->getBackgroundImage() != 'none') {
    ?>
        background:<?php 
    echo $layout->getBackgroundColor();
    ?>
 url(<?php 
    echo $layout->getBackgroundImage();
    ?>
) repeat bottom right;
    <?php 
} else {
    ?>
        background-color:<?php 
    echo $layout->getBackgroundColor();
    ?>
;
    <?php 
}
?>
}
</style>

<div id="x-desktop">
    <a href="http://www.appflower.com" target="_blank" style="margin:5px; float:right;"><img src="/appFlowerPlugin/images/logo-transparent.png" /></a>

    <dl id="x-shortcuts">
        <dt id="grid-win-shortcut">
            <a href="#"><img src="/appFlowerPlugin/extjs-3/plugins/desktop/images/s.gif" />
            <div>Grid Window</div></a>
        </dt>
        <dt id="acc-win-shortcut">
            <a href="#"><img src="/appFlowerPlugin/extjs-3/plugins/desktop/images/s.gif" />
            <div>Accordion Window</div></a>
        </dt>
    </dl>
</div>

<div id="ux-taskbar">
	<div id="ux-taskbar-start"></div>
	<div id="ux-taskbuttons-panel"></div>
	<div class="x-clear"></div>
</div>

<?php 
$layout = new afExtjsDesktopLayout();
$layout->end();