Line 57... |
Line 57... |
57 |
$l_wait="Une fois validées, 30 secondes sont nécessaires pour traiter vos modifications";
|
57 |
$l_wait="Une fois validées, 30 secondes sont nécessaires pour traiter vos modifications";
|
58 |
$l_ip_filtering="Filtrer les URLs contenant une adresse IP au lieu d'un nom de domaine (ex: http://25.56.58.59/index.htm)";
|
58 |
$l_ip_filtering="Filtrer les URLs contenant une adresse IP au lieu d'un nom de domaine (ex: http://25.56.58.59/index.htm)";
|
59 |
$l_safe_searching="Activer le contrôle scolaire/parental des moteurs de recherche : google, yahoo, bing, metacrawler et Youtube.";
|
59 |
$l_safe_searching="Activer le contrôle scolaire/parental des moteurs de recherche : google, yahoo, bing, metacrawler et Youtube.";
|
60 |
$l_safe_youtube="Pour Youtube, entrez votre identifiant ici : ";
|
60 |
$l_safe_youtube="Pour Youtube, entrez votre identifiant ici : ";
|
61 |
$l_youtube_id="(<a href='http://www.youtube.com/education_signup' target='cat_help' onclick=window.open('http://www.youtube.com/education_signup','cat_help','width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes') title='Youtube for school'>lien pour créer un identifiant Youtube (Id)</a>)";
|
61 |
$l_youtube_id="(<a href='http://www.youtube.com/education_signup' target='cat_help' onclick=window.open('http://www.youtube.com/education_signup','cat_help','width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes') title='Youtube for school'>lien pour créer un identifiant Youtube (Id)</a>)";
|
- |
|
62 |
$l_error_open_file="Erreur d'ouverture du fichier";
|
62 |
}
|
63 |
}
|
63 |
else {
|
64 |
else {
|
64 |
$l_title1="Domain names and URL filtering";
|
65 |
$l_title1="Domain names and URL filtering";
|
65 |
$l_dnsfilter_on="Actually, the Domain name and URL filter is on";
|
66 |
$l_dnsfilter_on="Actually, the Domain name and URL filter is on";
|
66 |
$l_dnsfilter_off="Actually, the Domain name and URL filter is off";
|
67 |
$l_dnsfilter_off="Actually, the Domain name and URL filter is off";
|
Line 97... |
Line 98... |
97 |
$l_wait="Once validated, 30 seconds is necessary to compute your modifications";
|
98 |
$l_wait="Once validated, 30 seconds is necessary to compute your modifications";
|
98 |
$l_ip_filtering="Filtering URLs that contain an IP address instead of a domain name (ie: http://25.56.58.59/index.htm)";
|
99 |
$l_ip_filtering="Filtering URLs that contain an IP address instead of a domain name (ie: http://25.56.58.59/index.htm)";
|
99 |
$l_safe_searching="Enabling school/parental control for the search engines google, yahoo, bing, metacrawler and Youtube.";
|
100 |
$l_safe_searching="Enabling school/parental control for the search engines google, yahoo, bing, metacrawler and Youtube.";
|
100 |
$l_safe_youtube="For Youtube, enter your ID here : ";
|
101 |
$l_safe_youtube="For Youtube, enter your ID here : ";
|
101 |
$l_youtube_id="(<a href='http://www.youtube.com/education_signup' target='cat_help' onclick=window.open('http://www.youtube.com/education_signup','cat_help','width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes') title='Youtube for school'>link to create a Youtube Id</a>)";
|
102 |
$l_youtube_id="(<a href='http://www.youtube.com/education_signup' target='cat_help' onclick=window.open('http://www.youtube.com/education_signup','cat_help','width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes') title='Youtube for school'>link to create a Youtube Id</a>)";
|
- |
|
103 |
$l_error_open_file="Error opening file";
|
102 |
}
|
104 |
}
|
103 |
$dir_etc="/usr/local/etc/";
|
105 |
$dir_etc="/usr/local/etc/";
|
104 |
$dir_dg="/etc/dansguardian/lists/";
|
106 |
$dir_dg="/etc/dansguardian/lists/";
|
105 |
$bl_categories=$dir_etc."alcasar-bl-categories";
|
107 |
$bl_categories=$dir_etc."alcasar-bl-categories";
|
106 |
$bl_categories_enabled=$dir_etc."alcasar-bl-categories-enabled";
|
108 |
$bl_categories_enabled=$dir_etc."alcasar-bl-categories-enabled";
|
Line 157... |
Line 159... |
157 |
if (strstr($key,'chk-'))
|
159 |
if (strstr($key,'chk-'))
|
158 |
{
|
160 |
{
|
159 |
$line=str_replace('chk-','',$key)."\n";
|
161 |
$line=str_replace('chk-','',$key)."\n";
|
160 |
fwrite($pointeur,$line);
|
162 |
fwrite($pointeur,$line);
|
161 |
}
|
163 |
}
|
- |
|
164 |
echo "$key<br/>";
|
162 |
}
|
165 |
}
|
163 |
fclose($pointeur);
|
166 |
fclose($pointeur);
|
164 |
}
|
167 |
}
|
165 |
else {echo "$l_error_open_file $bl_categories_enabled";}
|
168 |
else {echo "$l_error_open_file $bl_categories_enabled";}
|
166 |
$fichier=fopen($dir_dg."blacklists/ossi/domains","w+");
|
169 |
$fichier=fopen($dir_dg."blacklists/ossi/domains","w+");
|