Skip to content

Commit

Permalink
Merge pull request #1 from zero-24/patch-8
Browse files Browse the repository at this point in the history
Just some very smal CS fixes.
  • Loading branch information
laoneo committed Aug 26, 2015
2 parents 3307a04 + 5b60bb6 commit 72f7ac4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/com_content/views/form/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

// This checks if the editor config options have ever been saved. If they haven't they will fall back to the original settings.
$editoroptions = isset($params->show_publishing_options);

if (!$editoroptions)
{
$params->show_urls_images_frontend = '0';
Expand Down Expand Up @@ -70,8 +71,8 @@
<?php if ($params->get('show_urls_images_frontend') ) : ?>
<li><a href="#images" data-toggle="tab"><?php echo JText::_('COM_CONTENT_IMAGES_AND_URLS') ?></a></li>
<?php endif; ?>
<?php foreach ($this->form->getFieldsets('params') as $name => $fieldSet) :?>
<li><a href="#params-<?php echo $name;?>" data-toggle="tab"><?php echo JText::_($fieldSet->label);?></a></li>
<?php foreach ($this->form->getFieldsets('params') as $name => $fieldSet) : ?>
<li><a href="#params-<?php echo $name; ?>" data-toggle="tab"><?php echo JText::_($fieldSet->label); ?></a></li>
<?php endforeach; ?>
<li><a href="#publishing" data-toggle="tab"><?php echo JText::_('COM_CONTENT_PUBLISHING') ?></a></li>
<li><a href="#language" data-toggle="tab"><?php echo JText::_('JFIELD_LANGUAGE_LABEL') ?></a></li>
Expand Down Expand Up @@ -122,7 +123,7 @@
</div>
<?php endif; ?>
<?php foreach ($this->form->getFieldsets('params') as $name => $fieldSet) : ?>
<div class="tab-pane" id="params-<?php echo $name;?>">
<div class="tab-pane" id="params-<?php echo $name; ?>">
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
Expand Down

0 comments on commit 72f7ac4

Please sign in to comment.