Ignore:
Timestamp:
Sep 24, 2022, 1:11:18 PM (20 months ago)
Author:
roby
Message:

Admin:

  • modificata la funzione aggiornadb per gestire il caso di cambiamento del nome del superutente e tolto il default per tipi campo text
  • modificata la funzione dei controlli per gestire il tipo consultazione Regionali in Sicilia

Install:

  • modificata la funzione di installazione per compatibilità con php 8.0

Client:

  • cambiata l'immagine "vuoto.jpg" nel formato png per gestire la trasparenza
  • modificate le funzioni affluenze e votanti per correggere l'esportazione in pdf e le stampe
  • per il tema Futura2 eliminato il taglio della descrizione della consultazione
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/install1.php

    r2 r376  
    1414$DBpassword = mosGetParam( $_POST, 'DBpassword', 'password' );
    1515$DBname         = mosGetParam( $_POST, 'DBname', 'eleonline' );
     16$ELEuserName = mosGetParam( $_POST, 'ELEuserName', 'eleutente' );
     17$ELEpassword = mosGetParam( $_POST, 'ELEpassword', 'elepassword' );
    1618$DBPrefix       = mosGetParam( $_POST, 'DBPrefix', 'soraldo' );
    1719
     
    4143                alert('Inserisci un nome per il tuo nuovo Database');
    4244                f.DBname.focus();
     45                formValid=false;
     46        } else if ( f.ELEuserName.value == '' ) {
     47                alert('Inserisci il nome del nuovo utente che gestirà il Database');
     48                f.DBuserName.focus();
    4349                formValid=false;
    4450        } else if ( f.DBPrefix.value == '' ) {
     
    124130                                                </td>
    125131                                                <td>
    126                                                         <em>Nome dell'account con permessi per creare il database</em>
     132                                                        <em>Nome dell'account con permessi per creare il database e GRANT</em>
    127133                                                </td>
    128134                                        </tr>
     
    134140                                                </td>
    135141                                                <td>
    136                                                         <em>Password per l'account mysql:</em>
     142                                                        <em>Password dell'account mysql:</em>
    137143                                                </td>
    138144                                        </tr>
     
    144150                                                </td>
    145151                                                <td>
    146                                                         <em>Nome del database di Eleonline.</em>
    147                                                 </td>
    148                                         </tr>
     152                                                        <em>Nome del database di Eleonline da creare.</em>
     153                                                </td>
     154                                        </tr>
     155                                        <tr>
     156                                                <td colspan="2">
     157                                                        MySQL Nuovo utente
     158                                                        <br/>
     159                                                        <input class="inputbox" type="text" name="ELEuserName" value="<?php echo "$ELEuserName"; ?>" />
     160                                                </td>
     161                                                <td>
     162                                                        <em>Nome dell'account che gestirà il database di eleonline</em>
     163                                                </td>
     164                                        </tr>
     165                                        <tr>
     166                                                <td colspan="2">
     167                                                        MySQL Password
     168                                                        <br/>
     169                                                        <input class="inputbox" type="text" name="ELEpassword" value="<?php echo "$ELEpassword"; ?>" />
     170                                                </td>
     171                                                <td>
     172                                                        <em>Password per il nuovo account mysql:</em>
     173                                                </td>
     174                                        </tr>
    149175                                        <!--
    150176                                        <tr>
Note: See TracChangeset for help on using the changeset viewer.