*/
var $global_settings;
- // var $perms_array;
- // var $setting_array;
-
public function __construct() {
// TODO: document these tables
// $gfcommon.'include/rbac_texts.php' may provide some hints...
* @return string home directory path
*/
function account_user_homedir($user) {
- //return forge_get_config('homedir_prefix').'/'.substr($user,0,1).'/'.substr($user,0,2).'/'.$user;
return forge_get_config('homedir_prefix').'/'.$user;
}
* @return string home directory path
*/
function account_group_homedir($group) {
- //return forge_get_config('groupdir_prefix').'/'.substr($group,0,1).'/'.substr($group,0,2).'/'.$group;
return forge_get_config('groupdir_prefix').'/'.$group;
}
}
function html_use_tablesorter() {
- // html_use_jquery();
- // use_javascript('/scripts/jquery-tablesorter/jquery.tablesorter.js');
use_javascript('/js/sortable.js');
}
function session_check_credentials_in_database($loginname, $passwd, $allowpending=false) {
return session_login_valid_dbonly($loginname, $passwd, $allowpending);
}
+
function session_login_valid_dbonly($loginname, $passwd, $allowpending) {
global $feedback, $error_msg, $userstatus;
// User exists, (crypt) unix_pw matches
}
-
// Yay. The provided password matches both fields in the database.
// Let's check the status of this user