-
This commit is contained in:
parent
0e3b511721
commit
6ebb6d7c83
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,7 @@ echo "<div class='current'>";
|
||||||
echo "<img src=\"data:image/x-icon;base64,{$currentHit->getFeatureImgAsString("brows")}\" title=\"{$currentHit->getId()}\">";
|
echo "<img src=\"data:image/x-icon;base64,{$currentHit->getFeatureImgAsString("brows")}\" title=\"{$currentHit->getId()}\">";
|
||||||
echo "<dl>";
|
echo "<dl>";
|
||||||
foreach(EmotionHero\Models\Emotions::$EMOTIONS as $emotion) {
|
foreach(EmotionHero\Models\Emotions::$EMOTIONS as $emotion) {
|
||||||
echo "<dt>$emotion</dt><dd>" . sprintf("$.2f", $currentHit->getEmotions()->getEmotionScore($emotion)) . "</dd>";
|
echo "<dt>$emotion</dt><dd>" . sprintf("%.2f %%", $currentHit->getEmotions()->getEmotionScore($emotion)) . "</dd>";
|
||||||
}
|
}
|
||||||
echo "</dl>";
|
echo "</dl>";
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
@ -163,6 +163,8 @@ echo <<< EOSVG
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
EOSVG;
|
EOSVG;
|
||||||
|
|
||||||
|
print_r($currentHit->getPoints()->getAsArray());
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue