forked from qwerty/tupali
prueba de concepto de estadisticas en notas
This commit is contained in:
parent
b17699f5a1
commit
f5f6c110cb
@ -137,8 +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];
|
||||||
|
|
||||||
@ -162,12 +161,11 @@ $size = 8;
|
|||||||
$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