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

Marvin widget :)

parent b7b06fb5
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
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("Marvin", "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),
......
<?php
require_once 'widgets/iWidget.php';
class Marvin implements iWidget
{
public function __construct($width, $height)
{
}
public function giveOutput()
{
$widgetOutput = '<img src="widgets/Marvin/img/marvin.jpg">'."\n";
return $widgetOutput;
}
}
?>
webroot/widgets/Marvin/img/marvin.jpg

31.2 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