| @@ -53,14 +53,8 @@ | ||
| 53 | 53 | |
| 54 | 54 | $ii = 0; |
| 55 | 55 | $count = count($children); |
| 56 | 56 | foreach( $children as $child ){ |
| 57 | - $dataPw = ''; | |
| 58 | - if( is_object($child) && method_exists($child, 'getAttr') ){ | |
| 59 | - $dataPw = $child->getAttr( 'data-pw' ); | |
| 60 | - if( is_array($dataPw) ) $dataPw = current( $dataPw ); | |
| 61 | - } | |
| 62 | - | |
| 63 | 57 | $child = '' . $child; |
| 64 | 58 | if( ! strlen($child) ){ |
| 65 | 59 | continue; |
| 66 | 60 | } |
| @@ -68,12 +62,8 @@ | ||
| 68 | 62 | $child = $this->htmlFactory->makeBlock( $child ) |
| 69 | 63 | // ->addAttr('class', 'hc-inline-block') |
| 70 | 64 | ->addAttr('class', 'hc-valign-' . $this->valign) |
| 71 | 65 | ; |
| 72 | - | |
| 73 | - if( $dataPw ){ | |
| 74 | - $child->addAttr( 'data-pw', $dataPw ); | |
| 75 | - } | |
| 76 | 66 | |
| 77 | 67 | if( $this->gutter && ($ii < ($count-1)) ){ |
| 78 | 68 | // $child->addAttr('class', 'hc-mr' . $this->gutter); |
| 79 | 69 | // $child->addAttr('class', 'hc-me' . $this->gutter); |