32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-10-31 19:02:30 +00:00

Use non-deprecated renderField method

This commit is contained in:
wilsonge 2019-08-17 12:54:15 +01:00
parent 571d84bb7e
commit f23e5402a7
No known key found for this signature in database
GPG Key ID: EF81319318FC9D04

View File

@ -49,8 +49,8 @@ $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=c
<div class="row-fluid"> <div class="row-fluid">
<div class="span9"> <div class="span9">
<div class="form-vertical"> <div class="form-vertical">
<?php echo $this->form->getControlGroup('url'); ?> <?php echo $this->form->renderField('url'); ?>
<?php echo $this->form->getControlGroup('description'); ?> <?php echo $this->form->renderField('description'); ?>
</div> </div>
</div> </div>
<div class="span3"> <div class="span3">
@ -62,9 +62,9 @@ $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=c
<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'images', JText::_('JGLOBAL_FIELDSET_IMAGE_OPTIONS', true)); ?> <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'images', JText::_('JGLOBAL_FIELDSET_IMAGE_OPTIONS', true)); ?>
<div class="row-fluid"> <div class="row-fluid">
<div class="span6"> <div class="span6">
<?php echo $this->form->getControlGroup('images'); ?> <?php echo $this->form->renderField('images'); ?>
<?php foreach ($this->form->getGroup('images') as $field) : ?> <?php foreach ($this->form->getGroup('images') as $field) : ?>
<?php echo $field->getControlGroup(); ?> <?php echo $field->renderField(); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</div> </div>