Changeset 477
- Timestamp:
- 2007-12-17 14:32:22 (1 year ago)
- Files:
-
- trunk/ldap/www/html/Doxyfile (added)
- trunk/ldap/www/html/action_eprints_svn.php (added)
- trunk/ldap/www/html/auth.php (modified) (1 diff)
- trunk/ldap/www/html/checkdata.php (modified) (1 diff)
- trunk/ldap/www/html/en_UK.yml (modified) (3 diffs)
- trunk/ldap/www/html/forms.php (modified) (1 diff)
- trunk/ldap/www/html/groups.php (modified) (3 diffs)
- trunk/ldap/www/html/index.php (modified) (1 diff)
- trunk/ldap/www/html/ldap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ldap/www/html/auth.php
r239 r477 1 1 <?php 2 3 /** 4 * @class 5 * Utility methods for crypting/decrypting the password in a cookie (to allow stateless login) 6 */ 2 7 3 8 class AuthDB trunk/ldap/www/html/checkdata.php
r48 r477 1 1 <?php 2 3 /** 4 * @file 5 * Utility methods to check the validity of input data 6 */ 2 7 3 8 define("PASSWORD_OK", ""); trunk/ldap/www/html/en_UK.yml
r245 r477 13 13 heading.groups.ec.admin: Manage Eprints Community Managers 14 14 heading.groups.ec.manage: Manage Your Eprints Community Members 15 heading.eprints_svn: Subscribe to access Eprints Subversion 15 16 16 17 help.editothers: You appear to have permissions to modify other accounts: … … 22 23 account in this system. Once created you can use their email address (the 23 24 account name) to add them to your Eprints Community subscription. 25 26 eprints_svn.subscribed: You have been subscribed to EPrints Subversion. 27 eprints_svn.unsubscribed: You have been unsubscribed from EPrints Subversion. 28 eprints_svn.agree: I Agree 29 eprints_svn.disagree: No Thank You 30 eprints_svn.agreement: 24 31 25 32 nav.home: Home … … 57 64 error.notloggedin: You must be logged into to access this feature 58 65 error.badrecover: Invalid recovery value 66 error.eprints_svn.failed: An unexpected internal LDAP error occurred, the administrator will need to look in the server error logs for why. 59 67 60 68 form.register.submit: Register trunk/ldap/www/html/forms.php
r461 r477 1 1 <?php 2 3 /** 4 * @file 5 * Forms and other input things 6 */ 2 7 3 8 function confirm_form($options) trunk/ldap/www/html/groups.php
r156 r477 1 1 <?php 2 3 /** 4 * @class 5 * The LDAP group database class. 6 * 7 * This class provides a simple interface to interogate and manipulate the LDAP group memberships 8 */ 2 9 3 10 class GroupDB { … … 13 20 } 14 21 22 /** 23 * Returns whether a user is a member of a group 24 * 25 * @param $group 26 * Group to look in 27 * @param $cn 28 * CNAME to search for 29 * @return 30 * TRUE if $cn is in $group 31 */ 15 32 function has_member($group,$cn) 16 33 { … … 21 38 ); 22 39 } 40 /** 41 * Synonym of has_member, but with the arguments reversed. 42 * 43 * @param $cn 44 * CNAME to search for 45 * @param $group 46 * Group to look in 47 * @return 48 * TRUE if $cn is in $group 49 */ 23 50 function member_of($cn,$group) { 24 51 return $this->has_member($group,$cn); 25 52 } 26 53 54 /** 55 * Add a new member to a group 56 * 57 * @param $group 58 * Group to add member to 59 * @param $cn 60 * CNAME to add to group 61 * @return 62 * TRUE if successful 63 */ 27 64 function add_member($group,$cn) 28 65 { trunk/ldap/www/html/index.php
r245 r477 134 134 } elseif( $action === 'groups' ) { 135 135 include("action_groups.php"); 136 } elseif( $action === 'eprints_svn' ) { 137 include("action_eprints_svn.php"); 136 138 } else { 137 139 include("action_default.php"); trunk/ldap/www/html/ldap.php
r250 r477 1 1 <?php 2 2 3 /* LDAP Library Functions */ 3 /** @class 4 * A simple interface to the LDAP library. 5 */ 4 6 5 7 class LDAP { … … 155 157 } 156 158 159 /** 160 * @class 161 * A class representing a single LDAP user. 162 * 163 */ 164 157 165 class UserDB { 158 166 var $db;