diff --git a/webroot/config.php b/webroot/config.php new file mode 100644 index 0000000000000000000000000000000000000000..31a2b15210ec3500a8e94bd65c07e160a03ca1db --- /dev/null +++ b/webroot/config.php @@ -0,0 +1,21 @@ +<?php + $widget_unit_width = 200; + $widget_unit_height = 200; + + $widget_spacing_x = 40; + $widget_spacing_y = 40; + + $widgets = array( + //array("widget_name", "style_name", position_x, position_y, size_x, size_y); + array("Logo", "widget", 0,0, 2,1), + array("ZoneOffen", "widget_dark", 4,0, 2,1), + array("Dummy", "widget_light", 0,1, 4,2), + array("Dummy", "widget_light", 4,1, 2,1), + array("Dummy", "widget_light", 4,2, 2,4), + array("Dummy", "widget_light", 0,3, 1,2), + array("Dummy", "widget_dark", 1,3, 2,2), + array("Dummy", "widget_light", 3,3, 1,2), + array("Dummy", "widget_light", 0,5, 2,1), + array("Dummy", "widget_light", 2,5, 2,1) + ); +?> diff --git a/webroot/widgets/Logo/Logo.php b/webroot/widgets/Logo/Logo.php new file mode 100644 index 0000000000000000000000000000000000000000..27657430b74780deb78c7e44eba24e0e7b134a63 --- /dev/null +++ b/webroot/widgets/Logo/Logo.php @@ -0,0 +1,18 @@ +<?php + +require_once 'widgets/iWidget.php'; + +class Logo implements iWidget +{ + public function __construct($width, $height) + { + } + + public function giveOutput() + { + $widgetOutput = '<img src="widgets/Logo/img/warpzone.png">'."\n"; + return $widgetOutput; + } +} + +?> diff --git a/webroot/widgets/Logo/img/warpzone.png b/webroot/widgets/Logo/img/warpzone.png new file mode 100644 index 0000000000000000000000000000000000000000..2e13ba1a9e5098c2d19ce645c1ba22634f2d2dd2 Binary files /dev/null and b/webroot/widgets/Logo/img/warpzone.png differ