Skip to content

Commit

Permalink
LugMap.it: piccola correzione in generazione widget embeddabile
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Jul 30, 2011
1 parent a0c91a9 commit 44f8488
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions forge/lug-o-matic/widget.php
Expand Up @@ -7,9 +7,9 @@
else
$html = false;

$head = true;
$head = 'true';
$head_color = '000080';
$foot = true;
$foot = 'true';

if ($html == true)
$endline = '';
Expand Down Expand Up @@ -73,7 +73,7 @@
if (array_key_exists ('foot', $_GET) == true)
$foot = $_GET ['foot'];

if ($head == true) {
if ($head == 'true') {
$page .=<<<PAGE
<div style="font-weight: bold; background-color: $head_color; color: #FFFFFF; border: 1px solid black; padding: 5px;"> $endline
<p>Cerchi un Linux Users Group in $regionname?</p> $endline
Expand Down Expand Up @@ -117,7 +117,7 @@
/**
FOOTER COMUNE
**/
if ($foot == true) {
if ($foot == 'true') {
$page .=<<<PAGE
<div style="margin-top: 5px; font-style: italic; color: #000000; font-weight: bold;"> $endline
Powered by <a style="color: #FF0000; text-decoration: none;" href="http://lugmap.it/">lugmap.it</a> $endline
Expand Down

0 comments on commit 44f8488

Please sign in to comment.