
';
$tmp->body = $mailHead."Un nuovo commento è stato inserito su I Fatti di Napoli ed è in attesa di essere accettato.
";
$tmp->body.= "Verifica i contenuti del commento utilizzando il link di seguito.
";
diff --git a/app/private/lib/gui/GUIHandler.php b/app/private/lib/gui/GUIHandler.php
index 5ce745d..3dfa75c 100644
--- a/app/private/lib/gui/GUIHandler.php
+++ b/app/private/lib/gui/GUIHandler.php
@@ -57,7 +57,7 @@ class GUIHandler {
}
echo "
\n";
echo '
'."\n";
- echo '
'."\n";
+ echo '
'."\n";
echo '
'."\n";
echo '
'."\n";
if (array_key_exists("additionalMetadata", $data) && is_array($data["additionalMetadata"]) && sizeof($data["additionalMetadata"])>0){
@@ -215,7 +215,7 @@ class GUIHandler {
-
+
@@ -348,7 +348,7 @@ class GUIHandler {
?>
TESTATA REGISTRATA PRESSO IL TRIBUNALE DI NAPOLI AUT. NR. 8 DEL 27 GENNAIO 2006
-
+
@@ -358,22 +358,22 @@ class GUIHandler {
public static function getFacebookShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
- return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
}
public static function getTwitterShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."articolo.php?id=".$notizia->id;
- return 'window.open("http://twitter.com/home?source=ifdn&status="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://twitter.com/home?source=ifdn&status="+encodeURIComponent("'.$url.'"))';
}
public static function getGooglePlusShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
- return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
}
public static function getLinkedinShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
- return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
}
diff --git a/app/private/lib/gui/GUIHandlerMobile.php b/app/private/lib/gui/GUIHandlerMobile.php
index 97d2ac8..1404613 100644
--- a/app/private/lib/gui/GUIHandlerMobile.php
+++ b/app/private/lib/gui/GUIHandlerMobile.php
@@ -56,7 +56,7 @@ class GUIHandlerMobile {
}
echo "
\n";
echo '
'."\n";
- echo '
'."\n";
+ echo '
'."\n";
echo '
'."\n";
echo '
'."\n";
if (array_key_exists("additionalMetadata", $data) && is_array($data["additionalMetadata"]) && sizeof($data["additionalMetadata"])>0){
@@ -199,7 +199,7 @@ class GUIHandlerMobile {
-
+

@@ -379,22 +379,22 @@ class GUIHandlerMobile {
public static function getFacebookShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
- return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
}
public static function getTwitterShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."articolo.php?id=".$notizia->id;
- return 'window.open("http://twitter.com/home?source=ifdn&status="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://twitter.com/home?source=ifdn&status="+encodeURIComponent("'.$url.'"))';
}
public static function getGooglePlusShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
- return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
}
public static function getLinkedinShareFunction(NotiziaModel $notizia){
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
- return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
+ return 'window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
}
diff --git a/app/private/lib/gui/HTMLHelper.php b/app/private/lib/gui/HTMLHelper.php
index f632ef8..c67c67c 100644
--- a/app/private/lib/gui/HTMLHelper.php
+++ b/app/private/lib/gui/HTMLHelper.php
@@ -40,12 +40,12 @@ class HTMLHelper {
$cont = file_get_contents($config->files->meteoCache);
$json = json_decode($cont);
- $todayImgUrl = " http://openweathermap.org/img/w/".$json->list[0]->weather[0]->icon.".png";
+ $todayImgUrl = " https://openweathermap.org/img/w/".$json->list[0]->weather[0]->icon.".png";
$todayTemp = $json->list[0]->main->temp;
$todayMax = $json->list[0]->main->temp_max;
$todayMin = $json->list[0]->main->temp_min;
- $tomorrowImgUrl = " http://openweathermap.org/img/w/".$json->list[1]->weather[0]->icon.".png";
+ $tomorrowImgUrl = " https://openweathermap.org/img/w/".$json->list[1]->weather[0]->icon.".png";
$tomorrowTemp = $json->list[1]->main->temp;
$tomorrowMax = $json->list[1]->main->temp_max;
$tomorrowMin = $json->list[1]->main->temp_min;
diff --git a/app/public/admin/editNewsletter.php b/app/public/admin/editNewsletter.php
index 52bc5c7..1b7f540 100644
--- a/app/public/admin/editNewsletter.php
+++ b/app/public/admin/editNewsletter.php
@@ -72,15 +72,15 @@ try {
$mailBody = $mail->body;
if (strcmp($mailBody, "")==0){
- $mailBody = '
Testo di prova
'.
+ $mailBody = '
Testo di prova
'.
'
TESTATA REGISTRATA PRESSO IL TRIBUNALE DI NAPOLI AUT. NR. 8 DEL 27 GENNAIO 2006
-
+
';
}
diff --git a/app/public/mobile/articolo.php b/app/public/mobile/articolo.php
index a0f0c8a..6a730ef 100644
--- a/app/public/mobile/articolo.php
+++ b/app/public/mobile/articolo.php
@@ -125,7 +125,7 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
-->
-
+
category]["label"];
@@ -219,9 +219,9 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
$twitterCutTitle = substr($twitterCutTitle, 0, 92) . "...";
}
?>
-
-
">
-
+
+
">
+
@@ -324,7 +324,7 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
-
+
diff --git a/app/public/mobile/redazione.php b/app/public/mobile/redazione.php
index 07d9924..d34b2b9 100644
--- a/app/public/mobile/redazione.php
+++ b/app/public/mobile/redazione.php
@@ -31,7 +31,7 @@ try {
GERENZA

-
+
Direttore Responsabile
Antonio Pianelli
diff --git a/app/public/oldArticleRedirect.php b/app/public/oldArticleRedirect.php
index 2be010d..08e0397 100644
--- a/app/public/oldArticleRedirect.php
+++ b/app/public/oldArticleRedirect.php
@@ -12,7 +12,7 @@ if (array_key_exists("id", $_GET)){
if (!is_null($notizia)){
Header( "HTTP/1.1 301 Moved Permanently" );
- Header( "Location: http://www.ifattidinapoli.it/articolo.php?id=".$notizia->id );
+ Header( "Location: https://www.ifattidinapoli.it/articolo.php?id=".$notizia->id );
// GUIHandler::redirect("articolo.php?id=".$notizia->id);
}
diff --git a/app/public/redazione.php b/app/public/redazione.php
index 1ca61a2..7e363ae 100644
--- a/app/public/redazione.php
+++ b/app/public/redazione.php
@@ -32,7 +32,7 @@ try {
GERENZA

-
+
Direttore Responsabile
Antonio Pianelli
diff --git a/app/public/robots.txt b/app/public/robots.txt
index bbea8cd..56ed601 100644
--- a/app/public/robots.txt
+++ b/app/public/robots.txt
@@ -3,4 +3,4 @@ Disallow: /admin/
Disallow: /stats/
Disallow: /mobile/stats/
Disallow: /getBanner.php
-Sitemap: http://www.ifattidinapoli.it/sitemap.xml
\ No newline at end of file
+Sitemap: https://www.ifattidinapoli.it/sitemap.xml
\ No newline at end of file
diff --git a/cicd/environments/production/webserver.env b/cicd/environments/production/webserver.env
index 53cf3b7..07cb71b 100644
--- a/cicd/environments/production/webserver.env
+++ b/cicd/environments/production/webserver.env
@@ -4,4 +4,4 @@ DDNINJA_IS_PRODUCTION=true
DDNINJA_MONGO_DBNAME=fdn2
DDNINJA_MONGO_LOCATION=mongo
-DDNINJA_PUBLIC_URL=http://www.ifattidinapoli.it
+DDNINJA_PUBLIC_URL=https://www.ifattidinapoli.it
diff --git a/cicd/environments/production/worker.env b/cicd/environments/production/worker.env
index 53cf3b7..07cb71b 100644
--- a/cicd/environments/production/worker.env
+++ b/cicd/environments/production/worker.env
@@ -4,4 +4,4 @@ DDNINJA_IS_PRODUCTION=true
DDNINJA_MONGO_DBNAME=fdn2
DDNINJA_MONGO_LOCATION=mongo
-DDNINJA_PUBLIC_URL=http://www.ifattidinapoli.it
+DDNINJA_PUBLIC_URL=https://www.ifattidinapoli.it
diff --git a/docs/tech/.htaccess b/docs/tech/.htaccess
index ddbc0cd..b65dfd7 100644
--- a/docs/tech/.htaccess
+++ b/docs/tech/.htaccess
@@ -1,4 +1,4 @@
###############
RewriteEngine On
-RewriteRule ^(.*)$ http://www.ifattidinapoli.com/fdn2/$1 [P,L]
+RewriteRule ^(.*)$ https://www.ifattidinapoli.com/fdn2/$1 [P,L]
###############
\ No newline at end of file