Fixed tabbing

This commit is contained in:
Sarven Capadisli 2010-01-12 01:29:09 +00:00 committed by Zach Copley
parent 5add05c503
commit c80652824a

View File

@ -69,7 +69,7 @@ class ApplicationList extends Widget
function show()
{
$this->out->elementStart('ul', array('id' => 'applications'));
$this->out->elementStart('ul', 'applications');
$cnt = 0;
@ -99,20 +99,16 @@ class ApplicationList extends Widget
}
if (!$this->connections) {
$this->out->elementStart('a',
array('href' =>
common_local_url('showapplication',
array('href' => common_local_url('showapplication',
array('nickname' => $user->nickname,
'id' => $this->application->id)),
'class' => 'url')
);
'class' => 'url'));
$this->out->raw($this->application->name);
$this->out->elementEnd('a');
} else {
$this->out->elementStart('a',
array('href' => $this->application->source_url,
$this->out->elementStart('a', array('href' => $this->application->source_url,
'class' => 'url'));
$this->out->raw($this->application->name);
@ -121,12 +117,8 @@ class ApplicationList extends Widget
$this->out->raw(' by ');
$this->out->elementStart('a',
array(
'href' => $this->application->homepage,
'class' => 'url'
)
);
$this->out->elementStart('a', array('href' => $this->application->homepage,
'class' => 'url'));
$this->out->raw($this->application->organization);
$this->out->elementEnd('a');
@ -134,10 +126,7 @@ class ApplicationList extends Widget
$this->out->raw($this->application->description);
$this->out->elementEnd('p');
$this->out->elementEnd('li');
if ($this->connections) {
$appUser = Oauth_application_user::getByKeys($this->owner, $this->application);
if (empty($appUser)) {