Line 26... |
Line 26... |
26 |
<FORM action='dns_filter.php' method=POST>
|
26 |
<FORM action='dns_filter.php' method=POST>
|
27 |
<?php
|
27 |
<?php
|
28 |
echo "<center>$l_bl_version";
|
28 |
echo "<center>$l_bl_version";
|
29 |
echo date ("F d Y", filemtime ('/etc/dansguardian/lists/blacklists/README'));
|
29 |
echo date ("F d Y", filemtime ('/etc/dansguardian/lists/blacklists/README'));
|
30 |
echo "</center><BR>";
|
30 |
echo "</center><BR>";
|
31 |
$dir_tmp="/tmp/blacklists";
|
- |
|
32 |
if ((file_exists("$dir_tmp/blacklists.tar.gz")) && (file_exists("$dir_tmp/md5sum")))
|
31 |
if ((file_exists("$dir_tmp/blacklists.tar.gz")) && (file_exists("$dir_tmp/md5sum")))
|
33 |
{
|
32 |
{
|
34 |
echo "$l_fingerprint"; echo_file ("$dir_tmp/md5sum");
|
33 |
echo "$l_fingerprint"; echo_file ("$dir_tmp/md5sum");
|
35 |
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>";
|
34 |
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>";
|
36 |
echo "<input type='hidden' name='choix' value='Active_bl'>";
|
35 |
echo "<input type='hidden' name='choix' value='Active_bl'>";
|
37 |
echo "<input type='submit' value='$l_activate_bl'>";
|
36 |
echo "<input type='submit' value='$l_activate_bl'> ($l_warning)</FORM>";
|
38 |
echo " ($l_warning)";
|
37 |
echo "<FORM action='dns_filter.php' method=POST>";
|
- |
|
38 |
echo "<input type='hidden' name='choix' value='Reject_bl'>";
|
- |
|
39 |
echo "<input type='submit' value='$l_reject_bl'></form>";
|
39 |
}
|
40 |
}
|
40 |
else
|
41 |
else
|
41 |
{
|
42 |
{
|
42 |
echo "<input type='hidden' name='choix' value='Download_bl'>";
|
43 |
echo "<input type='hidden' name='choix' value='Download_bl'>";
|
43 |
echo "<input type='submit' value='$l_download_bl'>";
|
44 |
echo "<input type='submit' value='$l_download_bl'>";
|
Line 168... |
Line 169... |
168 |
else {
|
169 |
else {
|
169 |
echo "$l_error_open_file $urlregex_file";
|
170 |
echo "$l_error_open_file $urlregex_file";
|
170 |
}
|
171 |
}
|
171 |
echo "> $l_safe_searching";
|
172 |
echo "> $l_safe_searching";
|
172 |
echo "<br>$l_safe_youtube";
|
173 |
echo "<br>$l_safe_youtube";
|
- |
|
174 |
echo "<input type='text' name='Youtube_ID' size='30' value='";
|
- |
|
175 |
if ($YOUTUBE_ID == "ABCD1234567890abcdef") // generic ID (do nothing)
|
- |
|
176 |
{
|
- |
|
177 |
echo "'>";
|
- |
|
178 |
}
|
- |
|
179 |
else {
|
- |
|
180 |
echo "$YOUTUBE_ID'>";
|
- |
|
181 |
}
|
- |
|
182 |
echo " $l_youtube_id<tr><td>";
|
- |
|
183 |
echo "<input type='submit' value='$l_record'>";
|
173 |
?>
|
184 |
?>
|
174 |
<input type='text' name='Youtube-ID' size='30'>
|
- |
|
175 |
<tr><td>
|
- |
|
176 |
<input type='submit' value='<?php echo "$l_record"?>'>
|
- |
|
177 |
</form>
|
185 |
</form>
|
178 |
</td></tr>
|
186 |
</td></tr>
|
179 |
</TABLE>
|
187 |
</TABLE>
|