@@ -54,37 +54,37 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | ?> <?php switch ($section->get('type')) { |
57 | - case 'shorttext': |
|
58 | - if (!array_key_exists($section->get('id'), $context->error) and !empty($test) and $test != 'shorttext') { |
|
59 | - echo '</fieldset>'; |
|
60 | - } |
|
61 | - if ($test != 'shorttext') { |
|
62 | - echo '<fieldset>'; |
|
63 | - } |
|
64 | - include 'section/shorttext.tpl.php'; |
|
65 | - break; |
|
66 | - case 'longtext': |
|
67 | - if (!array_key_exists($section->get('id'), $error) and !empty($test) and $test != 'longtext') { |
|
68 | - echo '</fieldset>'; |
|
69 | - } |
|
70 | - if ($test != 'longtext') { |
|
71 | - echo '<fieldset>'; |
|
72 | - } |
|
73 | - include 'section/longtext.tpl.php'; |
|
74 | - break; |
|
75 | - case 'picture': |
|
76 | - if (!array_key_exists($section->get('id'), $error) and !empty($test)) { |
|
77 | - echo '</fieldset>'; |
|
78 | - } |
|
79 | - include 'section/picture.tpl.php'; |
|
80 | - break; |
|
81 | - case 'mixed': |
|
82 | - if (!array_key_exists($section->get('id'), $error)) { |
|
83 | - echo '</fieldset>'; |
|
84 | - } |
|
85 | - include 'section/mixed.tpl.php'; |
|
86 | - break; |
|
87 | - ?> <?php |
|
57 | + case 'shorttext': |
|
58 | + if (!array_key_exists($section->get('id'), $context->error) and !empty($test) and $test != 'shorttext') { |
|
59 | + echo '</fieldset>'; |
|
60 | + } |
|
61 | + if ($test != 'shorttext') { |
|
62 | + echo '<fieldset>'; |
|
63 | + } |
|
64 | + include 'section/shorttext.tpl.php'; |
|
65 | + break; |
|
66 | + case 'longtext': |
|
67 | + if (!array_key_exists($section->get('id'), $error) and !empty($test) and $test != 'longtext') { |
|
68 | + echo '</fieldset>'; |
|
69 | + } |
|
70 | + if ($test != 'longtext') { |
|
71 | + echo '<fieldset>'; |
|
72 | + } |
|
73 | + include 'section/longtext.tpl.php'; |
|
74 | + break; |
|
75 | + case 'picture': |
|
76 | + if (!array_key_exists($section->get('id'), $error) and !empty($test)) { |
|
77 | + echo '</fieldset>'; |
|
78 | + } |
|
79 | + include 'section/picture.tpl.php'; |
|
80 | + break; |
|
81 | + case 'mixed': |
|
82 | + if (!array_key_exists($section->get('id'), $error)) { |
|
83 | + echo '</fieldset>'; |
|
84 | + } |
|
85 | + include 'section/mixed.tpl.php'; |
|
86 | + break; |
|
87 | + ?> <?php |
|
88 | 88 | } |
89 | 89 | $test = $section->get('type'); |
90 | 90 |