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


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

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

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


desc
@@


1.3
log
@starting to modernize babel - nothing autogenerated, standard
directory/library names, etc.
@
text
@function make_quote_button (&$request_ref) {
  global $quote;
  
  if (!($topic = $request_ref->topic))
    return error("topic undefined");
  
  if (!($url = $GLOBALS['conf']['url']))
    return error("could not find 'url' in conf");
  
  if (!($id = $request_ref->id))
    return error("id undefined");
  
  if ($quote) {
    $but  = "<a href=\"$url/new/$topic/$id\">";
    $but .= $GLOBALS['conf']['buttons']['do_not_quote'];
    $but .= "</a>\n";
  } else {
    $but  = "<a href=\"$url/new/$topic/$id?quote=1\">";
    $but .= $GLOBALS['conf']['buttons']['quote'];
    $but .= "</a>\n";
  }
  
  return $but;
}
@


1.2
log
@Another whomping commit that really doesn't do much tangible. The conf
system is now moved over to the $conf[section][value|subsection] mode that
the other cvs horde stuff is using.

Also, I'm compacting and tightening up the code wherever possible when I go.
Lots of major changes - moving the configuration of forums into the
database, changes in the database code for faster sql access, options to put
different forums in different tables/databases, and some nifty setup ideas -
to come.

Comments on what people would like to see in a forum system - I've already
thought of being able to attach files (where should they be stored?) - would
be welcome.
@
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
@d7 1
a7 1
  if (!($url = $request_ref->conf['url']))
d15 1
a15 1
    $but .= $request_ref->buttons['do_not_quote'];
a16 1
    
d19 1
a19 1
    $but .= $request_ref->buttons['quote'];
@

