Updated markup for application registration and view links

This commit is contained in:
Sarven Capadisli 2010-01-11 22:54:46 +00:00 committed by Zach Copley
parent c6bdbd478b
commit 28329bd2b3
2 changed files with 9 additions and 6 deletions

View File

@ -114,13 +114,16 @@ class AppsAction extends SettingsAction
}
}
$this->elementStart('p', array('id' => 'application_register'));
$this->element('a',
array('href' => common_local_url(
'newapplication',
array('nickname' => $user->nickname)
)
),
'class' => 'more'
),
'Register a new application »');
'Register a new application');
$this->elementEnd('p');
$this->pagination(
$this->page > 1,

View File

@ -249,16 +249,16 @@ class ShowApplicationAction extends OwnerDesignAction
$this->elementEnd('div');
$this->elementStart('div', 'entity-list-apps');
$this->elementStart('p', array('id' => 'application_action'));
$this->element('a',
array(
'href' => common_local_url(
'apps',
array('nickname' => $this->owner->nickname)
)
array('nickname' => $this->owner->nickname)),
'class' => 'more'
),
'View your applications');
$this->elementEnd('div');
$this->elementEnd('p');
}
function resetKey()