Skip to content

Commit

Permalink
cleaning up some things
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed May 19, 2010
1 parent 368628e commit e9822fd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion infinitas/shop/shop_events.php
Expand Up @@ -43,7 +43,7 @@ function onSetupConfigEnd(&$event){

function onSetupThemeLayout(&$event, $data){
if($data['params']['plugin'] == 'shop' && $data['params']['controller'] == 'carts' && $data['params']['action'] == 'index'){
return 'checkout';
//return 'checkout';
}
}

Expand Down
18 changes: 15 additions & 3 deletions infinitas/shop/views/elements/modules/categories.ctp
Expand Up @@ -30,30 +30,42 @@
'plugin' => 'shop',
'controller' => 'categories',
'action' => 'index'
),
array(
'class' => 'all'
)
),
),'<br/>',
$this->Html->link(
__('All Products', true),
array(
'plugin' => 'shop',
'controller' => 'products',
'action' => 'index'
),
array(
'class' => 'all'
)
),
),'<br/>',
$this->Html->link(
__('All Specials', true),
array(
'plugin' => 'shop',
'controller' => 'specials',
'action' => 'index'
),
array(
'class' => 'all'
)
),
),'<br/>',
$this->Html->link(
__('All Spotlights', true),
array(
'plugin' => 'shop',
'controller' => 'spotlights',
'action' => 'index'
),
array(
'class' => 'all'
)
);
}
Expand Down
4 changes: 0 additions & 4 deletions infinitas/shop/views/products/admin_statistics.ctp
Expand Up @@ -22,11 +22,7 @@

$massActions = $this->Infinitas->massActionButtons(
array(
'add',
'edit',
'copy',
'toggle',
'move',
'delete'
)
);
Expand Down

0 comments on commit e9822fd

Please sign in to comment.