Ignore:
Timestamp:
May 18, 2015, 12:17:41 AM (9 years ago)
Author:
luc
Message:
  • inclusione del tema per mobile Futura2
  • inclusione del widget per la ricerca dei candidati
  • inclusione della segnalazione dell'installazione
  • altre piccole migliorie
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/header.php

    r210 r230  
    1313}
    1414
     15### tema mobile Futura 2
     16include("inc/mobile.php"); // riconoscimento mobile
     17$is_mobile=is_mobile();
     18        if($is_mobile && $nocell!=1){
     19                $tema="Futura2";
     20        }
     21
    1522include("temi/$tema/index.php");
    1623include("modules/Elezioni/language/lang-$lang.php");
    1724
    18 
    19 function head() {
     25function head(){
    2026        global $csv,$tema,$tour;
    2127        echo '
     
    2733        echo "<link rel=\"stylesheet\" href=\"temi/$tema/style.css\" type=\"text/css\" />\n\n\n";
    2834        include("inc/javascript.php"); # rotazione (18 marzo 2009) tema tour
     35        ##### tema mobile
     36        if (file_exists("temi/$tema/themeutils.php")) {
     37        include("temi/$tema/themeutils.php"); #incluso x tema mobile
     38        }
    2939
    3040        echo "\n\n\n</head>\n";
    3141        # rotazione per tema tour
    3242        if (isset($_SESSION['ruota'])){$csv=1; echo "<body onload=\"loadpage()\"";}
    33         else echo "<body onload=\"initialize()\"";
     43        else echo "<body";
    3444        if (!$csv) echo " style=\"background-image: url(temi/$tema/images/sfondo.jpg); background-repeat:repeat-x;\"";
    3545        echo " >\n";
     
    3848        include_once("modules/Elezioni/funzioni.php");
    3949        if (!$csv)testata();
    40 
    41   }
    42 
    43 head();
     50}
     51head(); 
    4452
    4553?>
Note: See TracChangeset for help on using the changeset viewer.