head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	99.08.04.04.16.00;	author chuck;	state dead;
branches;
next	1.2;

1.2
date	99.08.04.00.56.14;	author chuck;	state Exp;
branches;
next	1.1;

1.1
date	99.07.20.07.36.29;	author jon;	state Exp;
branches;
next	;


desc
@@


1.3
log
@cjh: pruning out all the code that either isn't used or is only used for
maintaining/creating users - all of which is moving to Horde proper. Also a
few more fixes for the new session/user stuff, though I haven't quite gotten
rid of the "users" table yet - that's coming, though.

babel.php3 is a nice bit shorter, now... ;)

Anyway, a bit more work, and a better Horde user framework, and babel should
be more or less ready for primetime. oh, there's that whole customization
thing, too.

Speaking of which, what do people prefer: imp-style defaults.php3, or
babel-style babel.conf. I figure we should standardize on one; they're both
easy to auto-generate; babel's is maybe a little bit more overhead to parse,
but it's a bit more user friendly as well. Thoughts?
@
text
@function run_user (&$request_ref) {
  global $PHP_AUTH_USER, $PHP_AUTH_PW;
  
  if (!isset($PHP_AUTH_USER)) {
    header('WWW-Authenticate: Basic realm="Babel"');
    header('HTTP/1.0 401 Unauthorized');
    run_usermod($request_ref);
    page_close();
    exit;
  } else {
    if (!(authenticate_user($request_ref))) {
      header('WWW-Authenticate: Basic realm="Babel"');
      header('HTTP/1.0 401 Unauthorized');
      run_usermod($request_ref);
      page_close();
      exit;
    }
    return run_intro($request_ref);
  }
}
@


1.2
log
@cjh: use session storage for read_posts as well. one more db table gone... :)
@
text
@@


1.1
log
@
jon: alrighty, babel.php3.in is now broken down into seperate
     function files.  they're jusy dying to be combined into
     objects and seperate source files.
@
text
@d8 1
d15 1
@

