Mejoras menores

prueba de css
parent 9fd5d2e2
......@@ -244,8 +244,10 @@ class CampaniaApiController extends ApiController {
if($fila == 0){
$html = '<div class="row" id="'.$contenidoHead->getCcoFila().'">';
}else if($fila != $contenidoHead->getCcoFila()){
$fila = $contenidoHead->getCcoColumna();
$fila = $contenidoHead->getCcoFila();
$html = "</div><div class='row' id='".$contenidoHead->getCcoFila()."'>";
}else{
$log->debug("son iguales las filas...");
}
$szerContenidoHead = new szerHeadContenido();
$szerContenidoHead->setId($contenidoHead->getCcoId());
......@@ -257,7 +259,6 @@ class CampaniaApiController extends ApiController {
$html = $html. $this->htmlTypeAnalizer($contenidoHead, $template);
$szerContenidoHead->setContenido($html);
$arrayHeadContenido[$indice] = $szerContenidoHead;
$indice++;
......@@ -296,9 +297,12 @@ class CampaniaApiController extends ApiController {
if($fila == 0){
$html = '<div class="row" id="'.$contenidoBody->getCcoFila().'">';
}else if($fila != $contenidoBody->getCcoFila()){
$fila = $contenidoBody->getCcoColumna();
$fila = $contenidoBody->getCcoFila();
$html = "</div><div class='row' id='".$contenidoBody->getCcoFila()."'>";
}else{
$log->debug("son iguales las filas...");
}
$szerContenidoBody = new szerBodyContenido();
$szerContenidoBody->setId($contenidoBody->getCcoId());
$szerContenidoBody->setFila($contenidoBody->getCcoFila());
......@@ -349,9 +353,12 @@ class CampaniaApiController extends ApiController {
if($fila == 0){
$html = '<div class="row" id="'.$contenidoFooter->getCcoFila().'">';
}else if($fila != $contenidoFooter->getCcoFila()){
$fila = $contenidoFooter->getCcoColumna();
$fila = $contenidoFooter->getCcoFila();
$html = "</div><div class='row' id='".$contenidoFooter->getCcoFila()."'>";
}else{
$log->debug("son iguales las filas...");
}
$szerContenidoFooter = new szerFooterContenido();
$szerContenidoFooter->setId($contenidoFooter->getCcoId());
$szerContenidoFooter->setFila($contenidoFooter->getCcoFila());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment