Permalink
Browse files

Use nested Actions

  • Loading branch information...
1 parent 2f1be21 commit 20f6d39522152ebf35bc9d793c569b457d9e9424 @haraldpdl haraldpdl committed with Jul 30, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 osCommerce/OM/Core/Site/Admin/templates/oscom/header.php
@@ -59,9 +59,9 @@
if ( $OSCOM_Application->canLinkTo() ) {
if ( Access::isShortcut(OSCOM::getSiteApplication()) ) {
- echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'action=RemoveShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_remove.png')) . '</li>';
+ echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'RemoveShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_remove.png')) . '</li>';
} else {
- echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'action=AddShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_add.png')) . '</li>';
+ echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'AddShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_add.png')) . '</li>';
}
}

0 comments on commit 20f6d39

Please sign in to comment.