1
antah
Where can I find smarties collection?
  • 2004/1/16 0:05

  • antah

  • Just popping in

  • Posts: 29

  • Since: 2003/1/12


I want to make a button that will lead to admin section from the main screen, but i want to hide it from all other users. Is there any smarty tag that can help me? Like

<{if !$xoops_isuser}>.

For example maybe

<{if !$xoops_USERISADMIN}>../admin.php
<{else}> <{/if}>

it's too complicated, but maybe you got it? or where can i read all such tags?

thnx beforehand.

2
antah
I got it myself
  • 2004/1/16 0:09

  • antah

  • Just popping in

  • Posts: 29

  • Since: 2003/1/12


thnx, i found it @ http://wiki.xoops.org/wakka.php?wakka=SmartyVariables

<{$xoops_isadmin}>


that was easy... sorry

Login

Who's Online

208 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits