[isf-wifidog] Template mods

Peter Huetmannsberger huetmann at site38.ping.at
Jeu 3 Mai 03:43:24 EDT 2007


I know it is a dirty hack, but we have a similar setup. The file you are 
looking for is called: 


I added an if_clause, so that when an admin logs on, the button is there. 

{if $userIsSuperAdmin}
<a class="administration" 
class="administration" src="{$common_images_url}profile.gif">&nbsp;{"My 
The line in between the if and /if is all on one line. 

Hope this helps, 


On Thu, 3 May 2007, listserv.traffic at sloop.net wrote:

> I'm finally getting around to implementing my wifidog setup.
> However, I have one final issue.
> Since I'm using radius as the auth server, and no users will create
> their own content etc, I'd like to remove all extraneous items. By
> mod'ing the login template etc, I've accomplished this - at least
> mostly.
> However, I'd like to remove the "preferences" button and related link
> from the main index page - the page that's displayed by default after
> a login. (This link is on the left side, right next to the logout
> botton/link.)
> I've looked for it, but can't seem to find it.
> I'd appreciate a quick pointer on where to look, or alternatively, if
> there's a better way to "remove" it via some other method.
> (And yes, I understand that the templates are not generally intended
> to be modified and that future upgrades will break things and probably
> require addl mods...)
> TIA!
> -Greg

Plus d'informations sur la liste de diffusion WiFiDog