| lukgoh |
|
|---|---|
|
On what page(s)? Added 5 minutes later: nevermind I see it. Thank you for the report. Added 14 hours later: This is strange behaviour I think:
if ($usr['isadmin'] == true)
{
$t->assign(array(
'CATEGORY_LINK' => cot_url('shop', 'm=category'),
'PRODUCT_LINK' => cot_url('shop', 'm=product')
));
}
and in the tpl file:
<!-- IF {CATEGORY_LINK} -->
<li><a href="{CATEGORY_LINK}">Manage Categories</a></li>
<li><a href="{PRODUCT_LINK}">Manage Products</a></li>
<!-- ENDIF -->
and yet it not only displays the links when not logged in, but the links are incorrect.
This post was edited by lukgoh (2012-12-16 20:46, 12 years ago)
|