Skip to content
Snippets Groups Projects
Commit d6b7c646 authored by ands's avatar ands
Browse files

siehe letzter commit *g*

parent 60404a8f
No related branches found
No related tags found
No related merge requests found
<?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)
);
?>
<?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;
}
}
?>
webroot/widgets/Logo/img/warpzone.png

5.72 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment