/web/acc/admin/bl_filter.php |
---|
6,6 → 6,9 |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
</HEAD> |
<body> |
<div id="ldoverlay" class="overlay"> |
<div class="lds-spinner" id="spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> |
</div> |
<? |
function form_filter ($form_content) |
{ |
436,15 → 439,15 |
echo "$l_fingerprint"; echo_file ("$dir_tmp/md5sum"); |
echo "<br>$l_fingerprint2<a href='http://dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST' target='cat_help' onclick=\"window.open('http://dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST','cat_help','width=600,height=150,toolbar=no,scrollbars=yes,resizable=yes')\" title='verify fingerprint'>dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST</a><br>"; |
echo "<input type='hidden' name='choix' value='Active_list'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_activate_bl'> ($l_warning)</FORM>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_activate_bl'> ($l_warning)</FORM>"; |
echo "<FORM action='bl_filter.php' method=POST>"; |
echo "<input type='hidden' name='choix' value='Reject_list'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_reject_bl'></form>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_reject_bl'></form>"; |
} |
else |
{ |
echo "<input type='hidden' name='choix' value='Download_list'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_download_bl'> ($l_warning)</form>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_download_bl'> ($l_warning)</form>"; |
} |
?> |
</td></tr> |
517,7 → 520,7 |
echo_file ($dir_blacklist."ossi-bl/domains"); |
echo "</textarea></td>"; |
echo "</tr><tr><td colspan=10>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_record'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_record'>"; |
echo "</td></tr></table><br>"; |
echo "</form> ($l_wait)"; |
?> |
551,7 → 554,7 |
echo "<form action='bl_filter.php' method='POST' enctype='multipart/form-data'>"; |
echo "<input type='hidden' name='choix' value='MAJ_ossi_file_upload'>"; |
echo "<input type='file' name='fichier_ip'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_submit'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_submit'>"; |
echo "</form>"; |
echo "</td></tr>"; |
echo "</table><br>"; |
612,7 → 615,7 |
<input type='checkbox' name='chk-safesearch' <?= $bl_safesearch == 'on' ? 'checked' : ''; ?>><?= $l_safe_searching; ?> |
</tr></td> |
<tr><td> |
<?= "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_record'>"; ?> |
<?= "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_record'>"; ?> |
</td></tr> |
</table> |
</form> |
/web/acc/admin/logo.php |
---|
6,6 → 6,9 |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
</head> |
<body> |
<div id="ldoverlay" class="overlay"> |
<div class="lds-spinner" id="spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> |
</div> |
<?php |
# Choice of language |
$Language = 'en'; |
67,7 → 70,7 |
<form action="logo.php" method=POST ENCTYPE="multipart/form-data"> |
<input type="file" name="logo"> |
<input type="hidden" name="MAX_FILE_SIZE" value="100000"> |
<input type="submit" value="Envoyer"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="Envoyer"> |
</form> |
<?php |
if (isset($result)){ |
/web/acc/admin/network.php |
---|
920,6 → 920,9 |
</script> |
</head> |
<body> |
<div id="ldoverlay" class="overlay"> |
<div class="lds-spinner" id="spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> |
</div> |
<div class="panel"> |
<div class="panel-header"><?= $l_network_title ?></div> |
<div class="panel-row"> |
1014,7 → 1017,7 |
<hr> |
<div style="text-align: center; margin: 5px"> |
<input type="hidden" name="choix" value="network_change"> |
<input type="submit" value="<?= $l_apply ?>"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?= $l_apply ?>"> |
</div> |
</form> |
</div> |
1061,7 → 1064,7 |
</table> |
<?php if ($line_exist): ?> |
<input type="hidden" name="choix" value="del_mac"> |
<input type="submit" value="<?= $l_apply ?>"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?= $l_apply ?>"> |
<?php endif; ?> |
</form> |
</td><td width="50%" valign="middle" align="center"> |
1074,7 → 1077,7 |
<td><input type="text" name="info" size="10"></td> |
<td> |
<input type="hidden" name="choix" value="new_mac"> |
<input type="submit" class="button" value="<?= $l_add_to_list ?>" onclick="return MAC_Control('new_mac');"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" class="button" value="<?= $l_add_to_list ?>" onclick="return MAC_Control('new_mac');"> |
</td> |
</tr></table> |
</form> |
1119,7 → 1122,7 |
</table> |
<?php if ($line_exist): ?> |
<input type="hidden" name="choix" value="del_host"> |
<input type="submit" value="<?= $l_apply ?>"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?= $l_apply ?>"> |
<?php endif; ?> |
</form> |
</td> |
1135,7 → 1138,7 |
<tr> |
<td><input type="text" name="add_ip" size="10"><input type="hidden" name="choix" value="new_host"></td> |
<td><input type="text" name="add_host" size="17"></td> |
<td><input type=submit class=button value="<?= $l_add_to_list ?>"></td> |
<td><input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" class="button" value="<?= $l_add_to_list ?>"></td> |
</tr> |
</table> |
</form> |
1152,7 → 1155,7 |
<option value="on"<?= (($conf['HTTPS_LOGIN'] === 'on') ? ' selected' : '') ?>><?= $l_yes ?></option> |
<option value="off"<?= (($conf['HTTPS_LOGIN'] === 'off') ? ' selected' : '') ?>><?= $l_no ?></option> |
</select> |
<input type="submit" value="<?= $l_apply ?>"><br> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?= $l_apply ?>"><br> |
</form> |
</div> |
</div> |
1180,12 → 1183,12 |
if (file_exists('/etc/pki/tls/certs/alcasar.crt.old') && file_exists('/etc/pki/tls/private/alcasar.key.old')){ // An old default certificate exist ? |
echo "<form method=\"post\" action=\"".htmlspecialchars($_SERVER['PHP_SELF'])."\">\n"; |
echo "\t\t\t\t<input type=\"hidden\" name=\"choix\" value=\"set_default_cert\">\n"; |
echo "\t\t\t\t<input type=\"submit\" value=\"$l_default_cert\"> (alcasar.localdomain)<br>\n"; |
echo "\t\t\t\t<input type=\"submit\" onClick=\"document.getElementById('ldoverlay').style.display='block';\" value=\"$l_default_cert\"> (alcasar.localdomain)<br>\n"; |
echo "\t\t\t</form>\n";} |
if (!empty($LE_conf['domainRequest']) && ($domain != $LE_conf['domainRequest'])) { // A Let's encrypt certificate exist & it's not the active one ? |
echo "\t\t\t<form method=\"post\" action=\"".htmlspecialchars($_SERVER['PHP_SELF'])."\">\n"; |
echo "\t\t\t\t<input type=\"hidden\" name=\"choix\" value=\"set_last_LE_cert\">\n"; |
echo "\t\t\t\t<input type=\"submit\" value=\"".$l_previous_LE_cert."\"> (".$LE_conf['domainRequest'].")\n"; |
echo "\t\t\t\t<input type=\"submit\" onClick=\"document.getElementById('ldoverlay').style.display='block';\" value=\"".$l_previous_LE_cert."\"> (".$LE_conf['domainRequest'].")\n"; |
echo "\t\t\t</form>\n";} |
?> |
</div> |
1198,7 → 1201,7 |
<?= $l_certificate;?> <input type="file" name="crt"><br> |
<?= $l_server_chain;?> <input type="file" name="sc"><br> |
<input type="hidden" name="choix" value="import_cert"> |
<input type="submit" value="<?= $l_import ?>"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?= $l_import ?>"> |
</form> |
</div> |
<div class="panel-cell"> |
1221,7 → 1224,7 |
<?= $l_le_status ?> <?= $l_disabled ?><br> |
<?= $l_le_email ?> <input type="text" name="email" placeholder="adresse@email.com"<?= ((!empty($LE_conf['email'])) ? ' value="'.$LE_conf['email'].'"' : '') ?>><br> |
<?= $l_le_domain_name ?> <input type="text" name="domainname" placeholder="alcasar.domain.tld" required><br> |
<input type="submit" name="issue" value="<?= $l_send ?>"><br> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" name="issue" value="<?= $l_send ?>"><br> |
</form> |
<?php elseif ($step === 2): ?> |
<form method="post" action="<?= htmlspecialchars($_SERVER['PHP_SELF']) ?>"> |
1231,7 → 1234,7 |
<?= $l_le_ask_on ?> <?= date('d-m-Y H:i:s', $LE_conf['dateIssueRequest']) ?><br> |
<?= $l_le_dns_entry_txt ?> "<?= '_acme-challenge.'.$LE_conf['domainRequest'] ?>"<br> |
<?= $l_le_challenge ?> "<?= $LE_conf['challenge'] ?>"<br> |
<input type="submit" name="recheck" value="<?= $l_recheck ?>"> <input type="submit" name="cancel" value="<?= $l_cancel ?>"><br> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" name="recheck" value="<?= $l_recheck ?>"> <input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" name="cancel" value="<?= $l_cancel ?>"><br> |
</form> |
<?php elseif ($step === 3): ?> |
<form method="post" action="<?= htmlspecialchars($_SERVER['PHP_SELF']) ?>"> |
1241,9 → 1244,9 |
<?= $l_le_api ?> <?= $LE_conf['dnsapi'] ?><br> |
<?= $l_le_next_renewal ?> <?= date('d-m-Y', $LE_conf['dateNextRenewal']) ?><br> |
<?php if ($LE_conf['dateNextRenewal'] <= date('U')): ?> |
<input type="submit" name="recheck" value="<?= $l_renew ?>"><br> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" name="recheck" value="<?= $l_renew ?>"><br> |
<?php else: ?> |
<input type="submit" name="recheck_force" value="<?= $l_renew_force ?>"><br> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" name="recheck_force" value="<?= $l_renew_force ?>"><br> |
<?php endif; ?> |
</form> |
<?php endif; ?> |
/web/acc/admin/protocols_filter.php |
---|
6,6 → 6,9 |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
</HEAD> |
<body> |
<div id="ldoverlay" class="overlay"> |
<div class="lds-spinner" id="spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> |
</div> |
<? |
# Choice of language |
$Language = 'en'; |
186,7 → 189,7 |
?> |
</table> |
<input type='hidden' name='choix' value='change_port'> |
<input type='submit' value='<?echo"$l_save";?>'> |
<input type='submit' onClick="document.getElementById('ldoverlay').style.display='block';" value='<?echo"$l_save";?>'> |
</form></td><td valign='middle' align='center'> |
<form action='protocols_filter.php' method='POST'> |
<table cellspacing=2 cellpadding=3 border=1> |
194,7 → 197,7 |
<tr><td><input type='text' name='add_port' size='5'></td> |
<td><input type='text' name='add_proto' size='10'></td> |
<td><input type='hidden' name='choix' value='new_port'> |
<input type='submit' value='<?echo"$l_add_to_list";?>'></td> |
<input type='submit' onClick="document.getElementById('ldoverlay').style.display='block';" value='<?echo"$l_add_to_list";?>'></td> |
</tr></table> |
</form> |
</td></tr> |
/web/acc/admin/services.php |
---|
276,6 → 276,9 |
<script type="text/javascript" src="/js/jquery.min.js"></script> |
</head> |
<body> |
<div id="ldoverlay" class="overlay"> |
<div class="lds-spinner" id="spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> |
</div> |
<div class="panel"> |
<div class="panel-header"><?= $l_main_services ?></div> |
<div class="panel-row"> |
338,12 → 341,12 |
<td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td> |
<td align="center"><b>WIFI4EU</b></td><td><?php echo "network ID : $wifi4eu_code"; ?></td> |
<td width="80" align="center">---</td> |
<td width="80" align="center"><input type=submit value="<?echo $l_service_stop;?>"><input type=hidden name="wifi4eu" value="off"></td> |
<td width="80" align="center"><input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?echo $l_service_stop;?>"><input type=hidden name="wifi4eu" value="off"></td> |
<td width="80" align="center">---</td> |
<?php } else { ?> |
<td align="center"><img src="/images/state_error.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ko; ?>"></td> |
<td align="center">WIFI4EU</td><td><?php echo $l_wifi4eu_id; ?> : <input type ="text" name="wifi4eu_id" value="<?php echo $wifi4eu_code; ?>" size="40"></td> |
<td width="80" align="center"><input type=submit value="<?echo $l_service_start;?>"><input type=hidden name="wifi4eu" value="on"></td> |
<td width="80" align="center"><input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?echo $l_service_start;?>"><input type=hidden name="wifi4eu" value="on"></td> |
<td width="80" align="center">---</td> |
<td width="80" align="center">---</td> |
<?php } ?> |
362,7 → 365,7 |
<option selected value="reboot"><?echo "$l_reboot";?> |
<option value="halt"><?echo "$l_halt";?> |
</select> |
<input type=submit value="<?echo "$l_execute";?>"> |
<input type="submit" onClick="document.getElementById('ldoverlay').style.display='block';" value="<?echo "$l_execute";?>"> |
</form> |
</td></tr> |
</table> |
/web/acc/admin/wl_filter.php |
---|
6,6 → 6,9 |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
</HEAD> |
<body> |
<div id="ldoverlay" class="overlay"> |
<div class="lds-spinner" id="spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> |
</div> |
<? |
function form_filter ($form_content) |
{ |
345,7 → 348,7 |
echo_file ($dir_blacklist."ossi-wl/domains"); |
echo "</textarea></td>"; |
echo "</tr><tr><td colspan=10>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_record'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_record'>"; |
echo "</form> ($l_wait)"; |
echo "</td></tr></table><br/>"; |
?> |
375,7 → 378,7 |
echo "<H3>$l_add_file</H3>"; |
echo "$l_add_file_explain"; |
echo "<input type='file' name='fichier_ip'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_submit'>"; |
echo "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_submit'>"; |
echo "</td></tr>"; |
echo "</form>"; |
echo "</table><br/>"; |
391,7 → 394,7 |
<input type='checkbox' name='chk-safesearch' <?= $wl_safesearch == 'on' ? 'checked' : ''; ?>><?= $l_safe_searching; ?> |
</tr></td> |
<tr><td> |
<?= "<input type='submit' onClick=\"this.disabled=true; this.value='$l_load';submit();\" value='$l_record'>"; ?> |
<?= "<input type='submit' onClick=\"this.disabled=true; document.getElementById('ldoverlay').style.display='block'; this.value='$l_load';submit();\" value='$l_record'>"; ?> |
</td></tr></FORM> |
</TABLE> |
</BODY> |