@@ 119-134 (lines=16) @@ | ||
116 | ||
117 | $attribs = ''; |
|
118 | ||
119 | if (isset($options['list.attr'])) |
|
120 | { |
|
121 | if (is_array($options['list.attr'])) |
|
122 | { |
|
123 | $attribs = ArrayHelper::toString($options['list.attr']); |
|
124 | } |
|
125 | else |
|
126 | { |
|
127 | $attribs = $options['list.attr']; |
|
128 | } |
|
129 | ||
130 | if ($attribs != '') |
|
131 | { |
|
132 | $attribs = ' ' . $attribs; |
|
133 | } |
|
134 | } |
|
135 | ||
136 | $id = $options['id'] !== false ? $options['id'] : $name; |
|
137 | $id = str_replace(array('[', ']'), '', $id); |
|
@@ 194-209 (lines=16) @@ | ||
191 | ||
192 | $attribs = ''; |
|
193 | ||
194 | if (isset($options['list.attr'])) |
|
195 | { |
|
196 | if (is_array($options['list.attr'])) |
|
197 | { |
|
198 | $attribs = ArrayHelper::toString($options['list.attr']); |
|
199 | } |
|
200 | else |
|
201 | { |
|
202 | $attribs = $options['list.attr']; |
|
203 | } |
|
204 | ||
205 | if ($attribs != '') |
|
206 | { |
|
207 | $attribs = ' ' . $attribs; |
|
208 | } |
|
209 | } |
|
210 | ||
211 | $id = $options['id'] !== false ? $options['id'] : $name; |
|
212 | $id = str_replace(array('[', ']'), '', $id); |