GX-Bug #47051 » TopNavigationAdminLinkFix.patch
| src/templates/Honeygrid/boxes/box_top_navigation.html (revision ) | ||
|---|---|---|
| 30 | 30 |
</li> |
| 31 | 31 |
{/if}
|
| 32 | 32 |
|
| 33 |
{if $content_data.customers_data.GROUP|lower == 'admin'}
|
|
| 33 |
{if $content_data.customers_data.ID == 0}
|
|
| 34 | 34 |
<li class="navbar-topbar-item first"> |
| 35 | 35 |
<a href="#" data-link_crypter-url="{crypt_link link=$content_data.admin_url crypt='2'}" title="{$buttons.click_here}" rel="nofollow" >
|
| 36 | 36 |
{$buttons.click_here}
|
| ... | ... | |
| 38 | 38 |
</li> |
| 39 | 39 |
{/if}
|
| 40 | 40 |
|
| 41 |
{if ""|detect_page == "ProductInfo" && $content_data.customers_data.GROUP|lower == 'admin'}
|
|
| 41 |
{if ""|detect_page == "ProductInfo" && $content_data.customers_data.ID == 0}
|
|
| 42 | 42 |
<li class="navbar-topbar-item"> |
| 43 | 43 |
<a href="#" data-link_crypter-url="{crypt_link link=$content_data.edit_product_url crypt='2'}" title="{$buttons.edit_product}" rel="nofollow">
|
| 44 | 44 |
{$buttons.edit_product}
|
| src/system/classes/TopNavigationBoxContentView.inc.php (revision ) | ||
|---|---|---|
| 169 | 169 |
|
| 170 | 170 |
protected function _setCustomersDataGroup() |
| 171 | 171 |
{
|
| 172 |
$this->customersDataArray['ID'] = $_SESSION['customers_status']['customers_status_id']; |
|
| 172 | 173 |
$this->customersDataArray['GROUP'] = $_SESSION['customers_status']['customers_status_name']; |
| 173 | 174 |
} |
| 174 | 175 |
|