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