RE: Authenticate users
Larvoire, Jean-Francois <jean-francois.larvoire <at> hp.com>
2004-09-01 17:10:45 GMT
Hello,
currently, the authentication system does not distinguish the booking creation right from the booking
change rights.
It's the same page that manages both: edit_entry.php.
You would have to move the authentication call from the beginning of that file, to the branch that deals with updates.
# Authentication code:
if(!getAuthorised(getUserName(), getUserPassword(), 1))
{
...
}
# Creation / update test:
if (isset($id))
{
...
}
-------------------------------
As for your second question, room names are located in a table heading, and are links.
The colors are defined in the style sheet:
The TH section for table heading;
The A sections for links. (There are several)
Jean-François
========================================================================
= Jean-François Larvoire ========= _/ ===========
= Hewlett-Packard ======= _/ =======
= 5 Avenue Raymond Chanas, Eybens ===== _/_/_/ _/_/_/ =====
= 38053 Grenoble Cedex 9, FRANCE ===== _/ _/ _/ _/ =====
= Phone: +33 476 14 13 38 ===== _/ _/ _/_/_/ =====
= Fax: +33 476 14 45 19 ======= _/ =======
= Email: jean-francois.larvoire <at> hp.com ========== _/ ==========
========================================================================
-----Original Message-----
From: mrbs-general-admin <at> lists.sourceforge.net
[mailto:mrbs-general-admin <at> lists.sourceforge.net]On Behalf Of Geir André
Leithe
Sent: Monday, 30 August, 2004 08:11
To: mrbs-general <at> lists.sourceforge.net
Subject: [MRBS-general] Authenticate users
I need help with autentication. I want to let all users by default registrer bookings, but not be able to
edit. Edit rights is just for a few admins. How can I configure this? I'm not able to use IP and is running MRBS
1,2 PRE on a Win2k server.
PS! By the way. How do I edit the files to change the colors of the room-names in the calendar? As default they
are almost impossible to read.
Regards,
Geir André Leithe
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick