Ignore:
Timestamp:
Nov 15, 2014, 7:19:07 PM (9 years ago)
Author:
roby
Message:

admin: correzione nella gestione della modifica dei dati del comune
client: visualizzazione del widget "02_risultati" anche per le circoscrizionali e per comuni con più collegi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_comuni.php

    r189 r228  
    8282        echo "<td bgcolor=\"$bgcolor1\"><b>"._STEMMA."</b></td><td><input type=\"file\" name=\"stemma\" size=\"10\"></td>";
    8383        echo "<td bgcolor=\"$bgcolor1\"><b>"._CODICE."</b></td>";
    84         if ($desc)
     84        if ($id_comune2)
    8585                echo "<td><input type=\"hidden\" name=\"id_comune2\" value=\"$id_comune2\">$id_comune2</td>";
    8686        else
     
    109109        echo "<td></td><td><input type=\"hidden\" name=\"id_cons_gen\" value=\"$id_cons_gen\">";
    110110        echo "<input type=\"hidden\" name=\"ok\" value=0>";
    111         if ($desc) {
     111        if ($id_comune2) {
    112112                echo "<input type=\"hidden\" name=\"do\" value=\"update\">";
    113113                echo "<input type=\"submit\" name=\"add\" value=\""._MODIFY."\"></td></tr></form>";
Note: See TracChangeset for help on using the changeset viewer.