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. |
|
Відредаговано: lukgoh (16.12.2012 20:46, 12 років тому) |