Authentification Management

From: Date: Mon, 16 Dec 2002 12:21:01 +0000
Subject: Authentification Management
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-417@lists.php.net to get a copy of this message
Hello, I need a block-function for Smarty which helps me to manage which content of my Template is displayed for which user, according to the user´s access-rights. For example I would like to have an section like this: {userlevel = "systemuser"} // stuff for all users with a valid login, except guests {userlevel = "admin"} // Some admin-stuf here {/userlevel} {/userlevel} Maybe It is not too hard to implement the "userlevel"-section, but is it possible to cascade multiple "userlevel"-sections? Has anyone already tried to do something like that? thanx for your help Sebastian -- Rent a PACS GmbH - Multimediale Archive Dipl. Inform (FH) Sebastian Galonska Zwinglistr. 38 D-10555 Berlin Fon.: +49 30 3980665-14 Fax.: +49 30 3980665-19 seba@rentapacs.de

« previous php.smarty.dev (#417) next »