#32 new conditional: <%if(admin)%>

closed
5
2004-08-30
2004-06-13
No

I needed a simple conditional to know if a member is
admin of a given blog or the current blog. So I´ve done
a simple hack in SKIN.php to get it working. The hack
was posted here:

http://forum.nucleuscms.org/viewtopic.php?t=3955

Since it´s plain and simple, maybe you will think this is
interesting to be added to the core.

moraes

Discussion

  • rodrigo moraes

    rodrigo moraes - 2004-06-17
    • summary: <%if(admin)%> --> new conditional: <%if(admin)%>
     
  • Wouter Demuynck

    Wouter Demuynck - 2004-08-30
    • assigned_to: nobody --> dekarma
    • status: open --> closed
     

Log in to post a comment.