Location: PHPKode > projects > Geeklog Plugins, Static Pages and Blocks > multifaq/config.php
<?php
//
// +---------------------------------------------------------------------------+
// | Multilingual FAQ Plugin           |
// +---------------------------------------------------------------------------+
// | config.php                                                                |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2009 by the following authors:                              |
// |                                                                           |
// | Author:  http://lior.weissbrod.com                                               |
//
// | Copyright (C) 2006 by the following authors:                              |
// |                                                                           |
// | Author:  Oliver Spiesshofer                                               |
// | Constructed with the Universal Plugin                                     |
// | Copyright (C) 2002 by the following authors:                              |
// | Tom Willett                 -    hide@address.com           |
// | Blaine Lang                 -    hide@address.com                    |
// | The Universal Plugin is based on prior work by:                           |
// | Tony Bibbs                  -    hide@address.com                       |
// +---------------------------------------------------------------------------+
// |                                                                           |
// | This program is free software; you can redistribute it and/or             |
// | modify it under the terms of the GNU General Public License               |
// | as published by the Free Software Foundation; either version 2            |
// | of the License, or (at your option) any later version.                    |
// |                                                                           |
// | This program is distributed in the hope that it will be useful,           |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
// | GNU General Public License for more details.                              |
// |                                                                           |
// | You should have received a copy of the GNU General Public License         |
// | along with this program; if not, write to the Free Software Foundation,   |
// | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
// |                                                                           |
// +---------------------------------------------------------------------------+
//

// This file is only used by Geeklog versions below 1.5.
// Other settings are stored in the beginning of functions.inc

$_PLG_MULTIFAQ["require_login"]   = false;   // Require login

$_PLG_MULTIFAQ["default_commentcode"]   = -1;   // -1=no comments, 0=allowed, 1=closed

$_PLG_MULTIFAQ["global_delete"]   = true;   // delete questions with their topics?

$_PLG_MULTIFAQ["show_recent"]   = true;   // show recent aditions or not?
$_PLG_MULTIFAQ["recent_count"]  = 10;   // how many recent aditions?
$_PLG_MULTIFAQ["show_top_x"]    = true; // show top x hits or not?
$_PLG_MULTIFAQ["top_x_count"]   = 10;   // how many top x hits?
// this number is also valid for the statistics !

$_PLG_MULTIFAQ['replace_homepage'] = false;
// use the multifaq CSS only on the user/admin pages of the plugin
// setting this to false will disable eventually
// added CSS for the whatsnew-block etc.
$_PLG_MULTIFAQ['dynamic_css']   = true;

$_PLG_MULTIFAQ["javascript"] = true; // Show the answers right in the menu
$_PLG_MULTIFAQ["javascript_search_open"] = 5; // Maximum open answers
$_PLG_MULTIFAQ["expand_all"]        = true;   // Show always all topics and Q&A
$_PLG_MULTIFAQ["tree_edit_links"]        = true;   // Show edit links even in trees
$_PLG_MULTIFAQ["new_at_end"]        = false;   // Put new questions below old questions
$_PLG_MULTIFAQ["show_datetime"]     = true;   // Show date & time of last edition of Q&A
$_PLG_MULTIFAQ["new_faq_interval"]  = 1209600; // = 14 days (86400= 1 day in seconds)
$_PLG_MULTIFAQ["hide_whatsnew"]     = false; // true or false

$_PLG_MULTIFAQ['count_admin'] = false; // count hits from (logged in) admins?
$_PLG_MULTIFAQ['count_editor'] = false; // count hits from (logged in) translators?

?>
Return current item: Geeklog Plugins, Static Pages and Blocks