Welcome to Paster, Anonymous Friend!
Added by anonymous on 2008-07-31 16:58:43 Download/View
  1. <?php if ( ! empty($default['settings']['options'])): ?>
  2.                                                                         <?php foreach ($default['settings']['options'] as $index => $settings): ?>
  3.                                                                                 <li style="padding: 3px;">
  4.                                                                                         <?=uj_form::checkbox(
  5.                                                                                                 'settings[options][$index][attributes][selected]',
  6.                                                                                                 'selected', $settings['sttributes']['selected'])?>
  7.                                                                                         <?=uj_form::input(array(
  8.                                                                                                 'name' => "settings[options][$index][value]",
  9.                                                                                                 'style' => 'width: 45%;','class' => 'mid'), $settings['value'])?> =
  10.                                                                                         <?=uj_form::input(array(
  11.                                                                                                 'name' => "settings[options][$index][label]",
  12.                                                                                                 'style' => 'width: 45%;', 'class' => 'mid'), $settings['label'])?>
  13.                                                                                         <?=html::anchor(
  14.                                                                                                 'admin/forms/element_select_delete_option/'.$this->uri->segment(4).'/'.$index,
  15.                                                                                                 html::admin_image('delete_input.png', '-'),
  16.                                                                                                 array('class' => 'clear_input', 'title' => 'Delete Option'))?>
  17.                                                                                 </li>
  18.                                                                         <?php endforeach; ?>
  19.                                                                 <?php endif;
  20.