root/trunk/wifidog-auth/wifidog/local_content/README @ 174

Revision 174, 1.2 KB (checked in by benoitg, 9 years ago)

2004-08-07 Benoit Gr�goire <bock@…>

  • Add code to import a NoCat user database (passwd). The username will be generated from the first part of the email if the name was en email.
  • Change password hashing algorithm to make it compatible with NoCat (For the curious among you, the hashing algorithm is now: take the md5 digest in binary format of the password, and base64 encode it.
  • Table schema changed to accomodate newhash length (users.pass is now varchar(32))
  • The user is now allowed to login with either his username or his email.
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1This directory holds all the hotspot specific content.  You can (but don't have to) create a directory for each node in your database.  So, when someone connects from node 12, local content that is present in 12/ will be served instead of what id present in default.
2
3Note that all html files in default/ are actually smarty http://smarty.php.net/ templates.
4
5Two directories are special:
6
7default/ Contains all the files that could be optionally be put into a node_specific directory.  Please note that you can add any file present in the node specific directory with the same name as a file found in default will be served in it's place.  You do NOT have to fill the specific directory with every file.  Suppose you put    hotspot_logo.jpg and stylesheet.css into 12/, when someone connects from 12, they will see that logo and stylesheet, but all other content will be served from default/
8
9common/ Contains files that are available for any custom pages, the url and path of common is available to the smarty templates.  You may fill it with whatever you want in adition with the files already present.
10
11A few notes about Smarty templates:
12
13You can see the variables available to the template by adding {$debug} at the top of the html file.
Note: See TracBrowser for help on using the browser.