Changeset 80 for trunk/client


Ignore:
Timestamp:
May 19, 2010, 8:16:43 PM (14 years ago)
Author:
roby
Message:

client - correzione per consultazione predefinita
admin - eliminati altri notice, modificata la funzione di visualizzazione della barra di elenco delle sezioni, aggiunti help per Scarica liste e Importa liste, corrette alcune incompatibilità con xhtml

Location:
trunk/client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules.php

    r29 r80  
    218218}
    219219$PHP_SELF=$_SERVER['PHP_SELF'];
    220 $file=(isset($_GET['file'])) ? $_GET['file']:"index";
    221 $name=(isset($_GET['name'])) ? $_GET['name']:"Elezioni";
    222 //$op= (isset($_GET['op'])) ? $_GET['op']:"gruppo";
    223 $name=htmlentities($name);
    224 $file=htmlentities($file);
    225 #$id_comune=intval($id_comune);
     220$file=(isset($_GET['file'])) ? htmlentities($_GET['file']):"index";
     221$name=(isset($_GET['name'])) ? htmlentities($_GET['name']):"Elezioni";
     222if (!isset($_GET['op'])) $_GET['op']="gruppo";
    226223
    227224$modpath = "modules/$name/$file.php";
    228 //if (!$op) $op="gruppo";
    229225if (file_exists($modpath)) {
    230226        include($modpath);
  • trunk/client/modules/Elezioni/blocchi/gom_affluenze.php

    r2 r80  
    6262                            $perc=number_format($voti_t*100/$tot,2);
    6363                        else {$tot=0;$perc="0.00";}
     64                        if($voti_t<=$tot){
    6465         
    6566                        $resto=100-$perc;
     
    7677                        </center>";
    7778
    78 
     79                        }
    7980
    8081        }       
Note: See TracChangeset for help on using the changeset viewer.