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

Widgetanordnung geändert. Wettervorhersageplugin mit überschrift versehen.

parent d8b54d42
No related branches found
No related tags found
No related merge requests found
...@@ -9,13 +9,12 @@ ...@@ -9,13 +9,12 @@
//array("widget_name", "style_name", position_x, position_y, size_x, size_y); //array("widget_name", "style_name", position_x, position_y, size_x, size_y);
array("Logo", "widget", 0,0, 2,1), array("Logo", "widget", 0,0, 2,1),
array("ZoneOffen", "widget_dark", 4,0, 2,1), array("ZoneOffen", "widget_dark", 4,0, 2,1),
array("Dummy", "widget_light", 0,1, 4,2), array("Dummy", "widget_light", 0,1, 3,2),
array("Marvin", "widget_light", 4,1, 2,1), array("Wettervorhersage", "widget_light", 3,1, 1,2),
array("TwitterWall", "widget_light", 4,2, 2,4), array("TwitterWall", "widget_light", 4,1, 2,4),
array("Dummy", "widget_light", 0,3, 1,2), array("Dummy", "widget_light", 0,3, 2,2),
array("Dummy", "widget_dark", 1,3, 2,2), array("Dummy", "widget_dark", 2,3, 2,2),
array("Wettervorhersage", "widget_light", 3,3, 1,2), array("Dummy", "widget_light", 0,5, 4,1),
array("Dummy", "widget_light", 0,5, 2,1), array("Marvin", "widget_light", 4,5, 2,1)
array("Dummy", "widget_light", 2,5, 2,1)
); );
?> ?>
...@@ -26,7 +26,7 @@ class TwitterWall implements iWidget ...@@ -26,7 +26,7 @@ class TwitterWall implements iWidget
}); });
}); });
</script>'."\n"; </script>'."\n";
$widgetOutput .= '<div class="box"><div class="tweet" style="height:auto;top:0;bottom:0;"></div></div>'."\n"; $widgetOutput .= '<div class="box"><div class="tweet"></div></div>'."\n";
return $widgetOutput; return $widgetOutput;
} }
......
...@@ -9,10 +9,11 @@ class Wettervorhersage implements iWidget ...@@ -9,10 +9,11 @@ class Wettervorhersage implements iWidget
} }
public function giveOutput() public function giveOutput()
{ {
$widgetOutput = '<div id="cont_5c241a8806783c9482d9f72bd16e1de2"><script type="text/javascript" src="http://www.daswetter.net/wid_loader/5c241a8806783c9482d9f72bd16e1de2"></script></div>'; $widgetOutput = '<h1>Das Wetter in M&uuml;nster:</h1><br>'."\n";
$widgetOutput .= '<div id="cont_5c241a8806783c9482d9f72bd16e1de2"><script type="text/javascript" src="http://www.daswetter.net/wid_loader/5c241a8806783c9482d9f72bd16e1de2"></script></div>'."\n";
//TODO: automatisch Aktualisieren
return $widgetOutput; return $widgetOutput;
} }
} }
......
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