Changeset 268
- Timestamp:
- Jan 20, 2018, 9:06:12 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_consultazionitipi.php
r195 r268 108 108 case "5" : { 109 109 if (!$pro_t['voto_g'] and !$pro_t['voto_c']) $gencons=_GENCONS5; 110 elseif (!$pro_t['voto_g'] and $pro_t['voto_c']) $gencons=_GENCONS3; 110 111 else $gencons=_GENCONS6; 111 112 break; -
trunk/admin/modules/Elezioni/language/lang-en.php
r257 r268 107 107 define("_CONSULTAZIONE","Regional Parliament Election"); 108 108 define("_GRUPPO","Candidate for President"); 109 break; 110 case 18: 111 define("_CONSULTAZIONE","Camera Election"); 112 define("_GRUPPO","Uninominal Candidate"); 113 define("_SOLO_GRUPPO","Uninominal Candidate"); 114 define("_LISTA","Associated List"); 115 define("_CANDIDATO","Candidate List"); 116 117 define("_DESCRCONS","CAMERA"); 118 break; 119 case 19: 120 define("_CONSULTAZIONE","Senato Election"); 121 define("_GRUPPO","Uninominal Candidate"); 122 define("_SOLO_GRUPPO","Uninominal Candidate"); 123 define("_LISTA","Associated List"); 124 define("_CANDIDATO","Candidate List"); 125 126 define("_DESCRCONS","SENATO"); 109 127 break; 110 128 -
trunk/admin/modules/Elezioni/language/lang-it.php
r240 r268 8 8 /************************************************************************/ 9 9 global $tipo_cons; 10 10 11 switch ($tipo_cons){ 11 12 case '': … … 122 123 define("_GRUPPO","Candidato Presidente"); 123 124 define("_DESCRCONS","REGIONALI"); 125 break; 126 case 18: 127 define("_CONSULTAZIONE","Consultazione Camera dei deputati"); //genere 5 128 define("_GRUPPO","Candidato Uninominale"); 129 define("_SOLO_GRUPPO","Candidato Uninominale"); 130 define("_LISTA","Lista collegata"); 131 define("_CANDIDATO","Listino bloccato"); 132 133 define("_DESCRCONS","CAMERA"); 134 break; 135 case 19: 136 define("_CONSULTAZIONE","Consultazione Senato della Repubblica"); //genere 5 137 define("_GRUPPO","Candidato Uninominale"); 138 define("_SOLO_GRUPPO","Candidato Uninominale"); 139 define("_LISTA","Lista collegata"); 140 define("_CANDIDATO","Listino bloccato"); 141 142 define("_DESCRCONS","CAMERA"); 124 143 break; 125 144 case 28: … … 468 487 define("_CONFIGWIDGET","Configurazione dei box laterali"); 469 488 define("_SEGNALA","Segnala l'installazione a Eleonline"); 489 490 470 491 ?> -
trunk/client/modules/Elezioni/language/lang-it.php
r253 r268 435 435 define("_DESCRCONS","REGIONALI"); 436 436 break; 437 437 case 18: 438 define("_CONSULTAZIONE","Consultazione Camera dei deputati"); //genere 5 439 define("_GRUPPO","Candidato Uninominale"); 440 define("_SOLO_GRUPPO","Candidato Uninominale"); 441 define("_LISTA","Lista collegata"); 442 define("_CANDIDATO","Listino bloccato"); 443 444 define("_DESCRCONS","CAMERA"); 445 break; 446 case 19: 447 define("_CONSULTAZIONE","Consultazione Senato della Repubblica"); //genere 5 448 define("_GRUPPO","Candidato Uninominale"); 449 define("_SOLO_GRUPPO","Candidato Uninominale"); 450 define("_LISTA","Lista collegata"); 451 define("_CANDIDATO","Listino bloccato"); 452 453 define("_DESCRCONS","CAMERA"); 454 break; 455 438 456 439 457 } -
trunk/client/modules/Elezioni/menu.php
r213 r268 228 228 echo "<option value=\"graf_lista&visgralista=1\" ".$temp['graf_lista'].">"._LISTA."</option>"; 229 229 if ($genere>3){ 230 if (!$circo && !$votog )230 if (!$circo && !$votog && !$votoc) 231 231 echo "<option value=\"graf_candidato\" ".$temp['graf_candidato']." >"._CONSI."</option>"; 232 232 } -
trunk/client/temi/Futura2/index.php
r256 r268 207 207 ####################################### menu risultati 208 208 function risultati(){ 209 global $id_comune,$id_cons_gen,$genere,$tipo_cons,$colortheme ;209 global $id_comune,$id_cons_gen,$genere,$tipo_cons,$colortheme,$votoc; 210 210 echo '<div data-role="content" data-theme="'.$colortheme.'"> 211 211 <a href="modules.php?op=affluenze_all&id_comune='.$id_comune.'&id_cons_gen='.$id_cons_gen.'" data-role="button" data-theme="'.$colortheme.'" data-icon="arrow-right" data-iconpos="right">Affluenze</a> … … 215 215 if($genere==3 OR $genere==5) 216 216 echo '<a href="modules.php?op=liste_mob&id_comune='.$id_comune.'&id_cons_gen='.$id_cons_gen.'" " data-role="button" data-theme="'.$colortheme.'" data-icon="arrow-right" data-iconpos="right">'._LISTA.'</a>'; 217 if(($genere==3 OR $genere==5) and $tipo_cons!="1" or $tipo_cons>="11")217 if(($genere==3 OR $genere==5) and !$votoc) 218 218 echo '<a href="modules.php?op=candidato_mob&id_comune='.$id_comune.'&id_cons_gen='.$id_cons_gen.'" " data-role="button" data-theme="'.$colortheme.'" data-icon="arrow-right" data-iconpos="right">'._CANDIDATO.'</a>'; 219 219 -
trunk/client/temi/altro/menu.php
r261 r268 173 173 174 174 if ($genere>3){ 175 if (!$circo && !$votog ) {175 if (!$circo && !$votog && !$votoc) { 176 176 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 177 177 } -
trunk/client/temi/blog/menu.php
r261 r268 172 172 173 173 if ($genere>3){ 174 if (!$circo && !$votog ) {174 if (!$circo && !$votog && !$votoc) { 175 175 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 176 176 } -
trunk/client/temi/default/menu.php
r261 r268 173 173 174 174 if ($genere>3){ 175 if (!$circo && !$votog ) {175 if (!$circo && !$votog && !$votoc) { 176 176 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 177 177 } -
trunk/client/temi/facebook/menu.php
r261 r268 194 194 195 195 if ($genere>3){ 196 if (!$circo && !$votog ) {196 if (!$circo && !$votog && !$votoc) { 197 197 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 198 198 } -
trunk/client/temi/realistic/menu.php
r261 r268 184 184 185 185 if ($genere>3){ 186 if (!$circo && !$votog ) {186 if (!$circo && !$votog && !$votoc) { 187 187 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 188 188 } -
trunk/client/temi/spectral/menu.php
r261 r268 184 184 185 185 if ($genere>3){ 186 if (!$circo && !$votog ) {186 if (!$circo && !$votog && !$votoc) { 187 187 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 188 188 } -
trunk/client/temi/stylized/menu.php
r261 r268 173 173 174 174 if ($genere>3){ 175 if (!$circo && !$votog ) {175 if (!$circo && !$votog && !$votoc) { 176 176 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 177 177 } -
trunk/client/temi/tour/menu.php
r261 r268 172 172 173 173 if ($genere>3){ 174 if (!$circo && !$votog ) {174 if (!$circo && !$votog && !$votoc) { 175 175 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 176 176 } -
trunk/client/temi/yellowblu/menu.php
r261 r268 173 173 174 174 if ($genere>3){ 175 if (!$circo && !$votog ) {175 if (!$circo && !$votog && !$votoc) { 176 176 echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=graf_candidato\">"._CONSI."</a></li>"; 177 177 } -
trunk/install/sql/eleonline.sql
r260 r268 899 899 /*!40000 ALTER TABLE `soraldo_ele_tipo` DISABLE KEYS */; 900 900 LOCK TABLES `soraldo_ele_tipo` WRITE; 901 INSERT INTO `soraldo_ele_tipo` VALUES (1,'PROVINCIALI','it',3,'0','0','0','0'),(2,'REFERENDUM','it',0,'0','0','0','0'),(3,'COMUNALI','it',5,'0','0','0','0'),(4,'CIRCOSCRIZIONALI','it',5,'0','0','0','1'),(5,'BALLOTTAGGIO COMUNALI','it',1,'0','0','0','0'),(6,'CAMERA','it',2,'0','0','0','0'),(7,'SENATO','it',2,'0','0','0','0'),(8,'EUROPEE','it',4,'1','0','0','0'),(9,'REGIONALI','it',5,'0','0','0','0'),(10,'SENATO CON GRUPPI','it',5,'1','0','1','0'),(11,'CAMERA CON GRUPPI','it',5,'1','0','1','0'),(12,'PROVINCIALI CON COLLEGI','it',3,'0','0','0','1'),(13,'BALLOTTAGGIO PROVINCIALI','it',1,'0','0','0','0'),(14,'EUROPEE CON COLLEGI','it',4,'0','0','0','1'),(15,'CAMERA CON GRUPPI E COLLEGI','it',5,'1','0','1','1'),(16,'SENATO CON GRUPPI E COLLEGI','it',5,'1','0','1','1'),(17,'REGIONALI CON COLLEGI','it',5,'0','0','0','1'); 901 INSERT INTO `soraldo_ele_tipo` VALUES 902 (1, 'PROVINCIALI', 'it', 3, '0', '0', '0', '0'), 903 (2, 'REFERENDUM', 'it', 0, '0', '0', '0', '0'), 904 (3, 'COMUNALI', 'it', 5, '0', '0', '0', '0'), 905 (4, 'CIRCOSCRIZIONALI', 'it', 5, '0', '0', '0', '1'), 906 (5, 'BALLOTTAGGIO COMUNALI', 'it', 1, '0', '0', '0', '0'), 907 (6, 'CAMERA', 'it', 2, '0', '0', '0', '0'), 908 (7, 'SENATO', 'it', 2, '0', '0', '0', '0'), 909 (8, 'EUROPEE', 'it', 4, '1', '0', '0', '0'), 910 (9, 'REGIONALI', 'it', 5, '0', '0', '0', '0'), 911 (10, 'SENATO CON GRUPPI', 'it', 5, '1', '0', '1', '0'), 912 (11, 'CAMERA CON GRUPPI', 'it', 5, '1', '0', '1', '0'), 913 (12, 'PROVINCIALI CON COLLEGI', 'it', 3, '0', '0', '0', '1'), 914 (13, 'BALLOTTAGGIO PROVINCIALI', 'it', 1, '0', '0', '0', '0'), 915 (14, 'EUROPEE CON COLLEGI', 'it', 4, '0', '0', '0', '1'), 916 (15, 'CAMERA CON GRUPPI E COLLEGI', 'it', 5, '1', '0', '1', '1'), 917 (16, 'SENATO CON GRUPPI E COLLEGI', 'it', 5, '1', '0', '1', '1'), 918 (17, 'REGIONALI CON COLLEGI', 'it', 5, '0', '0', '0', '1'), 919 (18, 'CAMERA - Rosatellum 2.0', 'it', 5, '0', '0', '1', '0'), 920 (19, 'SENATO - Rosatellum 2.0', 'it', 5, '0', '0', '1', '0'); 902 921 UNLOCK TABLES; 903 922 /*!40000 ALTER TABLE `soraldo_ele_tipo` ENABLE KEYS */;
Note:
See TracChangeset
for help on using the changeset viewer.