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 4fb9b43aa2
commit 61f71a4a59
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', $this->element('a',
array('href' => common_local_url( array('href' => common_local_url(
'newapplication', 'newapplication',
array('nickname' => $user->nickname) array('nickname' => $user->nickname)
) ),
'class' => 'more'
), ),
'Register a new application »'); 'Register a new application');
$this->elementEnd('p');
$this->pagination( $this->pagination(
$this->page > 1, $this->page > 1,

View File

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