pezcurrel преди 4 години
родител
ревизия
bd2c5a80cb

+ 1 - 15
web/admin/edinst.php

@@ -56,20 +56,6 @@ function ulsh(el,sh) {
 	else
 		el.style.display='none';
 }
-function golang(lang) {
-	var loc=document.location.href;
-	loc=loc.replace(/#.*$/,'');
-	loc=loc.replace(/\/$/,'');
-	if (document.documentElement.lang=='en') {
-		if (lang!='en')
-			document.location.href=loc+'/'+lang;
-	} else {
-		if (lang!='en')
-			document.location.href=loc.substr(0,loc.length-3)+'/'+lang;
-		else
-			document.location.href=loc.substr(0,loc.length-3);
-	}
-}
 
 function shideplancia() {
 	var plancia=document.getElementById('plancia');
@@ -463,7 +449,7 @@ function pupwait(on) {
 <?php echo($menuout); ?>
 </ul>
 <div id="rightdiv">
-<div id="logout" class="rlinks"><a href="logout.php">Esci</a></div>
+<div id="logout" class="rlinks" onclick="document.location.href='logout.php'"><a href="logout.php">Esci</a></div>
 </div>
 </div>
 </nav>

Файловите разлики са ограничени, защото са твърде много
+ 2 - 5
web/admin/index.html


+ 4 - 4
web/admin/instances.php

@@ -439,7 +439,7 @@ if ($cinstsp<1) {
 		$out.='<table class="bigtab">'.N;
 //		$out.='<thead><tr><th class="tdattr">Attributi</th><th>Info</th></thead>'.N;
 		$out.='<tbody>'.N;
-		$out.='<tr><td colspan="2" class="insthead">'.$row['URI'].' ('.($finst+$ci).'/'.$cinsts.') - <a href="edinst.php?id='.$row['IID'].'">Modifica</a></td></tr>'.N;
+		$out.='<tr><td colspan="2" class="insthead">'.$row['URI'].' ('.($finst+$ci).'/'.$cinsts.')<!-- - <a href="edinst.php?id='.$row['IID'].'">Modifica</a>--></td></tr>'.N;
 		$attr=booly(trimname($cols['Instances.Blacklisted']['name']).': ',$row['Blacklisted'],false,true).N;
 		$attr.=booly(trimname($cols['Instances.New']['name']).': ',$row['New'],true).N;
 		$attr.=booly(trimname($cols['Instances.Good']['name']).': ',$row['Good']).N;
@@ -815,7 +815,7 @@ function addrow(index,refresh) {
 			popusels(index,false);
 		}
 	} else {
-		alerta('Non è possibile impostare più di 8 criteri di ricerca.');
+		alerta('<p>Non è possibile impostare più di 8 criteri di ricerca.</p>');
 	}
 }
 function ordaddrow(index,refresh) {
@@ -837,7 +837,7 @@ function ordaddrow(index,refresh) {
 		if (refresh)
 			synctoi();
 	} else {
-		alerta('Non è possibile impostare più di 6 criteri di ordinamento.');
+		alerta('<p>Non è possibile impostare più di 6 criteri di ordinamento.</p>');
 	}
 }
 function synctai() {
@@ -1168,7 +1168,7 @@ function puprempres() {
 	var pres=document.getElementById('presets');
 	if (pres.value!='null') {
 		var prestext=pres.options[pres.selectedIndex].text;
-		confirma('Confermi l’eliminazione del preset «'+hent(prestext)+'»?','rempres()');
+		confirma('<p>Confermi l’eliminazione del preset «'+hent(prestext)+'»?</p>','rempres()');
 	} else {
 		alerta('<p>Non hai selezionato alcun preset ;)</p>');
 	}

+ 2 - 2
web/admin/theme.css

@@ -555,8 +555,8 @@ input {
 	line-height: 18pt;
 	background-color:lightgrey;
 }
-#intro p {
-	margin-bottom: 0;
+#intro p, ul {
+	margin-bottom: 10px;
 }
 
 @media only screen and (max-width:720px) {

BIN
web/admin/zzz-materiali/mastostart_struttura.sql.gz


BIN
web/admin/zzz-materiali/mastostart_struttura_e_dati.sql.gz


Някои файлове не бяха показани, защото твърде много файлове са промени