</td> <?php } ?> </tr> </table> <?php if (config::item('devmode', 'system') == 2) { ?> <?php echo form_helper::text($permission['keyword'] . '___order', $permission['order_id'], array('class' => 'text', 'style' => 'width:25px;position:absolute;right:-55px;top:0;')); ?> <?php echo form_helper::text($permission['keyword'] . '___key', $permission['keyword'], array('class' => 'text', 'style' => 'width:130px;position:absolute;right:-200px;top:0;')); ?> <?php } ?> </div> </div> <?php } ?> <div class="row actions"> <?php view::load('system/elements/button');
?> </label> <?php } ?> </div> <?php break; ?> <?php default: ?> <?php echo form_helper::text($name, form_helper::setValue($name, isset($value[$name]) ? $value[$name] : ''), array('class' => 'text input-xlarge', 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'id' => $id)); ?> <?php break; ?> <?php } ?> <?php if (isset($errors) && $errors && (!isset($error) || $error)) { ?> <?php echo form_helper::error($name); }
if (isset($hidden['style'])) { ?> <?php echo form_helper::hidden('style', isset($field['style']) ? $field['style'] : $hidden['style'], array('id' => 'input_edit_system_field_style')); ?> <?php } else { ?> <div class="row" id="input_row_system_field_style"> <label for="input_edit_system_field_style"><?php echo __('style', 'system_fields'); ?> </label> <div class="field"> <?php echo form_helper::text('style', form_helper::setValue('style', isset($field['style']) ? $field['style'] : ''), array('class' => 'text input-xlarge', 'id' => 'input_edit_system_field_style')); ?> <?php echo form_helper::error('style'); ?> </div> </div> <?php } ?> <div class="row actions"> <?php view::load('system/elements/button'); ?> </div>
public function getCaptcha($name = '') { $str = form_helper::text($name, '', array('class' => 'text captcha basic')); $str .= $this->captcha->create(); return $str; }
?> </label> <div class="field" <?php echo config::item('devmode', 'system') == 2 ? 'style="position:relative"' : ''; ?> > <div class="input-wrap"> <?php echo form_helper::text($group . '_' . $keyword, form_helper::setValue($group . '_' . $keyword, isset($value) ? $value : ''), array('class' => 'text input-wide ' . (uri::segment(6) == 'english' || isset($default[$section][$group][$type][$keyword]) && utf8::strcasecmp($default[$section][$group][$type][$keyword], $value) ? 'translated' : 'untranslated'), 'id' => 'input_edit_' . $group . '_' . $keyword)); ?> <?php if (config::item('devmode', 'system') == 2) { ?> <?php echo form_helper::text($group . '_' . $keyword . '___key', $keyword, array('class' => 'text', 'style' => 'width:130px;position:absolute;right:-160px;top:0;')); ?> <?php } ?> </div> <?php if (form_helper::error($group . '_' . $keyword)) { ?> <?php echo form_helper::error($group . '_' . $keyword); ?> <script type="text/javascript"> if ( typeof(current) == 'undefined' ) {
break; ?> <?php default: ?> <?php if (!isset($wrap) || $wrap) { ?> <div class="input-wrap"> <?php } ?> <?php echo form_helper::text($name, form_helper::setValue($name, isset($value[$name]) ? $value[$name] : ''), array('class' => 'text ' . (isset($field['class']) && $field['class'] ? $field['class'] : 'input-wide'), 'id' => $id, 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'placeholder' => isset($field['placeholder']) && $field['placeholder'] ? $field['placeholder'] : '', 'maxlength' => isset($field['config']['max_length']) && $field['config']['max_length'] ? $field['config']['max_length'] : (isset($field['max_length']) && $field['max_length'] ? $field['max_length'] : '255'))); ?> <?php if (!isset($wrap) || $wrap) { ?> </div> <?php } ?> <?php break; ?> <?php } ?>