Permalink
Browse files

code quality

  • Loading branch information...
1 parent d23e36f commit fbfc4f7cda9a35b1dbe8e01fbfb2b136b78152ee @infograf768 infograf768 committed Jan 26, 2013
@@ -209,7 +209,7 @@
<?php else : ?>
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS_NOTE', $this->escape($item->alias), $this->escape($item->note));?>
<?php endif; ?>
- <?php elseif($item->type == 'url' && $item->note) : ?>
+ <?php elseif ($item->type == 'url' && $item->note) : ?>
<?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note));?>
<?php endif; ?>
</span>
@@ -29,7 +29,7 @@ public static function getPluralSuffixes($count)
{
$return = array('0');
}
- elseif($count == 1)
+ elseif ($count == 1)
{
$return = array('1');
}
@@ -164,7 +164,7 @@
<?php else : ?>
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS_NOTE', $this->escape($item->alias), $this->escape($item->note));?>
<?php endif; ?>
- <?php elseif($item->type == 'url' && $item->note) : ?>
+ <?php elseif ($item->type == 'url' && $item->note) : ?>
<?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note));?>
<?php endif; ?></p>
</td>
@@ -28,7 +28,7 @@ public function __construct($config = array())
$config['base_path'] = JPATH_COMPONENT_ADMINISTRATOR;
}
// Article frontpage Editor article proxying:
- elseif($this->input->get('view') === 'articles' && $this->input->get('layout') === 'modal')
+ elseif ($this->input->get('view') === 'articles' && $this->input->get('layout') === 'modal')
{
JHtml::_('stylesheet', 'system/adminlist.css', array(), true);
$config['base_path'] = JPATH_COMPONENT_ADMINISTRATOR;
@@ -74,7 +74,7 @@ public function display($tpl = null)
{
$item->authorEmail = $siteEmail;
}
- elseif($feedEmail === 'author')
+ elseif ($feedEmail === 'author')
{
$item->authorEmail = $row->author_email;
}
@@ -79,7 +79,7 @@ public function onUserAfterSave($user, $isnew, $success, $msg)
{
$contact->load($id);
}
- elseif($this->params->get('autopublish', 0))
+ elseif ($this->params->get('autopublish', 0))
{
$contact->published = 1;
}

0 comments on commit fbfc4f7

Please sign in to comment.