Hello!
I need help finding out how to hide certain things when you're logged in as admin.
when you're logged in, you see certain things with <TMPL_IF admin>, now how do you hide stuff if you're logged in as admin?
thanks!
It'll be helpful if you can tell me how to hide stuff for reg users as well.
Thanks again!
XFileSharing Pro - <TMPL_IF admin> code
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
To hide from admin:
To show for Reg only:
<TMPL_IF my_login>...</TMPL_IF>
Code: Select all
<TMPL_UNLESS admin>...</TMPL_UNLESS>
<TMPL_IF my_login>...</TMPL_IF>
OMGGGG, thanks so muchh!!PilgrimX182 wrote:To hide from admin:To show for Reg only:Code: Select all
<TMPL_UNLESS admin>...</TMPL_UNLESS>
<TMPL_IF my_login>...</TMPL_IF>
this extra info would just bother me >_<