Changeset 240 for trunk/admin/modules
- Timestamp:
- Jun 7, 2015, 8:42:59 PM (9 years ago)
- Location:
- trunk/admin/modules/Elezioni
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_configurazione.php
r230 r240 85 85 $resmod = mysql_query("SELECT tema FROM ".$prefix."_ele_temi order by tema", $dbi); 86 86 87 echo "<td><select name=\"tema2\"><option value=\"\">"; 87 echo "<td><select name=\"tema2\">\n"; 88 88 89 while (list($desc) = mysql_fetch_row($resmod)){ 89 90 if (!$gru['tema']) $gru['tema']=$desc; 90 $sel= ($gru['tema']==$desc) ? "selected":""; 91 echo "<option value=\"".$desc."\" $sel>".$desc; 91 $sel= ($gru['tema']==$desc) ? "selected":""; 92 echo "<option value=\"".$desc."\" $sel>".$desc."\n"; 93 92 94 } 93 95 echo "</select></td></tr>"; … … 105 107 ."<tr><td><b>"._SITEURL."</b></td><td><input type=\"text\" name=\"siteurl\" value=\"".$gru['siteurl']."\"></td>"; 106 108 echo"<td><b>"._TESTATA."</b></td>"; 107 echo "<td><input type=\"file\" name=\"sitelogo\" size=\"10\"></td></tr>"; 108 # echo"<td><b>"._SITENAME."</b></td><td><input type=\"text\" name=\"sitename\" value=\"".$gru['sitename']."\"></td></tr>"; 109 echo "<td><input type=\"file\" name=\"sitelogo\" size=\"10\"></td><td> </td></tr>"; 110 111 echo"<td><b>"._SITENAME."</b></td><td><input type=\"text\" name=\"sitename\" value=\"".$gru['sitename']."\"></td></tr>"; 112 109 113 $resmod = mysql_query("SELECT id_comune,descrizione FROM ".$prefix."_ele_comuni order by descrizione", $dbi); 110 114 echo "<tr><td><b>"._SITEISTAT."</b></td>"; … … 121 125 $sel= ($gru['googlemaps']==1) ? "selected":""; 122 126 echo "<tr><td><b>"._GOOGLEMAPS."</b></td><td><select name=\"googlemaps\"><option value=\"0\">No<option value=\"1\" $sel>Si</select></td>"; 127 /* tolta la chiave 123 128 echo "<td><b>"._GKEY."</b></td><td><input type=\"text\" name=\"gkey\" value=\"".$gru['gkey']."\"></td></tr>"; 129 */ 124 130 $sel= ($gru['editor']==1) ? "selected":""; 125 echo "<tr><td><b>"._EDITOR."</b></td><td><select name=\"editor\"><option value=\"0\">No<option value=\"1\" $sel>Si</select></td>"; 126 echo "<td><b>"._EDUSER."</b></td>"; 131 echo "<td><b>"._EDITOR."</b></td><td><select name=\"editor\"><option value=\"0\">No<option value=\"1\" $sel>Si</select></td></tr>"; 132 133 /* echo "<td><b>"._EDUSER."</b></td>"; 127 134 echo "<td><select name=\"ed_user\">"; 135 128 136 $sel=$gru['ed_user']=='Admin'? "selected":""; 129 137 echo "<option value=\"Admin\" $sel>Admin"; … … 132 140 $sel=$gru['ed_user']=='Eleonline'? "selected":""; 133 141 echo "<option value=\"Eleonline\" $sel>Eleonline</td></tr>"; 142 */ 134 143 135 144 echo "<tr>"; … … 172 181 #displayerrors='$displayerrors', 173 182 #per il momento non Ú usato: , site_logo='$site_logo' 174 $result = mysql_query("update ".$prefix."_config set testata='$stemmablob', nome_testata='$stemmanome', blocco='$blocco', multicomune='$multicomune', language='$language2', siteistat='$siteistat', adminmail='$adminmail', sitename='$sitename', siteurl='$siteurl', flash='$flash2', tema='$tema2',gkey='$gkey',ed_user='$ed_user',googlemaps='$googlemaps',editor='$editor',tema_on='$tema_on'", $dbi) || die("Errore di aggiornamento dei dati!".mysql_error());183 $result = mysql_query("update ".$prefix."_config set sitename='$sitename', testata='$stemmablob', nome_testata='$stemmanome', blocco='$blocco', multicomune='$multicomune', language='$language2', siteistat='$siteistat', adminmail='$adminmail', siteurl='$siteurl', flash='$flash2', tema='$tema2',gkey='$gkey',ed_user='$ed_user',googlemaps='$googlemaps',editor='$editor',tema_on='$tema_on'", $dbi) || die("Errore di aggiornamento dei dati!".mysql_error()); 175 184 if ($tema2=='facebook') 176 185 $_SESSION['tema']=$tema2; -
trunk/admin/modules/Elezioni/language/lang-it.php
r230 r240 174 174 define("_GKEY","Chiave per google maps"); 175 175 define("_GOOGLEMAPS","Attivare l'accesso alle google maps?"); 176 define("_EDITOR","Utilizzare l' FCKeditor?");176 define("_EDITOR","Utilizzare CKeditor?"); 177 177 define("_EDUSER","Permessi d'uso di FCKeditor"); 178 define("_NOMESITO","Nome del sito per le elezioni"); 178 179 define("_CONFIGDEFAULT","Impostazioni di configurazione generale"); 179 180 define("_CONFIGURAZIONE","Configurazione sito");
Note:
See TracChangeset
for help on using the changeset viewer.