Add billing section to main menu
This commit is contained in:
parent
497841225b
commit
5d0ea2d015
|
@ -59,7 +59,7 @@ $ccAcl->allow('G', 'index')
|
|||
->allow('A', 'user')
|
||||
->allow('A', 'systemstatus')
|
||||
->allow('A', 'preference')
|
||||
->allow('A', 'billing');
|
||||
->allow('S', 'billing');
|
||||
|
||||
|
||||
$aclPlugin = new Zend_Controller_Plugin_Acl($ccAcl);
|
||||
|
|
|
@ -134,6 +134,34 @@ $pages = array(
|
|||
'resource' => 'dashboard'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'label' => _('Billing'),
|
||||
'uri' => '#',
|
||||
'resource' => 'billing',
|
||||
'pages' => array(
|
||||
array(
|
||||
'label' => _('Account Details'),
|
||||
'module' => 'default',
|
||||
'controller' => 'billing',
|
||||
'action' => 'client',
|
||||
'resource' => 'billing'
|
||||
),
|
||||
array(
|
||||
'label' => _('Account Plans'),
|
||||
'module' => 'default',
|
||||
'controller' => 'billing',
|
||||
'action' => 'upgrade',
|
||||
'resource' => 'billing'
|
||||
),
|
||||
array(
|
||||
'label' => _('View Invocices'),
|
||||
'module' => 'default',
|
||||
'controller' => 'billing',
|
||||
'action' => 'invoices',
|
||||
'resource' => 'billing'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<div class="personal-block solo">
|
||||
<ul>
|
||||
<li>
|
||||
<span class="trial-box-button"><a title="Billing" href=<?php echo $baseUrl . 'billing/upgrade'?>>Upgrade</a></span>
|
||||
<!-- <span class="trial-box-button"><a title="Billing" href=<?php echo $baseUrl . 'billing/upgrade'?>>Upgrade</a></span> -->
|
||||
<a id="current-user" href=<?php echo $baseUrl . "User/edit-user"?>><span class="name"><?php echo $this->escape($this->loggedInAs()); ?></span></a>
|
||||
| <a href=<?php echo $baseUrl . "Login/logout"?>><?php echo _("Logout")?></a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue