forked from qwerty/tupali
prueba de concepto de estadisticas en notas
This commit is contained in:
parent
a0de6d217f
commit
b17699f5a1
@ -137,6 +137,7 @@ if($tags !=''){
|
|||||||
|
|
||||||
|
|
||||||
$nube ="";
|
$nube ="";
|
||||||
|
$size = 8;
|
||||||
foreach($tags as $c=>$valor){
|
foreach($tags as $c=>$valor){
|
||||||
//foreach($wordCounter as $c=>$valor){
|
//foreach($wordCounter as $c=>$valor){
|
||||||
//$valor = $tags[0];
|
//$valor = $tags[0];
|
||||||
@ -161,11 +162,12 @@ foreach($tags as $c=>$valor){
|
|||||||
$limpios[] = $c;
|
$limpios[] = $c;
|
||||||
|
|
||||||
$cant = $wordCounter[$c];
|
$cant = $wordCounter[$c];
|
||||||
$size = ($cant/4);
|
|
||||||
$tag_adicional .= "<SPAN title='$cant' CLASS='badge label-warning' draggable='true' id='#$ht ' ondragstart=\"evdragstart(event,this)\">$c </span> " ;
|
$tag_adicional .= "<SPAN title='$cant' CLASS='badge label-warning' draggable='true' id='#$ht ' ondragstart=\"evdragstart(event,this)\">$c </span> " ;
|
||||||
|
|
||||||
$nube .= "<a href='#' title='$c $cant' style='font-size: $size"."vh' id='#$ht ' >$c</a> " ;
|
$nube .= "<a href='#' title='$c $cant' style='font-size: $size"."vh' id='#$ht ' >$c</a> " ;
|
||||||
}
|
}
|
||||||
|
$size= ($size - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$resultado = " $compuestos $tag_adicional ";
|
$resultado = " $compuestos $tag_adicional ";
|
||||||
|
Loading…
Reference in New Issue
Block a user