![]() |
Different table sizes for main store & admin pages
Ok,
i've done a fair bit of searching and have found the way to do it, however i need some help with the code. Basically i have the table size set to 760px i want to keep it this way for the store side of things, but want it set to 100% for the admin side. so from what i have found i need to put in an IF statement in rectangle_top.tpl. eg. If in admin section use 100% else use 760px. Could somebody be so kind as to write this little bit of code for me? Thanks in advance! x-cart v4.0.14 |
{if $usertype eq "C"}width="760"{else}width="100%"{/if}
|
thanks!
|
All times are GMT -8. The time now is 06:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.