add a menu to subs
darcs-hash:20081211180622-5ed1f-ab61ae0e19506b9686cd560ff262d29a6d0ac267.gz
This commit is contained in:
parent
a0d85c93bc
commit
fb837b86c5
|
@ -119,6 +119,25 @@ class GalleryAction extends Action {
|
||||||
function show_top($profile) {
|
function show_top($profile) {
|
||||||
common_element('div', 'instructions',
|
common_element('div', 'instructions',
|
||||||
$this->get_instructions($profile));
|
$this->get_instructions($profile));
|
||||||
|
$this->show_menu();
|
||||||
|
}
|
||||||
|
|
||||||
|
function show_menu() {
|
||||||
|
# action => array('prompt', 'title', $args)
|
||||||
|
$action = $this->trimmed('action');
|
||||||
|
$nickname = $this->trimmed('nickname');
|
||||||
|
$menu =
|
||||||
|
array('subscriptions' =>
|
||||||
|
array(
|
||||||
|
_('Subscribers'),
|
||||||
|
_('Subscribers'),
|
||||||
|
array('nickname' => $nickname)),
|
||||||
|
'subscribers' =>
|
||||||
|
array( _('Subscriptions'),
|
||||||
|
_('Subscriptions'),
|
||||||
|
array('nickname' => $nickname)),
|
||||||
|
);
|
||||||
|
$this->nav_menu($menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_gallery($profile, $page, $display='list', $tag=NULL) {
|
function show_gallery($profile, $page, $display='list', $tag=NULL) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user