#10 - Completo

This commit is contained in:
2022-09-25 21:21:42 +02:00
parent e2fb0d6d89
commit 93bb9b2610
13 changed files with 304 additions and 113 deletions
+8 -1
View File
@@ -128,6 +128,13 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
<div style="margin-top:32vw;width:100vw;margin-left:auto;margin-right:auto;" itemscope itemtype="http://schema.org/Article">
<?php
$categoryName = NotiziaModel::$NOTIZIE_CATEGORY[$articolo->category]["label"];
if ($articolo->category == NotiziaModel::CATEGORY_VARIE) {
if ( GlobalVariables::get("cfg")->hasValue(SimpleConfig::VARIE_LABEL) ) {
$categoryName = GlobalVariables::get("cfg")->getValue(SimpleConfig::VARIE_LABEL);
}
}
GUIHandlerMobile::generateHeadPublic();
GUIHandlerMobile::generateMenu();
?>
@@ -141,7 +148,7 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
</div>
</div>
<div class="articoloCategoryName" style="color:white;background-color:<?php echo NotiziaModel::$NOTIZIE_CATEGORY[$articolo->category]["color"] ?>;">
<span itemprop="articleSection"><?php echo strtoupper(NotiziaModel::$NOTIZIE_CATEGORY[$articolo->category]["label"]);?></span>
<span itemprop="articleSection"><?php echo strtoupper($categoryName);?></span>
</div>
<div class="headArticolo">
<div class="newsImage" >