Ignore:
Timestamp:
Jun 7, 2015, 8:42:59 PM (9 years ago)
Author:
luc
Message:

Piccole sistemazioni del codice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/header.php

    r233 r240  
    2424
    2525function head(){
    26         global $csv,$tema,$tour,$sitename,$pagetitle,$simbolo,$siteurl;
     26        global $csv,$tema,$tour,$sitename,$pagetitle,$simbolo,$siteurl,$siteistat;
    2727        echo '
    2828        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     
    3232        //echo "<title>Eleonline - Elezioni on line</title>\n";
    3333        echo '<title>'.$sitename.' '.$pagetitle.'</title>'."\n";
     34        echo "<meta name=\"title\" content=\"$sitename\" />\n";
     35        echo "<meta name=\"description\" content=\"$pagetitle\" />\n";
     36
     37        if(file_exists("modules/Elezioni/images/$siteistat.png")){     
     38                echo "<link rel=\"image_src\" href=\"modules/Elezioni/images/$siteistat.png\" />\n"; #img fb
     39        }else{
     40                echo "<link rel=\"image_src\" href=\"modules/Elezioni/images/logo.gif\" />\n"; #img fb
     41        }
     42
    3443        echo "<link rel=\"stylesheet\" href=\"temi/$tema/style.css\" type=\"text/css\" />\n\n\n";
    3544        include("inc/javascript.php"); # rotazione (18 marzo 2009) tema tour
     
    3847        include("temi/$tema/themeutils.php"); #incluso x tema mobile
    3948        }
    40         echo "\n<link rel=\"image_src\" href=\"$siteurl/modules/Elezioni/images/$simbolo\" />"; #img fb
     49       
    4150        echo "\n\n\n</head>\n";
    4251        # rotazione per tema tour
Note: See TracChangeset for help on using the changeset viewer.