Helper_Workshop::displayPositionEnd(); } } } echo '</ul>'; ?> </div> </div> <div class="width-30 <?php echo $bar; ?> active" id="seblod-sidebar"> <div class="seblod" id="seblod-sideblock"> <div class="fltlft seblod-toolbar"><?php Helper_Workshop::displayToolbar('search', $this->item->master, $this->item->client, $this->uix, ''); ?> </div> <?php if (count($this->fieldsAv)) { echo '<div class="legend top center">' . $this->lists['af_t'] . $this->lists['af_a'] . '<br />' . $this->lists['af_c'] . $this->lists['af_f'] . '</div>'; echo '<div id="scroll"><ul class="sortable connected" id="sortable2" myid="2">'; $style = array('1' => ' hide', '2' => ' hide', '3' => ' hide', '4' => ' hide', '5' => ' hide', '6' => ' hide'); foreach ($this->fieldsAv as $field) { $type_field = ''; if (isset($this->type_fields[$field->id])) { $type_field = ' c-' . $this->type_fields[$field->id]->cc; } JCck::callFunc_Array('plgCCK_Field' . $field->type, 'onCCK_FieldConstruct_Search' . $this->item->master, array(&$field, $style, $data)); Helper_Workshop::displayField($field, $type_field); }
foreach ($positions as $pos) { $this->setPosition($pos); } Helper_Workshop::displayPositionEnd($this->positions_nb); echo '</ul>'; ?> </div> </div> <div class="<?php echo $this->css['w30'] . ' ' . $bar; ?> active" id="seblod-sidebar"> <div class="seblod" id="seblod-sideblock"> <div class="fltlft seblod-toolbar"><?php Helper_Workshop::displayToolbar('type', $this->item->master, $this->item->client, $this->uix, $clone); ?> </div> <?php if (count($this->fieldsAv)) { echo '<div class="legend top center">' . $this->lists['af_f'] . $this->lists['af_c'] . '<br />' . $this->lists['af_t'] . $this->lists['af_a'] . '</div>'; echo '<div id="scroll"><ul class="sortable connected" id="sortable2" myid="2">'; $style = array('1' => ' hide', '2' => ' hide', '3' => ' hide', '4' => ' hide', '5' => ' hide', '6' => ' hide'); foreach ($this->fieldsAv as $field) { $type_field = ''; if (isset($this->type_fields[$field->id])) { $type_field = ' c-' . $this->type_fields[$field->id]->cc; } JCck::callFunc_Array('plgCCK_Field' . $field->type, 'onCCK_FieldConstruct_Type' . $this->item->master, array(&$field, $style, $data)); Helper_Workshop::displayField($field, $type_field); }